- Timestamp:
- 08/23/06 09:45:12 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/__init__.py
r1151 r1171 18 18 plf = 'linux' 19 19 asapdata = __path__[-1] 20 # Allow user defined data location 21 if os.environ.has_key("ASAPDATA"): 22 if os.path.exists(os.environ["ASAPDATA"]): 23 asapdata = os.environ["ASAPDATA"] 20 24 os.environ["AIPSPATH"] = "%s %s somwhere" % ( asapdata, plf) 25 # set up user space 21 26 userdir = os.environ["HOME"]+"/.asap" 22 27 if not os.path.exists(userdir): … … 28 33 f = file(userdir+"/ipythonrc", "w") 29 34 f.close() 35 # remove from namespace 30 36 del asapdata, userdir, shutil, platform 31 37 … … 347 353 348 354 __date__ = '$Date$'.split()[1] 349 __version__ = '2.1 a'355 __version__ = '2.1b' 350 356 351 357 if rcParams['verbose']: … … 516 522 set_histogram - plot in historam style 517 523 set_mask - set a plotting mask for a specific polarization 518 524 text - draw text annotations either in data or relative 525 coordinates 526 arrow - draw arrow annotations either in data or relative 527 coordinates 528 axhline,axvline - draw horizontal/vertical lines 529 axhspan,axvspan - draw horizontal/vertical regions 530 519 531 [Reading files] 520 532 reader - access rpfits/sdfits files … … 536 548 list_rcparameters - print out a list of possible values to be 537 549 put into $HOME/.asaprc 550 rc - set rc parameters from within asap 538 551 mask_and,mask_or, 539 552 mask_not - boolean operations on masks created with
Note:
See TracChangeset
for help on using the changeset viewer.