 PSRCHIVE
  PSRCHIVE
| Ask a Question | Search PSRCHIVE: | 
|  Home 
 | 
Classes |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
List of all members   Pulsar::Integration Class Referenceabstract Array of Profiles integrated over the same time interval. More... 
 
Inheritance diagram for Pulsar::Integration:   
 
 
 
 
 
 Detailed DescriptionArray of Profiles integrated over the same time interval. This class stores a two-dimensional array of pulse Profile instances as a function of polarization and frequency. Member Function Documentation◆ add_extension()
 Add an Extension to the Integration instance. The derived class must ensure that only one instance of the Extension type is stored. 
 Derived classes need only define this method, as the non-const version implemented by the Integration base class simply calls this method. References extension, and verbose. Referenced by copy(), edit_extensions(), getadd(), Pulsar::ASPArchive::load_Integration(), Pulsar::FITSArchive::load_Plasma(), Pulsar::FITSArchive::load_Pointing(), Pulsar::FITSArchive::load_SpectralKurtosis(), and Pulsar::TimeIntegrate::transform(). ◆ cal_levels()
 Returns the mean hi/lo and variance of the mean hi/lo of every profile. Returns the mean (and variance of the mean) off the on and off pulse cal levels. References verbose. Referenced by Pulsar::DynamicCalSpectrumPlot::get_plot_array(). ◆ clone()
 Return a new copy of self. Implemented in Pulsar::BasicIntegration. References Archive, and Integration(). Referenced by Pulsar::ReferenceCalibrator::get_levels(), new_PolnProfile(), Pulsar::PulsarCalibrator::set_standard(), total(), Pulsar::ImageCorrection::transform(), and Pulsar::ChannelZapMedian::weight(). ◆ combine()
 Combine from into this. Users of this method should be aware that it does not keep full track of all the parameters of an Integration. It is designed to be used for low level arithmetic style addition only, not fully consistent combination. The supplied tscrunch routines should be used for such purposes. This method is provided for experimental purposes and should not be used lightly. If the time spans of the two combined subints are not contiguous, several parameters in the result are no longer meaningful. Also, there is no way of knowing whether the profiles are aligned in phase. Developers who use this operator should perform the necessary rotations at the archive level (where the polyco resides) before summing the data in the Integrations. References Pulsar::Profile::average(), get_duration(), get_nchan(), get_npol(), get_Profile(), get_weight(), Integration(), mixable(), set_duration(), and total(). ◆ copy()
 Copy the profiles and attributes through set_ get_ methods. Copy the common information from another Integration References add_extension(), copy(), extension, Integration(), orphaned, parent, profiles, resize(), set_duration(), set_epoch(), set_folding_period(), set_gate_duty_cycle(), and verbose. Referenced by Pulsar::BasicIntegration::BasicIntegration(), Pulsar::BasicIntegration::BasicIntegration(), copy(), find_max_phase(), find_min_phase(), find_peak_edges(), find_transitions(), operator=(), and total(). ◆ dedisperse()
 Remove dispersion delays with respect to centre frequency. Calls Dispersion::transform References orphaned, Pulsar::ColdPlasma< Calculator, History >::transform(), and verbose. ◆ defaraday()
 Remove Faraday rotation with respect to centre frequency. Calls FaradayRotation::transform References get_basis(), get_faraday_corrected(), get_rotation_measure(), orphaned, and verbose. Referenced by Pulsar::Archive::defaraday(). ◆ find_max_phase()
 Returns the centre phase of the region with maximum total intensity. 
 ◆ find_min_phase()
 Returns the centre phase of the region with minimum total intensity. 
 ◆ find_peak_edges()
 Find the bins in which the total intensity exceeds a threshold. 
 ◆ find_transitions()
 Find the transitions between high and low states in total intensity. 
 ◆ fscrunch()
 Integrate profiles from neighbouring chans. 
 ◆ get() [1/2]
template<class T>  
 e.g. Integration* integration; MyExtension* ext = integration->get<MyExtension>(); References verbose. ◆ get() [2/2]
template<class T>  
 e.g. const Integration* integration; const MyExtension* ext = integration->get<MyExtension>(); References verbose. ◆ get_absolute_birefringence_corrected()
 Absolute inter-channel birefringence has been removed. Auxiliary inter-channel birefringence has been removed. References orphaned, and parent. Referenced by Pulsar::FaradayRotation::get_absolute_corrected(), and get_absolute_rotation_measure(). ◆ get_absolute_dispersion_corrected()
 Absolute inter-channel dispersive delay has been removed. Auxiliary inter-channel dispersion delay has been removed. References orphaned, and parent. Referenced by Pulsar::Dispersion::get_absolute_corrected(), and get_absolute_dispersion_measure(). ◆ get_centre_frequency()
 Get the Profile centre frequency attribute of the given channel. Get the centre frequency of the given channel. 
 
 References get_nchan(), get_npol(), and profiles. Referenced by Pulsar::VariableTransformationFile::get_value(), Pulsar::Integration::Interface::Interface(), Pulsar::ChannelSubsetMatch::match(), mixable(), Pulsar::PatchFrequency::operate(), Pulsar::BinaryPhaseOrder::organise(), Pulsar::BinLngAscOrder::organise(), Pulsar::BinLngPeriOrder::organise(), Pulsar::PeriastronOrder::organise(), Pulsar::ColdPlasma< Calculator, History >::range(), Pulsar::ColdPlasma< Calculator, History >::setup(), Pulsar::ChannelSubsetMatch::sub_channel(), Pulsar::ChannelSubsetMatch::super_channel(), Pulsar::ImageCorrection::transform(), Pulsar::ScatteredPowerCorrection::transform(), Pulsar::FITSArchive::unload_Integration(), and Pulsar::Archive::update_centre_frequency(). ◆ get_duration()
 Get the total time integrated (in seconds) Implemented in Pulsar::BasicIntegration. Referenced by combine(), get_end_time(), get_start_time(), Pulsar::Integration::Interface::Interface(), Pulsar::TimeIntegrate::transform(), and Pulsar::FITSArchive::unload_Integration(). ◆ get_effective_dispersion_measure()
 Get the effective dispersion measure that remains to be corrected. Returns the sum of get_relative_dispersion_measure and get_absolute_dispersion_measure. References get_absolute_dispersion_measure(), and get_relative_dispersion_measure(). Referenced by Pulsar::FrequencyIntegrate::transform(). ◆ get_effective_rotation_measure()
 Get the effective rotation measure that remains to be corrected. Returns the sum of get_relative_rotation_measure and get_absolute_rotation_measure. References get_absolute_rotation_measure(), and get_relative_rotation_measure(). Referenced by Pulsar::FrequencyIntegrate::transform(). ◆ get_epoch()
 Get the epoch of the rising edge of bin zero. Implemented in Pulsar::BasicIntegration. Referenced by Pulsar::SystemCalibrator::add_calibrator(), Pulsar::ReceptionCalibrator::add_pulsar(), Pulsar::SystemCalibrator::add_pulsar(), Pulsar::IonosphereCalibrator::calibrate(), Pulsar::TimeFrequencyZap::compute_mask(), Pulsar::Archive::create_updated_model(), Pulsar::Contemporaneity::AtPulsar::evaluate(), get_end_time(), Pulsar::ProfilePlot::get_profiles(), get_start_time(), Pulsar::SystemCalibrator::get_transformation(), Pulsar::VariableTransformationFile::get_value(), Pulsar::Integration::Interface::Interface(), Pulsar::TimerArchive::load(), Pulsar::PatchTime::operate(), Pulsar::BinaryPhaseOrder::organise(), Pulsar::BinLngAscOrder::organise(), Pulsar::BinLngPeriOrder::organise(), Pulsar::PeriastronOrder::organise(), Pulsar::SystemCalibrator::precalibrate(), rotate(), Pulsar::TimeIntegrate::transform(), Pulsar::FITSArchive::unload_file(), and Pulsar::FITSArchive::unload_Integration(). ◆ get_extension() [1/2]
 ◆ get_extension() [2/2]
 Return a pointer to the specified extension. Derived classes need only define this method, as the non-const version implemented by the Integration base class simply calls this method. References extension. Referenced by edit_extensions(), list_extensions(), and Pulsar::TimeIntegrate::transform(). ◆ get_folding_period()
 Get the folding or topocentric pulsar period (in seconds) Implemented in Pulsar::BasicIntegration. Referenced by Pulsar::Dispersion::apply(), Pulsar::FluxPlot::get_phase_error(), Pulsar::Integration::Interface::Interface(), rotate(), Pulsar::ImageCorrection::transform(), Pulsar::ScatteredPowerCorrection::transform(), Pulsar::TimeIntegrate::transform(), Pulsar::FITSArchive::unload_Integration(), Pulsar::TimerArchive::unpack(), Pulsar::Dispersion::update(), and Pulsar::FITSArchive::update_history(). ◆ get_gate_duty_cycle()
 Get the fraction of the pulse period recorded (in turns) Reimplemented in Pulsar::BasicIntegration. Referenced by Pulsar::AnglePlot::draw(), Pulsar::Integration::Interface::Interface(), and Pulsar::FITSArchive::update_history(). ◆ get_nbin()
 Get the number of bins in each profile. This attribute may be set only through Integration::resize Implemented in Pulsar::BasicIntegration. Referenced by Pulsar::PatchFrequency::add_channels(), Pulsar::PulsarCalibrator::add_pulsar(), get_Stokes(), insert(), Pulsar::Integration::Interface::Interface(), mixable(), resize(), Pulsar::ImageCorrection::transform(), Pulsar::ScatteredPowerCorrection::transform(), and Pulsar::ChannelZapMedian::weight(). ◆ get_nchan()
 Get the number of chans. This attribute may be set only through Integration::resize Implemented in Pulsar::BasicIntegration. Referenced by Pulsar::ProfilePCA::add_Integration(), Pulsar::SystemCalibrator::add_pulsar(), baseline_stats(), combine(), Pulsar::Weight::copy_weights(), effective_bandwidth(), Pulsar::ColdPlasma< Calculator, History >::execute1(), Pulsar::Transposer::get_amps(), get_centre_frequency(), Pulsar::Statistics::get_design_effect(), Pulsar::ReferenceCalibrator::get_levels(), Pulsar::Statistics::get_nzero(), get_Stokes(), Pulsar::MatrixTemplateMatching::get_toas(), get_weight(), insert(), Pulsar::Integration::Interface::Interface(), invint(), mixable(), Pulsar::RemoveBaseline::Total::operate(), pscrunch(), Pulsar::ColdPlasma< Calculator, History >::range(), range_check(), remove(), resize(), Pulsar::ColdPlasma< Calculator, History >::revert_relative(), rotate_phase(), set_centre_frequency(), set_weight(), total(), Pulsar::FrequencyIntegrate::transform(), Pulsar::ImageCorrection::transform(), transform(), transform(), Pulsar::ScatteredPowerCorrection::transform(), Pulsar::ChannelZapMedian::weight(), Pulsar::IntegrationWeight::weight(), and zero(). ◆ get_npol()
 Get the number of polarization measurements. This attribute may be set only through Integration::resize Implemented in Pulsar::BasicIntegration. Referenced by Pulsar::PatchFrequency::add_channels(), Pulsar::Dispersion::apply(), baseline_stats(), combine(), Pulsar::Transposer::get_amps(), get_centre_frequency(), Pulsar::ReferenceCalibrator::get_levels(), get_weight(), insert(), Pulsar::Integration::Interface::Interface(), mixable(), new_PolnProfile(), new_PolnProfile(), Pulsar::RemoveBaseline::Total::operate(), pscrunch(), range_check(), remove(), resize(), reverse_chan(), rotate_phase(), set_centre_frequency(), set_weight(), total(), Pulsar::FrequencyIntegrate::transform(), Pulsar::ImageCorrection::transform(), transform(), transform(), Pulsar::ScatteredPowerCorrection::transform(), Pulsar::ChannelZapMedian::weight(), and zero(). ◆ get_Stokes() [1/2]
 Returns a vector of Stokes parameters along the specified dimension. The vector of Stokes parameters may be calculated with either pulse phase or observing frequency as the abscissa. 
 
 By default, "get_Stokes (S, ichan);" will return the polarimetric profile from chan, ichan. To get the polarimetric spectra from the middle of the pulse profile, for example, call "get_Stokes (S, get_nbin()/2, Axis::Frequency);" References Signal::Coherence, Signal::Frequency, get_nbin(), get_nchan(), get_state(), Pulsar::get_Stokes(), Signal::Phase, and Signal::Stokes. ◆ get_Stokes() [2/2]
 Return the Stokes 4-vector for the frequency channel and phase bin. 
 
 
 References Signal::Coherence, get_basis(), get_state(), profiles, Signal::Stokes, and verbose. ◆ get_weight()
 Get the Profile weight attribute of the given channel. Get the weight of the given channel. 
 
 References get_nchan(), get_npol(), and profiles. Referenced by Pulsar::SystemCalibrator::add_calibrator(), Pulsar::FluxCalibrator::add_observation(), Pulsar::SystemCalibrator::add_pulsar(), baseline_stats(), combine(), Pulsar::Weight::copy_weights(), effective_bandwidth(), Pulsar::ReferenceCalibrator::get_levels(), Pulsar::Integration::Interface::Interface(), Pulsar::PhaseVsHist::prepare(), Pulsar::PulsarCalibrator::setup(), Pulsar::ImageCorrection::transform(), Pulsar::ScatteredPowerCorrection::transform(), Pulsar::FITSArchive::unload_Integration(), Pulsar::ChannelZapMedian::weight(), and Pulsar::IntegrationWeight::weight(). ◆ getadd()
template<class T>  
 If the specified extension type T does not exist, an atempt is made to add it using add_extension. References add_extension(), and get(). ◆ invint()
 Transform from Stokes (I,Q,U,V) to the polarimetric invariant interval. 
 References baseline(), get_nchan(), invint(), new_PolnProfile(), and resize(). Referenced by convert_state(), and invint(). ◆ mixable()
 Test if integration may be combined with this. This function defines the set of observing and processing parameters that should be equal (within certain limits) before two Integrations may be combined using operators. 
 
 
 References get_bandwidth(), get_basis(), get_centre_frequency(), get_centre_frequency(), get_dispersion_measure(), get_nbin(), get_nchan(), get_npol(), get_state(), Integration(), and match_max_frequency_difference. Referenced by combine(). ◆ new_PolnProfile()
 Returns a pointer to a new PolnProfile containing references to Profiles. Returns a pointer to a new PolnProfile instance specified by ichan. References get_basis(), get_npol(), get_Profile(), get_state(), and Pulsar::Profile::verbose. Referenced by Pulsar::PulsarCalibrator::add_pulsar(), Pulsar::ReceptionCalibrator::add_pulsar(), Pulsar::FaradayRotation::apply(), Pulsar::MatrixTemplateMatching::get_toas(), and invint(). ◆ new_Profile()
 ◆ remove_baseline()
 Remove the baseline from all profiles. If baseline is not specified, this method calls Integration::baseline to find the baseline mask. This mask is then used to remove the baseline from each of the profiles over all polarizations and frequencies. If the dispersion measure and folding period have been previously set, the baseline phase is shifted according to the dispersion relation. References baseline(), remove(), and verbose. ◆ resize()
 Set the dimensions of the data container. If any current dimension is greater than that requested, the Profiles will be deleted and the dimension resized. If any current dimension is smaller than that requested, the dimension will be resized and new Profiles will be constructed. If any of the supplied paramaters is equal to zero, the dimension is left unchanged. References get_nbin(), get_nchan(), get_npol(), new_Profile(), profiles, resize(), set_nbin(), set_nchan(), set_npol(), and verbose. Referenced by copy(), invint(), pscrunch(), resize(), and Pulsar::Archive::resize_Integration(). ◆ reverse_chan()
 Reverse the order of frequency channels. Reverse the order of frequency channels for each polarization. References get_npol(), and profiles. Referenced by Pulsar::Archive::reverse_chan(). ◆ set_centre_frequency()
 Set the Profile centre frequency attributes of the given channel. Set the centre frequency of the given channel. 
 References get_nchan(), get_npol(), profiles, and set_centre_frequency(). Referenced by Pulsar::PatchFrequency::add_channels(), Pulsar::Integration::Interface::Interface(), Pulsar::UVMArchive::load_header(), Pulsar::ASCIIArchive::load_Integration(), Pulsar::ASPArchive::load_Integration(), Pulsar::BPPArchive::load_Integration(), Pulsar::EPOSArchive::load_Integration(), Pulsar::ExampleArchive::load_Integration(), Pulsar::PRESTOArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), set_centre_frequency(), and Pulsar::FrequencyIntegrate::transform(). ◆ set_duration()
 Set the total time integrated (in seconds) Implemented in Pulsar::BasicIntegration. Referenced by combine(), copy(), Pulsar::Integration::Interface::Interface(), Pulsar::UVMArchive::load_header(), and Pulsar::TimeIntegrate::transform(). ◆ set_epoch()
 Set the epoch of the rising edge of bin zero. Implemented in Pulsar::BasicIntegration. Referenced by copy(), Pulsar::Integration::Interface::Interface(), Pulsar::UVMArchive::load_header(), rotate(), Pulsar::IntegrationBarycentre::set_Integration(), and Pulsar::TimeIntegrate::transform(). ◆ set_folding_period()
 Set the folding or topocentric pulsar period (in seconds) Implemented in Pulsar::BasicIntegration. Referenced by copy(), Pulsar::Integration::Interface::Interface(), Pulsar::UVMArchive::load_header(), and Pulsar::TimeIntegrate::transform(). ◆ set_gate_duty_cycle()
 Set the fraction of the pulse period recorded (in turns) Reimplemented in Pulsar::BasicIntegration. Referenced by copy(), Pulsar::Integration::Interface::Interface(), and Pulsar::UVMArchive::load_header(). ◆ set_nbin()
 Set the number of pulsar phase bins. Implemented in Pulsar::BasicIntegration. Referenced by resize(). ◆ set_nchan()
 Set the number of frequency channels. Implemented in Pulsar::BasicIntegration. ◆ set_npol()
 Set the number of polarization measurements. Implemented in Pulsar::BasicIntegration. References Integration(). Referenced by resize(). ◆ set_weight()
 Set the Profile weight attributes of the given channel. Set the weight of the given channel. 
 References get_nchan(), get_npol(), profiles, and set_weight(). Referenced by Pulsar::Weight::copy_weights(), Pulsar::Integration::Interface::Interface(), Pulsar::BPPArchive::load_Integration(), Pulsar::ChannelZapMedian::operator()(), Pulsar::SystemCalibrator::precalibrate(), set_weight(), Pulsar::ImageCorrection::transform(), transform(), transform(), Pulsar::ChannelZapMedian::weight(), and Pulsar::IntegrationWeight::weight(). ◆ total()
 Return an orphaned pscrunched dedispersed fscrunched clone of self. This method is primarily designed for use by the Integration::find_* methods. After calling fscrunch, the resulting Profile may have a different centre frequency than that of the Integration. Therefore, the Profile is dedispersed to match the phase referenced at the frequency returned by Integration::get_centre_frequency. References clone(), copy(), get_nchan(), get_npol(), and verbose. Referenced by baseline(), combine(), find_max_phase(), find_min_phase(), find_peak_edges(), and find_transitions(). ◆ weighted_frequency()
 Computes the weighted centre frequency of an interval of sub-channels. 
 
 Referenced by Pulsar::FrequencyIntegrate::transform(). Member Data Documentation◆ match_max_frequency_difference
 Maximum centre frequency difference in Integration::mixable. Maximum frequency difference in MHz Referenced by mixable(). The documentation for this class was generated from the following files: 
 Generated using doxygen 1.14.0 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||