Ask a Question | Search PSRCHIVE: |
Home
|
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
Pulsar::PolnCalibrator Class Reference Polarimetric calibrators. More...
Inheritance diagram for Pulsar::PolnCalibrator:
Detailed DescriptionPolarimetric calibrators. The calibrated archive will have its flux normalized by the calibrator flux, such that the FluxCalibrator class need only multiply the archive by the absolute calibrator flux. Polarimetric calibration does not require a flux calibrator in order to work. Constructor & Destructor Documentation◆ PolnCalibrator()
Construct with optional processed calibrator Archive. If a Pulsar::Archive is provided, and if it contains a PolnCalibratorExtension, then the constructed instance can be used to calibrate other Pulsar::Archive instances. References Reference::To< class, active >::get(). Member Function Documentation◆ calibrate()
Calibrate the polarization of the given archive. Upon completion, the flux of the archive will be normalized with respect to the flux of the calibrator, such that a FluxCalibrator simply scales the archive by the calibrator flux. Implements Pulsar::Calibrator. Reimplemented in Pulsar::ManualPolnCalibrator, Pulsar::DoPCalibrator, and Pulsar::OffPulseCalibrator. References Pulsar::Archive::get(), Pulsar::IntegrationManager::get_Integration(), Pulsar::Archive::get_nchan(), Pulsar::Archive::get_npol(), Pulsar::IntegrationManager::get_nsubint(), Pulsar::Profile::get_weight(), Pulsar::Archive::getadd(), Signal::ReferenceFluxDensity, Pulsar::Receiver::set_basis_corrected(), Pulsar::Archive::set_poln_calibrated(), and Pulsar::Archive::set_scale(). Referenced by Pulsar::DoPCalibrator::calibrate(), and Pulsar::OffPulseCalibrator::calibrate(). ◆ get_maximum_nchan()
Derived classes may be able to shrink the transformation array. Some calibrators (e.g. HybridCalibrator) may be capable of shrinking the size of the transformation array to match the number of frequency channels in the observation. If this is done, and the next observation to be calibrated has more channels than the first, then the transformation array should be recomputed to match the new frequency resolution. However, to date, the decision to recompute the transformation array has been based on it having zero size. It is not possible to compare tranformation.size() with get_nchan(), because PolnCalibrator::get_nchan makes the same comparison and returns transformation.size(). Rather than add a new method that must be implemented by all of the derived classes, this new method gives shrink-capable classes the opportunity to communicate this feature. By default, the method returns zero. Otherwise, it should return the maximum possible size of the transformation array that can be supported. Reimplemented in Pulsar::HybridCalibrator. ◆ get_transformation() [1/2]
Return the transformation for the specified channel. Return the system response for the specified channel. ◆ get_transformation() [2/2]
Return the transformation for the specified channel. Return the system response for the specified channel. ◆ get_transformation_valid()
Return true if the transformation for the specified channel is valid. Return the system response for the specified channel. ◆ get_valid()
Derived classes can add conditions for channel validity. Return true if the response for the specified channel is valid. Reimplemented in Pulsar::HybridCalibrator. ◆ set_transformation_invalid()
Set the transformation invalid flag for the specified channel. Return the system response for the specified channel. Referenced by Pulsar::ReferenceCalibrator::calculate_transformation(). Member Data Documentation◆ minimum_determinant
Minimum allowable determinant of Jones matrices. Set this parameter to avoid unstable inversion of matrices with a determinant close to zero by flagging such channels as invalid. The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|