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


next up previous contents index
Next: simulator.close - Function Up: simulator - Tool Previous: simulatorfromms - Constructor


simulatortester - Constructor



Package synthesis
Module simulator
Tool simulator


Construct a simulator tool for testing


Synopsis
simulatortester(filename, clname, size, stokes, coordinates)


Description
This creates a simulator tool that one can use for testing. A standard MeasurementSet is created and then used to initialize simulator. The dataset used is an observation of 3C273 at 8GHz using the C-configuration of the VLA. It is part of the AIPS++distribution. A simple model of 3C273 is transformed and filled into the MODEL_DATA column.



Arguments

filename Name of MS to create
Allowed: String
Default: 3C273XC1.ms
clname Name of componentlist to create
Allowed: String
Default: 3C273XC1.cl
size Number of pixels on a side
Allowed: Int
Default: 128
stokes Stokes parameters to simulate (e.g. 'IQUV')
Allowed: 'I'|'IV'|'IQU'|'IQUV'
Default: 'I'
coordinates Coordinate system to use e.g. 'j2000,'gal'
Allowed: String
Default: 'j2000'


Returns
simulator tool


Example
sim:=simulatortester(coordinates='gal',size=1024)
sim.simulate(type='corrected', simulate='3C273XC1.dirty')
sim.close()





next up previous contents index
Next: simulator.close - Function Up: simulator - Tool Previous: simulatorfromms - Constructor   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-10-15