Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
bash --login
source ~/arts-lectures/bin/arts-init.bash

The

...

following

...

command

...

shows

...

the

...

location

...

of

...

the

...

ARTS

...

API

...

if

...

it

...

is

...

successfully

...

loaded:

Code Block
languagebash
python -c "import typhon; \
	typhon.set_loglevel('INFO'); \
	import typhon.arts.workspace"

...

Code Block
languagebash
cd ~/arts-lectures/script
make

This

...

will

...

generate

...

two PDF

...

files,

...

one

...

optimised

...

for

...

viewing

...

on

...

the

...

screen,

...

one

...

optimised

...

for

...

printing.

Running the exercises

Don't forget to run the source command from the 'Setting up the environment' section above. You need to do this everytime you open a new terminal.

...

Code Block
languagebash
cd ~/arts-lectures/exercises/01-rotational_spectra
python absorption.py

This

...

opens

...

an

...

interactive

...

window

...

showing

...

the

...

simulated

...

absorption

...

cross

...

sections.

The script will also save the plot as PDF file in the plots/ subdirectory. You can use a PDF viewer (e.g. evince) to display the plot:

...