PSRCHIVE
| Ask a Question | Search PSRCHIVE: |
Home
|
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
Pulsar::ColdPlasma< Calculator, History > Class Template Referenceabstract Corrects dielectric effects in cold plasma. More...
Inheritance diagram for Pulsar::ColdPlasma< Calculator, History >:
Detailed Descriptiontemplate<class Calculator, class History> class Pulsar::ColdPlasma< Calculator, History > Corrects dielectric effects in cold plasma. Corrections are performed with respect to a reference frequency. By default, this is the centre frequency of the Integration; however, it is possible to correct with respect to an arbitrary frequency or wavelength (including zero wavelength = infinite frequency). The main point to this template base class is to standardize dispersion and Faraday rotation corrections. The data to be corrected may have already been corrected once before, with a different dispersion/rotation measure and/or refererence wavelength. This class ensures that past corrections are treated properly, through use of a History class (an Integration::Extension). Member Typedef Documentation◆ Type
template<class Calculator, class History>
For dispersion, Type = double; for Faraday rotation, Type = Jones<double> Member Function Documentation◆ apply()
template<class Calculator, class History>
Derived classes must define how to apply the correction. Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by range(). ◆ combine()
template<class Calculator, class History>
Derived classes must define the operator. For dispersion, this performs scalar addition; for Faraday rotation, matrix multiplication Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. ◆ correct()
template<class C, class H>
Correct the selected range according to effective_measure.
References absolute, name, range(), relative, set_reference_frequency(), setup(), update(), and Pulsar::Integration::verbose. ◆ execute()
template<class C, class H>
Execute the correction for an entire Archive. Reimplemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. References execute1(), Pulsar::IntegrationManager::get_Integration(), and Pulsar::IntegrationManager::get_nsubint(). Referenced by Pulsar::Dispersion::execute(), and Pulsar::FaradayRotation::execute(). ◆ get_absolute_corrected()
template<class Calculator, class History>
Return true if the relative measure has been corrected with respect to centre frequency. As returned by psredit -c aux:dmc or aux:rmc Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by update_absolute(). ◆ get_absolute_measure()
template<class Calculator, class History>
Return the measure to be corrected with respect to infinite frequency. As returned by psredit -c int:aux:dm or int:aux:rm Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by execute1(), and update_absolute(). ◆ get_identity()
template<class Calculator, class History>
Derived classes must define the identity. For dispersion, returns 0; for Faraday rotation, returns the identity matrix Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by just_do_it(), range(), revert_relative(), and update_relative(). ◆ get_relative_corrected()
template<class Calculator, class History>
Return true if the relative measure has been corrected with respect to centre frequency. As returned by psredit -c dmc or rmc Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by update_relative(). ◆ get_relative_measure()
template<class Calculator, class History>
Return the measure to be corrected with respect to centre frequency. As returned by psredit -c dm or rm Implemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. Referenced by execute1(), setup(), and update_relative(). ◆ range()
template<class C, class H>
Execute the correction on the selected range. This worker method performs the correction on a specified range of frequency channels
References absolute, apply(), Integration::combine(), delta, Pulsar::Integration::get_centre_frequency(), get_identity(), Pulsar::Integration::get_nchan(), get_reference_wavelength(), name, relative, set_frequency(), val, Pulsar::Integration::verbose, and Pulsar::Profile::verbose. Referenced by correct(), execute1(), just_do_it(), and revert_relative(). ◆ revert()
template<class C, class H>
Revert the correction for an entire Archive. Reimplemented in Pulsar::Dispersion, and Pulsar::FaradayRotation. References Pulsar::IntegrationManager::get_Integration(), Pulsar::IntegrationManager::get_nsubint(), and revert_relative(). Referenced by Pulsar::Dispersion::revert(), and Pulsar::FaradayRotation::revert(). ◆ setup()
template<class C, class H>
Set up internal variables before execution.
References Pulsar::Integration::get_centre_frequency(), get_reference_wavelength(), get_relative_measure(), name, relative, set_reference_frequency(), and Pulsar::Integration::verbose. Referenced by correct(), set(), and transform(). ◆ transform()
template<class C, class H>
The default correction. Implements Pulsar::Transformation< Integration >. References execute1(), and setup(). Referenced by Pulsar::Integration::dedisperse(). ◆ update()
template<class Calculator, class History>
update internal variables before execution
Reimplemented in Pulsar::Dispersion. References update_absolute(), and update_relative(). Referenced by correct(), execute1(), set(), and Pulsar::Dispersion::update(). The documentation for this class was generated from the following file: Generated using doxygen 1.14.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||