casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Private Attributes | Static Private Attributes
fixvis_pg.fixvis_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 fixvis_pg.py.


Constructor & Destructor Documentation

Definition at line 21 of file fixvis_pg.py.


Member Function Documentation

def fixvis_pg.fixvis_pg_.__call__ (   self,
  vis = None,
  outputvis = None,
  field = None,
  refcode = None,
  reuse = None,
  phasecenter = None,
  datacolumn = None,
  async = None 
)
Recalculates (u, v, w) and/or changes Phase Center 

If the phase center is changed, the corresponding modifications are applied to the 
visibility columns given by the parameter "datacolumn" which is by default set 
to "all" (DATA, CORRECTED, and MODEL).

    Input Parameters
    vis        -- Name of the input visibility set
    
    outputvis  -- Name of the output visibility set, default: same as vis

    field      -- field selection string

    refcode    -- Reference frame to convert to, default: the refcode of PHASE_DIR in the 
  FIELD table
  example: 'B1950'
    
    reuse      -- base recalculation on existing UVW coordinates? default=True
  ignored if parameter 'phasecenter' is set

    phasecenter  --  if set to a valid direction: change the phase center for the given 
     field to this value
       example: 'J2000 9h25m00s -05d12m00s'
       If given without the equinox, e.g. '0h01m00s +00d12m00s', the parameter
       is interpreted as a pair of offsets in RA and DEC to the present 
       phasecenter. The RA offset can be given in units of time or angle. If given 
       as a time, it is applied as is. If given as an angle, it is corrected for 
       the cos(DEC) before it is applied.

    datacolumn -- when applying a phase center shift, modify visibilities only in 
  this/these column(s)
  default: 'all' (DATA, CORRECTED, and MODEL)
  example: 'DATA,CORRECTED' (will not modify MODEL)
       
    Examples:

    fixvis('NGC3256.ms','NGC3256-fixed.ms')
  will recalculate the UVW coordinates for all fields based on the existing
  phase center information in the FIELD table.

    fixvis('Moon.ms','Moon-fixed.ms','Moon', '', 'J2000 9h25m00s 05d12m00s')
  will set the phase center for field 'Moon' to the given direction and recalculate
  the UVW coordinates.

Definition at line 26 of file fixvis_pg.py.

References vla_uvfits_line_sf.verify.


Member Data Documentation

Definition at line 22 of file fixvis_pg.py.

Definition at line 23 of file fixvis_pg.py.

string fixvis_pg.fixvis_pg_.__name__ [static, private]

Definition at line 19 of file fixvis_pg.py.


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