next up previous
Next: Selecting a spectral database Up: weeds Previous: What is Weeds?

Getting started

Starting from March 2010, Weeds is distributed with GILDAS. Provided that you have installed GILDAS with the Python extension (named PyGILDAS)1you should have Weeds already installed on your computer. If this is not the case, please refer to the GILDAS documentation for instructions on how to install PyGILDAS.

Let us first start CLASS from a terminal:

[fontsize=\footnotesize]
% class
% class
GILDAS Version: dev (28jul10 11:09) (x86_64-darwin-gfortran) source tree
Python 2.6.5 (r265:79063, Jul 20 2010, 00:26:30) 
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Importing all SIC variables into Python...
... done.

 * Welcome to CLASS   

 * Loaded modules
    atm
    sic (J.Pety, S.Bardeau, S.Guilloteau, E.Reynier)
    greg (J.Pety, S.Bardeau, S.Guilloteau, E.Reynier)
    ephem (F.Gueth, J.Pety)
    class (J.Pety, P.Hily-Blant, S.Guilloteau)

 * Loaded extensions
    weeds (S.Maret, P.Hily-Blant, J.Pety, S.Bardeau, E.Reynier)

(...)
LAS>

Note that the welcome message mention that the Weeds extension as been loaded. The extension defines a language, named weeds\. This language has a number of command, whose list can be obtained by typing:

[fontsize=\footnotesize]
LAS90> help weeds\
USER\WEEDS = "
 
    Weeds is a CLASS extension to analyse spectral surveys or
    spectral lines observations with large bandwidths. It provides
    several commands to identify lines on a spectrum and to model it.
 
    Available commands:
        DBSELECT  Select an atomic and molecular line database
        DBCACHE   Cache an atomic and molecular line database
        LID       Identify lines on the current spectra
        LFIND     Find lines from a species within a frequency range
        LLIST     List lines from the line index
        LGET      Get a line from the line index
        LPLOT     Plot a line from the current line index
        MODSOURCE Model the emission of a source at the LTE
        MODSHOW   Show the results of MODSOURCE
 
   For more information of each command, type 'help <command>'

Each of the command provided by Weeds as an extensive documentation. Type help followed by the command name to read it.


next up previous
Next: Selecting a spectral database Up: weeds Previous: What is Weeds?
Gildas manager 2011-04-01