![]()
|
|||
|
|
|||
| NRAO Home > CASA > CasaDocument | |||
Tool for simulation
Requires:
Synopsis
Description
simulator provides a unified interface for simulation of telescope processing.
It can create a MeasurementSet from scratch or read in an existing
MeasurementSet, it can predict synthesis data onto the (u,v) coordinates or
single dish data onto (ra,dec) points, and it can corrupt this data through
Gaussian errors or through specific errors residing in (anti-) calibration tables.
In the observing phase, simulator tries to act like a (simple) telescope. You
first make a simulator tool, with the name of the MeasurementSet that you
wish to construct. Next you use the various set* methods to set up the
observing (sources, spectral windows, etc.). Each such setup should be given a
unique name that will be used in the next step. Then you call the observe
method for each observing scan you wish to make. Here you specify the source
name, spectral windoow name, and observing times. After this, you have a
MeasurementSet that is complete but empty. In the next phase, you fill the
MeasurementSet with data from a model and then corrupt the measurements
(if desired). To fill it in with a model, use the predict method. Finally, to
apply errors, first set up the various effects using the relevant set* methods,
and then call corrupt.
Some important points (mostly for the cognoscenti):
simulator changes some columns to the MeasurementSet to store results of processing. The following columns in the MS are particularly important:
Standard tools such as the table module and the ms can be used to access and possibly change these (and all other) columns.
simulator is a tool that performs simulation of synthesis data, including (optionally) creation of a MeasurementSet, prediction of model data, and corruption by various physical effects.
| simulator | Construct a simulator tool |
| open | Construct a simulator tool and creating a new MeasurementSet |
| openfromms | Construct a simulator tool using an already existing MS |
| close | Close the newsimulator tool |
| done | Close the newsimulator tool |
| name | Provide the name of the attached MeasurementSet |
| summary | Summarize the current state |
| type | Return the type of this tool |
| settimes | Set integration time, etc. |
| observe | Observe a given configuration |
| setlimits | Set limits for observing |
| setauto | Set autocorrelation weight |
| setconfig | Set the antenna configuration |
| setknownconfig | Set the antenna configuration to a known array |
| setfeed | Set the feed parameters |
| setfield | Set one or more observed fields |
| setmosaicfield | Set observed mosaic fields |
| setspwindow | Set one or more spectral windows |
| setdata | Set the data parameters selection for subsequent processing |
| predict | Predict astronomical data from an image |
| setoptions | Set various processing options |
| setvp | Set the voltage pattern model for subsequent processing |
| corrupt | Corrupt the data with visibility errors |
| reset | Reset the corruption terms |
| setbandpass | Set the bandpasses |
| setapply | Arrange for corruption by existing cal tables |
| setgain | Set the gains |
| setpointingerror | Set the Pointing error |
| setleakage | Set the polarization leakage |
| setnoise | Set the noise level |
| setpa | Corrupt phase by the parallactic angle |
| setseed | Set the seed for the random number generator |
Description
simulator provides a unified interface for simulation of telescope processing.
It can create a MeasurementSet from scratch or read in an existing
MeasurementSet, it can predict synthesis data onto the (u,v) coordinates or
single dish data onto (ra,dec) points, and it can corrupt this data through
Gaussian errors or through specific errors residing in (anti-) calibration tables.
In the observing phase, simulator tries to act like a (simple) telescope. You
first make a simulator tool, with the name of the MeasurementSet that you
wish to construct. Next you use the various set* methods to set up the
observing (sources, spectral windows, etc.). Each such setup should be given a
unique name that will be used in the next step. Then you call the observe
method for each observing scan you wish to make. Here you specify the source
name, spectral windoow name, and observing times. After this, you have a
MeasurementSet that is complete but empty. In the next phase, you fill the
MeasurementSet with data from a model and then corrupt the measurements
(if desired). To fill it in with a model, use the predict method. Finally, to
apply errors, first set up the various effects using the relevant set* methods,
and then call corrupt.
Some important points (mostly for the cognoscenti):
simulator changes some columns to the MeasurementSet to store results of processing. The following columns in the MS are particularly important:
Standard tools such as the table module and the ms can be used to access and possibly change these (and all other) columns.
simulator is a tool that performs simulation of synthesis data, including (optionally) creation of a MeasurementSet, prediction of model data, and corruption by various physical effects.
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2007 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.