casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Private Attributes | Static Private Attributes
predictcomp_pg.predictcomp_pg_ Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Private Attributes

 __bases__
 __doc__

Static Private Attributes

string __name__

Detailed Description

Definition at line 18 of file predictcomp_pg.py.


Constructor & Destructor Documentation

Definition at line 21 of file predictcomp_pg.py.


Member Function Documentation

def predictcomp_pg.predictcomp_pg_.__call__ (   self,
  objname = None,
  standard = None,
  epoch = None,
  minfreq = None,
  maxfreq = None,
  nfreqs = None,
  prefix = None,
  antennalist = None,
  showplot = None,
  savefig = None,
  symb = None,
  include0amp = None,
  include0bl = None,
  blunit = None,
  showbl0flux = None,
  async = None 
)
Make a component list for a known calibrator

    Writes a component list to disk and returns a dict of
    {'clist': filename of the component list,
     'objname': objname,
     'angdiam': angular diameter in radians (if used in clist),
     'standard': standard,
     'epoch': epoch,
     'freqs': pl.array of frequencies, in GHz,
     'antennalist': pl.array of baseline lengths, in m,
     'amps':  pl.array of predicted visibility amplitudes, in Jy,
     'savedfig': False or, if made, the filename of a plot.}
    or False on error.

    objname: An object supported by standard.
    standard: A standard for calculating flux densities, as in setjy.
      Default: 'Butler-JPL-Horizons 2010'
    epoch: The epoch to use for the calculations.   Irrelevant for
   extrasolar standards. (Uses UTC)
   Examples: '2011-12-31/5:34:12', '2011-12-31-5:34:12'
    minfreq: The minimum frequency to use.
     Example: '342.0GHz'
    maxfreq: The maximum frequency to use.
     Default: minfreq
     Example: '346.0GHz'
     Example: '', anything <= 0, or None: use minfreq.
    nfreqs:  The number of frequencies to use.
     Default: 1 if minfreq == maxfreq,
      2 otherwise.
    prefix: The component list will be saved to
       prefix + 'spw0_<objname>_<minfreq><epoch>.cl'
    Default: '' 
    Example: "Bands3to7_"
     (which could produce 'Bands3to7_spw0_Uranus_100GHz55877d.cl',
      depending on the other parameters)
    antennalist: 'Observe' and plot the visibility amplitudes for this
 antenna configuration.  The file should be in a format usable
 by simdata.  The search path is:
     .:casa['dirs']['data'] + '/alma/simmos/'
     Default: '' (None, just make clist.)
     Example: 'alma.cycle0.extended.cfg'

    Subparameters of antennalist:
    showplot: Whether or not to show a plot of S vs. |u| on screen.
      Subparameter of antennalist.
      Default: Necessarily False if antennalist is not specified.
       True otherwise.
    savefig: Filename for saving a plot of S vs. |u|.
     Subparameter of antennalist.
     Default: False (necessarily if antennalist is not specified)
     Examples: ''           (do not save the plot)
       'myplot.png' (save to myplot.png)
    symb: One of matplotlib's codes for plot symbols: .:,o^v<>s+xDd234hH|_
  Default: ',':  The smallest points I could find.
    include0amp: Force the amplitude axis to start at 0?
 Default: False
    include0bl: Force the baseline axis to start at 0?
Default: False
    blunit: unit of the baseline axis ('' or 'klambda')
    Default:''=use a unit in the data
    showbl0flux: Print the zero baseline flux? 
 Default: False 

Definition at line 26 of file predictcomp_pg.py.

References vla_uvfits_line_sf.verify.


Member Data Documentation

Definition at line 22 of file predictcomp_pg.py.

Definition at line 23 of file predictcomp_pg.py.

string predictcomp_pg.predictcomp_pg_.__name__ [static, private]

Definition at line 19 of file predictcomp_pg.py.


The documentation for this class was generated from the following file: