Changeset 466 for trunk/python
- Timestamp:
- 02/17/05 14:48:10 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/__init__.py
r425 r466 54 54 'useplotter' : [True, validate_bool], 55 55 'insitu' : [False, validate_bool], 56 56 57 57 # plotting 58 58 'plotter.stacking' : ['p', str], 59 59 'plotter.panelling' : ['s', str], 60 60 61 61 # scantable 62 62 'scantable.save' : ['ASAP', str], … … 75 75 # general 76 76 # print verbose output 77 'verbose': True77 verbose : True 78 78 79 79 # preload a default plotter 80 'useplotter': True80 useplotter : True 81 81 82 82 # apply operations on the input scantable or return new one 83 'insitu': False83 insitu : False 84 84 85 85 # plotting 86 86 # default mode for colour stacking 87 'plotter.stacking': 'Pol'87 plotter.stacking : 'Pol' 88 88 89 89 # default mode for panelling 90 'plotter.panelling': 'scan'90 plotter.panelling : 'scan' 91 91 92 92 # scantable 93 93 # default ouput format when saving 94 'scantable.save': 'ASAP'94 scantable.save : 'ASAP' 95 95 # auto averaging on read 96 'scantable.autoaverage': True96 scantable.autoaverage : True 97 97 98 98 # default frequency frame to set when function 99 99 # scantable.set_freqfrmae is called 100 'scantable.freqframe': 'LSRK'100 scantable.freqframe : 'LSRK' 101 101 102 102 # apply action to all axes not just the cursor location 103 'scantable.allaxes': True103 scantable.allaxes : True 104 104 105 105 # use internal plotter 106 'scantable.plotter': True106 scantable.plotter : True 107 107 108 108 # Control the level of information printed by summary 109 'scantable.verbosesummary': False109 scantable.verbosesummary : False 110 110 111 111 # Fitter … … 155 155 # strip the conveter funcs and return 156 156 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) 158 158 159 159 return ret … … 204 204 from scantable import * 205 205 from asaplinefind import * 206 207 from numarray import logical_and as mask_and 208 from numarray import logical_or as mask_or 209 from numarray import logical_not as mask_not 206 210 207 211 if rcParams['useplotter']: … … 333 337 list_rcparameters - print out a list of possible values to be 334 338 put into $HOME/.asaprc 339 mask_and,mask_or, 340 mask_not - boolean operations on masks created with 341 scantable.create_mask 342 335 343 Note: 336 344 How to use this with help:
Note:
See TracChangeset
for help on using the changeset viewer.