Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: ms.done - Function Up: ms - Tool Previous: ms.uvlsf - Function


ms.ptsrc - Function



Package general
Module ms
Tool ms


Reports global average of visibilities per field


Synopsis
ptsrc(fldid, spwid)


Arguments

fldid in Desired fields
    Allowed: Vector of integers
    Default: all
spwid in Desired spectral windows
    Allowed: Vector of integers
    Default: all



Description
This function averages the data over all (unflagged) times and (non-zero) baselines per field_id and spectral_window_id, and reports the result in the Stokes polarization basis. If present, the CORRECTED_DATA column is averaged; otherwise the DATA column is used, in which case the results might be suspect if this DATA hasn't been calibrated.

For multi-channel data, all channels are currently averaged as well. Future versions of this function will have options for channel selection.

This function is useful for obtaining a full-Stokes point source flux density estimate for polarization calibration or other purposes. It is essentially calculating a single-pixel image at the observation's phase center, which for point sources, yields the correct flux density.



Example
      include 'ms.g'
      myms := ms('ap366.ms'); 
      myms.ptsrc(fldid=[9,11],spwid=1);
      myms.done();
This example calculates the point source flux density for field ids 9 & 11 in spectral window 1.





next up previous contents index
Next: ms.done - Function Up: ms - Tool Previous: ms.uvlsf - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01