Changeset 210


Ignore:
Timestamp:
01/18/05 17:48:30 (19 years ago)
Author:
mar637
Message:

Added more help on how to read commands output
Added help on asapplotter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r188 r210  
    99from asapmath import *
    1010from scantable import *
     11print "Initialising plotter..."
     12from asapplotter import *
     13plotter = asapplotter()
    1114#from numarray ones,zeros
    1215
     
    2730
    2831def commands():
    29     x = """
     32    x = """   
    3033    [The scan container]
    3134        scantable           - a container for integrations/scans
     
    7982                              set if they should be held fixed during fitting
    8083            get_parameters  - get the fitted parameters
     84    [Plotter]
     85        asapplotter         - a plotter for asap, default plotter is
     86                              called 'plotter'
     87            plot            - plot a (list of) scantable
     88            set_mode        - set the state of the plotter, i.e.
     89                              what is to be plotted 'colour stacked'
     90                              and what 'panelled'
     91            set_range       - set the abcissa 'zoom' range
     92            set_legend_map  - specify user labels for the legend indeces
     93           
    8194    [Reading files]
    8295        reader              - access rpfits/sdfits files
     
    93106        help                - print help for one of the listed functions
    94107        execfile            - execute an asap script, e.g. execfile('myscript')
     108    Note:
     109        How to use this with help:
     110                                         # function 'summary'
     111        [xxx] is just a category
     112        Every 'sub-level' in this list should be replaces by a '.' Period when
     113        using help
     114        Example:
     115            ASAP> help scantable # to get info on ths scantable
     116            ASAP> help scantable.summary # to get help on the scantable's
     117            ASAP> help average_time
     118
    95119    """
    96120    print x
Note: See TracChangeset for help on using the changeset viewer.