Changeset 466


Ignore:
Timestamp:
02/17/05 14:48:10 (19 years ago)
Author:
mar637
Message:

fixed rc bug. added alias for numarray.logical_xxx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r425 r466  
    5454    'useplotter'          : [True, validate_bool],
    5555    'insitu'              : [False, validate_bool],
    56 
     56   
    5757    # plotting
    5858    'plotter.stacking'    : ['p', str],
    5959    'plotter.panelling'   : ['s', str],
    60 
     60   
    6161    # scantable
    6262    'scantable.save'      : ['ASAP', str],
     
    7575    # general
    7676    # print verbose output
    77     'verbose'                    : True
     77    verbose                    : True
    7878
    7979    # preload a default plotter
    80     'useplotter'                 : True
     80    useplotter                 : True
    8181
    8282    # apply operations on the input scantable or return new one
    83     'insitu'                     : False
     83    insitu                     : False
    8484   
    8585    # plotting
    8686    # default mode for colour stacking
    87     'plotter.stacking'           : 'Pol'
     87    plotter.stacking           : 'Pol'
    8888
    8989    # default mode for panelling
    90     'plotter.panelling'          : 'scan'
     90    plotter.panelling          : 'scan'
    9191
    9292    # scantable
    9393    # default ouput format when saving
    94     'scantable.save'             : 'ASAP'
     94    scantable.save             : 'ASAP'
    9595    # auto averaging on read
    96     'scantable.autoaverage'      : True
     96    scantable.autoaverage      : True
    9797
    9898    # default frequency frame to set when function
    9999    # scantable.set_freqfrmae is called
    100     'scantable.freqframe'        : 'LSRK'
     100    scantable.freqframe        : 'LSRK'
    101101
    102102    # apply action to all axes not just the cursor location
    103     'scantable.allaxes'          : True
     103    scantable.allaxes          : True
    104104
    105105    # use internal plotter
    106     'scantable.plotter'          : True
     106    scantable.plotter          : True
    107107
    108108    # Control the level of information printed by summary
    109     'scantable.verbosesummary'   : False
     109    scantable.verbosesummary   : False
    110110   
    111111    # Fitter   
     
    155155    # strip the conveter funcs and return
    156156    ret =  dict([ (key, tup[0]) for key, tup in defaultParams.items()])
    157     verbose.report('loaded rc file %s'%fname)
     157    print ('loaded rc file %s'%fname)
    158158
    159159    return ret
     
    204204from scantable import *
    205205from asaplinefind import *
     206
     207from numarray import logical_and as mask_and
     208from numarray import logical_or as mask_or
     209from numarray import logical_not as mask_not
    206210
    207211if rcParams['useplotter']:
     
    333337        list_rcparameters   - print out a list of possible values to be
    334338                              put into $HOME/.asaprc
     339        mask_and,mask_or,
     340        mask_not            - boolean operations on masks created with
     341                              scantable.create_mask
     342       
    335343    Note:
    336344        How to use this with help:
Note: See TracChangeset for help on using the changeset viewer.