29 #ifndef MS_MSDERIVEDVALUES_H
30 #define MS_MSDERIVEDVALUES_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/measures/Measures.h>
35 #include <casacore/measures/Measures/MCDirection.h>
36 #include <casacore/measures/Measures/MDoppler.h>
37 #include <casacore/measures/Measures/MFrequency.h>
38 #include <casacore/measures/Measures/MCEpoch.h>
39 #include <casacore/measures/Measures/MCRadialVelocity.h>
40 #include <casacore/measures/Measures/MPosition.h>
41 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
45 class MSAntennaColumns;
189 const Int linenum=0);
Types
Types of known MDopplers Warning: The order defines the order in the translation matrix FromTo in th...
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Types
Types of known MRadialVelocity Warning: The order defines the order in the translation matrix FromTo...
Double hourAngle()
get hour angle
const MEpoch & last()
get LAST for given time, antenna
const Vector< MPosition > & getAntennaPositions() const
MEpoch::Convert cUTCToLAST_p
MDirection mRADecInAzEl_p
MSDerivedValues & setFrequencyReference(MFrequency::Types frqType)
Set the frequency frame (e.g., MFrequency::LSRK)
MSDerivedValues & setFieldCenter(const MDirection &fieldCenter)
Set field center.
MDirection::Convert cRADecToAzEl_p
MSDerivedValues & setMeasurementSet(const MeasurementSet &ms)
Set an ms does not need to explicity setAntennas and is necessary if setRestFreqency(fieldid,...
MSDerivedValues & setEpoch(const MEpoch &time)
Set epoch.
MSDerivedValues()
thread-hostile shared pointers (Jim Jacobs 111104)
MSDerivedValues & setObservatoryPosition(const MPosition &obsPosition)
Set the observatory position.
MRadialVelocity::Types getRadialVelocityType() const
MSDerivedValues & setRestFrequency(const Quantity &restFreq)
MSDerivedValues & operator=(const MSDerivedValues &other)
Assignment, this will initialize with other's MS.
Double parAngle()
get parallactic angle
void init()
initialize data
MSDerivedValues & setFieldCenter(uInt fieldid=0)
If you have used setMeasurementSet then this version of setFieldCenter using field id makes sense.
MSDerivedValues & setAntennaMount(const Vector< String > &mount)
Set antenna mounts, should have same number of entries as antPosition in setAntennaPosition.
MDirection::Convert cHADecToAzEl_p
Quantity toVelocity(const Quantity &freq)
Quantity toVelocity(const Quantity &freq, const Quantity &restFreq)
get velocity from frequency
const MRadialVelocity & obsVel()
get observatory radial velocity for given epoch, position and direction
MRadialVelocity::Convert cTOPOToLSR_p
MDirection::Convert cRADecToHADec_p
const MDirection & azel()
get azimuth & elevation
MDirection mHADecPoleInAzEl_p
MSDerivedValues & setVelocityFrame(MRadialVelocity::Types vType)
Set the velocity frame type (e.g., MRadialVelocity::LSRK)
Vector< MPosition > mAntPos_p
Quantity toFrequency(const Quantity &vel)
MSDerivedValues & setVelocityReference(MDoppler::Types dopType)
Set the velocity frame type (e.g., MRDoppler::RADIO)
MRadialVelocity::Types radialVelocityType_p
Quantity toFrequency(const Quantity &vel, const Quantity &restFreq)
get frequency from velocity
MSDerivedValues & setAntenna(Int antenna)
Set antenna index, sets the position reference for the conversions.
friend class VisBufferAsync
Bool setRestFrequency(const Int fieldid, const Int spwid, const Int linenum=0)
Set restFrequencies...make it look for it for the fieldid, spwid and line number defined in the SOURC...
MDirection mFieldCenter_p
MSDerivedValues(const MSDerivedValues &other)
Copy constructor, this will initialize with other's MS.
Int setAntennas(const MSAntennaColumns &ac)
Set antenna position from an antenna table Returns the number of antennas.
MSDerivedValues & setAntennaPositions(const Vector< MPosition > &antPosition)
Set antenna positions, index in vector is antenna number for calls below.
this file contains all the compiler specific defines
TableExprNode time(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.