casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
recipes.plotazel Namespace Reference

Functions

def plotsrcazel

Function Documentation

def recipes.plotazel.plotsrcazel (   planet = '',
  srcfile = '',
  date = '',
  obs = 'ALMA',
  plotsun = False,
  plottype = '',
  saveplot = '',
  elimit = '3.0deg' 
)
plot Azimuth/elevation track of a source (or list of sources)
on given date. For solar system objects known to Measures(this excludes minor planets, Jovian moons, etc), 
name is sufficient but for other sources
RAs and Decs are required. 
 (requires getazel.py)

Input:
planet - a planet (optional)
srcfile - (optional) An ascii file with source_name coordinates (J2000) seperated by
          a white space. A line with '#' will be skipped.
          The solar system can also be include without coodinates. 

          0423-013 4h23m0s -1d20m0s
          #3c273 12h29m0s 2d3m0s
          3c279 12h56m0s -5d47m0s
          Mars
         
date - 'YYYY/MM/DD' if not specified it will be prompted to enter later
obs  - observatory name (ALMA,EVLA,etc)
plotsun - True will plot the Sun also
plottype - Az, El, or both (if left blank it will ask to enter later)
saveplot - save to the plot to ps file with the name specified in this paramter
elimit - draw horizontal line to indicate elevation limit. 

Examples:
    plotsrcazel('Uranus')  # enter date, plottype when prompted
    plotsrcazel(planet='Uranus', date='2012/06/01', plottype='both') 
    plotsrcazel(planet='Uranus', srcfile='calandtarget.txt')    #plot Uranus and sources defined
                                                                # in calandtarget.txt

version 2012.04.20  TT

Definition at line 9 of file plotazel.py.

References nf_regression.append, recipes.getazel.getazel(), and irc_cs_task_regression.max.