|
| | SourceInfo (const SourceInfo &) |
| | Copy constructor. More...
|
| |
| | SourceInfo (const std::string &name, Type type, const std::string &refType="J2000", bool useLogarithmicSI=true, unsigned int spectralIndexNTerms=0, double spectralIndexRefFreqHz=0., bool useRotationMeasure=false, bool positionAngleIsAbsolute=false) |
| |
| bool | getHasLogarithmicSI () const |
| |
| const std::string & | getName () const |
| | Get the source name. More...
|
| |
| unsigned int | getNSpectralTerms () const |
| |
| bool | getPositionAngleIsAbsolute () const |
| |
| const std::string & | getRefType () const |
| | Get the reference type. More...
|
| |
| double | getSpectralTermsRefFreq () const |
| | Get the reference frequency (in Hz) for the spectral index. More...
|
| |
| Type | getType () const |
| | Get the source type. More...
|
| |
| bool | getUseRotationMeasure () const |
| |
| SourceInfo & | operator= (const SourceInfo &) |
| | Assignment. More...
|
| |
| void | read (dp3::blob::BlobIStream &) |
| | Read from a blob. More...
|
| |
| void | write (dp3::blob::BlobOStream &) const |
| | Write into a blob. More...
|
| |
|
| const casacore::Array< double > & | getShapeletCoeffI () const |
| |
| const casacore::Array< double > & | getShapeletCoeffQ () const |
| |
| const casacore::Array< double > & | getShapeletCoeffU () const |
| |
| const casacore::Array< double > & | getShapeletCoeffV () const |
| |
| double | getShapeletScaleI () const |
| |
| double | getShapeletScaleQ () const |
| |
| double | getShapeletScaleU () const |
| |
| double | getShapeletScaleV () const |
| |
| void | setShapeletCoeff (const casacore::Array< double > &I, const casacore::Array< double > &Q, const casacore::Array< double > &U, const casacore::Array< double > &V) |
| |
| void | setShapeletScale (double scaleI, double scaleQ, double scaleU, double scaleV) |
| |
| dp3::parmdb::SourceInfo::SourceInfo |
( |
const std::string & |
name, |
|
|
Type |
type, |
|
|
const std::string & |
refType = "J2000", |
|
|
bool |
useLogarithmicSI = true, |
|
|
unsigned int |
spectralIndexNTerms = 0, |
|
|
double |
spectralIndexRefFreqHz = 0., |
|
|
bool |
useRotationMeasure = false, |
|
|
bool |
positionAngleIsAbsolute = false |
|
) |
| |
Create from source name, type, reference type and other info.
The 'type' argument tells the source type (point, gaussian, etc.).
The 'refType' argument tells the MDirection reference frame (J2000, SUN, etc.).
A positive spectralIndexSize means that BBS will take a spectral index with size terms into account when calculating the flux. The values of the terms are in the associated ParmDB. It uses the given reference frequency (in Hz).
useRotationMeasure indicates that Q and U have to be calculated using a rotation measure, polarization angle, and polarized fraction.