Ignore:
Timestamp:
09/11/06 10:03:25 (18 years ago)
Author:
mar637
Message:

2.1 updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/Release2.1.0b/web/commands.html

    r1040 r1251  
    3939?>
    4040<!-- Start Content -->
    41 <h1><a href="index.html">ASAP</a> 'commands'</h1>
     41<h1>ASAP 'commands'</h1>
    4242<pre class="commands">
    4343ASAP> commands()
    44 
    4544    [The scan container]
    4645        scantable           - a container for integrations/scans
     
    4948            get_scan        - gets a specific scan out of a scantable
    5049                              (by name or number)
     50            drop_scan       - drops a specific scan out of a scantable
     51                              (by number)
    5152            set_selection   - set a new subselection of the data
    5253            get_selection   - get the current selection object
     
    6768            get_abcissa     - get the abcissa values and name for a given
    6869                              row (time)
     70            get_column_names - get the names of the columns in the scantable
     71                               for use with selector.set_query
    6972            set_freqframe   - set the frame info for the Spectral Axis
    7073                              (e.g. 'LSRK')
     
    7275            set_dirframe    - set the frame for the direction on the sky
    7376            set_instrument  - set the instrument name
     77            set_feedtype    - set the feed type
    7478            get_fluxunit    - get the brightness flux unit
    7579            set_fluxunit    - set the brightness flux unit
     
    8084            set_restfreqs   - set a list of rest frequencies
    8185            flag            - flag selected channels in the data
    82             save            - save the scantable to disk as either 'ASAP'
    83                               or 'SDFITS'
     86            lag_flag        - flag specified frequency in the data
     87            save            - save the scantable to disk as either 'ASAP',
     88                              'SDFITS' or 'ASCII'
    8489            nbeam,nif,nchan,npol - the number of beams/IFs/Pols/Chans
    8590            nscan           - the number of scans in the scantable
     
    9095                              or a list of scans
    9196            average_pol     - average the polarisations together.
    92                               The dimension won't be reduced and
    93                               all polarisations will contain the
    94                               averaged spectrum.
     97            average_beam    - average the beams together.
    9598            convert_pol     - convert to a different polarisation type
    9699            auto_quotient   - return the on/off quotient with
    97                               automatic detection of the on/off scans
    98                               (matched pairs and 1 off - n on)
     100                              automatic detection of the on/off scans (closest
     101                              in time off is selected)
     102            mx_quotient     - Form a quotient using MX data (off beams)
    99103            scale, *, /     - return a scan scaled by a given factor
    100104            add, +, -       - return a scan with given value added
     
    131135            set_names          - set a selection by name (wildcards allowed)
    132136            set_tsys           - set a selection by tsys thresholds
     137            set_query          - set a selection by SQL-like query, e.g. BEAMNO==1
    133138            reset              - unset all selections
    134139            +                  - merge to selections
     
    141146            simple_math     - simple mathematical operations on two scantables,
    142147                              'add', 'sub', 'mul', 'div'
     148            quotient        - build quotient of the given on and off scans
     149                              (matched pairs and 1 off/n on are valid)
     150            merge           - merge a list of scantables
     151
     152     [Line Catalog]
     153        linecatalog              - a linecatalog wrapper, taking an ASCII or
     154                                   internal format table
     155            summary              - print a summary of the current selection
     156            set_name             - select a subset by name pattern, e.g. '*OH*'
     157            set_strength_limits  - select a subset by line strength limits
     158            set_frequency_limits - select a subset by frequency limits
     159            reset                - unset all selections
     160            save                 - save the current subset to a table (internal
     161                                   format)
     162            get_row              - get the name and frequency from a specific
     163                                   row in the table
    143164     [Fitting]
    144165        fitter
     
    163184                              called 'plotter'
    164185            plot            - plot a scantable
     186            plot_lines      - plot a linecatalog overlay
    165187            save            - save the plot to a file ('png' ,'ps' or 'eps')
    166188            set_mode        - set the state of the plotter, i.e.
     
    177199            set_linestyles  - specify a set of linestyles to use if only
    178200                              using one color
    179             set_histrogra,  - plot in historam style
     201            set_font        - set general font properties, e.g. 'family'
     202            set_histogram   - plot in historam style
    180203            set_mask        - set a plotting mask for a specific polarization
     204            text            - draw text annotations either in data or relative
     205                              coordinates
     206            arrow           - draw arrow annotations either in data or relative
     207                              coordinates
     208            axhline,axvline - draw horizontal/vertical lines
     209            axhspan,axvspan - draw horizontal/vertical regions
     210
     211        xyplotter           - matplotlib/pylab plotting functions
    181212
    182213    [Reading files]
     
    199230        list_rcparameters   - print out a list of possible values to be
    200231                              put into $HOME/.asaprc
     232        rc                  - set rc parameters from within asap
    201233        mask_and,mask_or,
    202234        mask_not            - boolean operations on masks created with
Note: See TracChangeset for help on using the changeset viewer.