Changeset 1171 for trunk


Ignore:
Timestamp:
08/23/06 09:45:12 (18 years ago)
Author:
mar637
Message:

re-introduced custom ASAPDAT environment variable. Some more commands().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r1151 r1171  
    1818    plf = 'linux'
    1919asapdata = __path__[-1]
     20# Allow user defined data location
     21if os.environ.has_key("ASAPDATA"):
     22    if os.path.exists(os.environ["ASAPDATA"]):
     23        asapdata = os.environ["ASAPDATA"]
    2024os.environ["AIPSPATH"] = "%s %s somwhere" % ( asapdata, plf)
     25# set up user space
    2126userdir = os.environ["HOME"]+"/.asap"
    2227if not os.path.exists(userdir):
     
    2833    f = file(userdir+"/ipythonrc", "w")
    2934    f.close()
     35# remove from namespace
    3036del asapdata, userdir, shutil, platform
    3137
     
    347353
    348354__date__ = '$Date$'.split()[1]
    349 __version__  = '2.1a'
     355__version__  = '2.1b'
    350356
    351357if rcParams['verbose']:
     
    516522            set_histogram   - plot in historam style
    517523            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           
    519531    [Reading files]
    520532        reader              - access rpfits/sdfits files
     
    536548        list_rcparameters   - print out a list of possible values to be
    537549                              put into $HOME/.asaprc
     550        rc                  - set rc parameters from within asap
    538551        mask_and,mask_or,
    539552        mask_not            - boolean operations on masks created with
Note: See TracChangeset for help on using the changeset viewer.