Changeset 1014


Ignore:
Timestamp:
04/13/06 15:05:23 (19 years ago)
Author:
mar637
Message:

added commands entry for selector; added version()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r1012 r1014  
    306306
    307307if rcParams['verbose']:
     308    def version(): print  "ASAP %s(%s)"% (__version__, __date__)
    308309    def list_scans(t = scantable):
    309310        import sys, types
     
    370371                              automatic detection of the on/off scans
    371372                              (matched pairs and 1 off - n on)
    372             scale           - return a scan scaled by a given factor
    373             add             - return a scan with given value added
     373            scale, *, /     - return a scan scaled by a given factor
     374            add, +, -       - return a scan with given value added
    374375            bin             - return a scan with binned channels
    375376            resample        - return a scan with resampled channels
     
    384385                              units
    385386            freq_align      - align spectra in frequency frame
     387            invert_phase    - Invert the phase of the cross-correlation
     388            swap_linears    - Swap XX and YY
    386389            rotate_xyphase  - rotate XY phase of cross correlation
    387390            rotate_linpolphase - rotate the phase of the complex
     
    392395            stddev          - Determine the standard deviation of the current
    393396                              beam/if/pol
     397     [Selection]
     398         selector              - a selection object to set a subset of a scantable
     399            set_scans          - set (a list of) scans by index
     400            set_cycles         - set (a list of) cycles by index
     401            set_beams          - set (a list of) beamss by index
     402            set_ifs            - set (a list of) ifs by index
     403            set_polarisations  - set (a list of) polarisations by name
     404                                 or by index
     405            set_names          - set a selection by name (wildcards allowed)
     406            set_tsys           - set a selection by tsys thresholds
     407            reset              - unset all selections
     408            +                  - merge to selections
    394409
    395410     [Math] Mainly functions which operate on more than one scantable
Note: See TracChangeset for help on using the changeset viewer.