28 #ifndef MS_NEWMSSIMULATOR_H
29 #define MS_NEWMSSIMULATOR_H
125 const String& coordsystem,
161 const String& stokesString);
180 const Bool useHourAngles,
184 const String& spWindowName,
192 const double& state_cal=0.,
193 const double& state_load=0.,
194 const unsigned int state_sub_scan=1,
195 const String& state_obs_mode=
"OBSERVE_TARGET.ON_SOURCE",
196 const String& observername=
"CASA simulator",
197 const String& projectname=
"CASA simulation");
201 const String& spWindowName,
210 const double& state_cal=0.,
211 const double& state_load=0.,
212 const unsigned int state_sub_scan=1,
213 const String& state_obs_mode=
"OBSERVE_TARGET.ON_SOURCE",
214 const String& observername=
"CASA simulator",
215 const String& projectname=
"CASA simulation");
A Measure: astronomical direction.
void setFractionBlockageLimit(const Double fraclimit)
String formatTime(const Double)
A Measure: position on Earth.
void blockage(Double &fraction1, Double &fraction2, const Vector< Double > &uvw, const Double diam1, const Double diam2)
Returns the fractional blockage of one antenna by another We will want to put this somewhere else eve...
Float autoCorrelationWt_p
void setAutoCorrelationWt(const Float autocorrwt)
void initSpWindows(const String &spWindowName, const Int &nChan, const Quantity &startFreq, const Quantity &freqInc, const Quantity &freqRes, const MFrequency::Types &freqType, const String &stokesString)
set the spectral windows information
void observe(const String &sourceName, const String &spWindowName, const Quantity &qStartTime, const Quantity &qStopTime, const Bool add_observation=True, const Bool state_sig=True, const Bool state_ref=True, const double &state_cal=0., const double &state_load=0., const unsigned int state_sub_scan=1, const String &state_obs_mode="OBSERVE_TARGET.ON_SOURCE", const String &observername="CASA simulator", const String &projectname="CASA simulation")
bool getSpWindows(Int &nSpw, Vector< String > &spWindowName, Vector< Int > &nChan, Vector< Quantity > &startFreq, Vector< Quantity > &freqInc, Vector< String > &stokesString)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
void setElevationLimit(const Quantity &ellimit)
A Measure: instant in time.
TiledDataStManAccessor sigmaAcc_p
void initFeeds(const String &mode)
set the Feeds; brain dead version
NewMSSimulator & operator=(const NewMSSimulator &)
Assignment.
Referenced counted pointer for constant data.
TiledDataStManAccessor scratchDataAcc_p
void initAnt(const String &telname, const Vector< Double > &x, const Vector< Double > &y, const Vector< Double > &z, const Vector< Double > &dishDiameter, const Vector< Double > &offset, const Vector< String > &mount, const Vector< String > &name, const Vector< String > &padname, const String &coordsystem, const MPosition &mRefLocation)
set the antenna and array data.
Create an empty MeasurementSet from observation and telescope descriptions.
casacore::CountedPtr< MeasurementSet > getMs() const
casacore::CountedPtr< MeasurementSet > ms_p
void local2global(Vector< Double > &xReturned, Vector< Double > &yReturned, Vector< Double > &zReturned, const MPosition &mRefLocation, const Vector< Double > &xIn, const Vector< Double > &yIn, const Vector< Double > &zIn)
Quantity qIntegrationTime_p
bool Bool
Define the standard types used by Casacore.
Double fractionBlockageLimit_p
void longlat2global(Vector< Double > &xReturned, Vector< Double > &yReturned, Vector< Double > &zReturned, const MPosition &mRefLocation, const Vector< Double > &xIn, const Vector< Double > &yIn, const Vector< Double > &zIn)
Give access to some TiledDataStMan functions.
void initFields(const String &sourceName, const MDirection &sourceDirection, const String &calCode)
set the observed fields
bool getAnt(String &telescope, Int &nAnt, Matrix< Double > *antXYZ, Vector< Double > &antDiam, Vector< Double > &offset, Vector< String > &mount, Vector< String > &name, Vector< String > &padname, String &coordsystem, MPosition &mRefLocation)
get the info back
A Table intended to hold astronomical data (a set of Measurements).
Bool calcAntUVW(MEpoch &epoch, MDirection &refdir, Matrix< Double > &uvwAnt)
void settimes(const Quantity &qIntegrationTime, const Bool useHourAngles, const MEpoch &mRefTime)
NewMSSimulator()
Prevent use of default constructor.
bool getFields(Int &nField, Vector< String > &sourceName, Vector< MDirection > &sourceDirection, Vector< String > &calCode)
String formatDirection(const MDirection &)
void setMaxData(const Double maxData=2e9)
Set maximum amount of data (bytes) to be written into any one scratch column hypercube.
String: the storage and methods of handling collections of characters.
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Quantity elevationLimit_p
TiledDataStManAccessor dataAcc_p
TiledDataStManAccessor flagAcc_p
void addHyperCubes(const Int id, const Int nBase, const Int nChan, const Int nCorr)
bool getFeedMode(String &mode)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.