|
DP3
|
Point source model component with optional spectral index and rotation measure. More...
#include <PointSource.h>
Public Types | |
| typedef std::shared_ptr< const PointSource > | ConstPtr |
| typedef std::shared_ptr< PointSource > | Ptr |
Public Member Functions | |
| PointSource (const Direction &position) | |
| PointSource (const Direction &position, const Stokes &stokes) | |
| void | accept (ModelComponentVisitor &visitor) const override |
| const Direction & | direction () const override |
| bool | hasLogarithmicSI () const |
| bool | hasRotationMeasure () const |
| bool | hasSpectralTerms () const |
| double | polarizationAngle () const |
| double | polarizedFraction () const |
| double | referenceFreq () const |
| double | rotationMeasure () const |
| void | setDirection (const Direction &position) |
| void | setRotationMeasure (double fraction, double angle, double rm) |
| template<typename T > | |
| void | setSpectralTerms (double refFreq, bool isLogarithmic, T first, T last) |
| void | setStokes (const Stokes &stokes) |
| const std::vector< double > & | spectrum () const |
| Stokes | stokes () const |
| Stokes | stokes (double freq) const |
Public Member Functions inherited from dp3::base::ModelComponent | |
| virtual | ~ModelComponent () |
Point source model component with optional spectral index and rotation measure.
| typedef std::shared_ptr<const PointSource> dp3::base::PointSource::ConstPtr |
| typedef std::shared_ptr<PointSource> dp3::base::PointSource::Ptr |
| dp3::base::PointSource::PointSource | ( | const Direction & | position | ) |
|
overridevirtual |
Implements dp3::base::ModelComponent.
|
inlineoverridevirtual |
Implements dp3::base::ModelComponent.
|
inline |
| bool dp3::base::PointSource::hasRotationMeasure | ( | ) | const |
| bool dp3::base::PointSource::hasSpectralTerms | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| void dp3::base::PointSource::setDirection | ( | const Direction & | position | ) |
| void dp3::base::PointSource::setRotationMeasure | ( | double | fraction, |
| double | angle, | ||
| double | rm | ||
| ) |
| void dp3::base::PointSource::setSpectralTerms | ( | double | refFreq, |
| bool | isLogarithmic, | ||
| T | first, | ||
| T | last | ||
| ) |
| void dp3::base::PointSource::setStokes | ( | const Stokes & | stokes | ) |
|
inline |
| Stokes dp3::base::PointSource::stokes | ( | ) | const |
| Stokes dp3::base::PointSource::stokes | ( | double | freq | ) | const |