next up previous
Next: LID Up: WEEDS Language Internal Help Previous: LFIND


LGET

        [WEEDS\]LGET [OPTION] [INDEX]

    Get  a  line from the line index, and find the corresponding scan in the
    index. The command works in a similar fashion than GET: for example LGET
    F  will  get  the  first line in the line list, LGET N will get the next
    one, etc. It is especially useful when one want to search for lines of a
    given  species. For example, one can list all methanol lines in the 3 mm
    band, ordered by increasing upper level energy, with:

    LAS> LLIST "CH3OH, vt=0,1" 80000 110000 /ORDER e

    and then examine each of the line candidates with:

    LAS> LGET F
    LAS> LPLOT
    LAS> LGET N
    LAS> LPLOT
    LAS> ...

    Arguments:
        INDEX     the line index. It can be either:

                  1) One of the following letters:
                     "f"   get the first line of the index
                     "l"   get the last line of the index
                     "p"   get the previous line in the index
                     "n"   get the next line of the index

                  2) An integer

                  3) Unspecified, in which case the  last  line  is  plotted
                     again.


Gildas manager 2011-09-07