makePtgfile

Return to directory of Todd's CASA extensions

Generates a ptgfile from an existing measurement set suitable for reading into simobserve. See also makeSimulatedImage.

Usage:

au.makePtgfile(vis, field, ptgfile='')
Inputs:
  • field: name of field for which to get all pointings

Example:

CASA <4>: au.makePtgfile('uid___A002_Xa56b1d_X174.ms','Uranus')
Wrote 7 fields to uid___A002_Xa56b1d_X174.ms.ptg
  Out[4]: 'uid___A002_Xa56b1d_X174.ms.ptg'

CASA <5>: !more uid___A002_Xa56b1d_X174.ms.ptg
#Epoch     RA          DEC      TIME(optional)
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011
J2000 01h15m34.369162  +007d17m41.73011

-- ToddHunter - 2015-07-19
Topic revision: r1 - 2015-07-19, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback