PSRCHIVE
| Ask a Question | Search PSRCHIVE: |
Home
|
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Friends |
List of all members
Profile Class Reference Any quantity recorded as a function of pulse phase. More...
Inheritance diagram for Profile:
Detailed DescriptionAny quantity recorded as a function of pulse phase. The Pulsar::Profile class implements a useful, yet minimal, set of functionality required to store, manipulate, and analyse pulsar profiles. Note that:
This arrangement protects the size of each Profile object from becoming unsynchronized with the Integration in which it is contained. The data in each Profile may still be manipulated through public methods. Member Function Documentation◆ add_extension()
◆ average()
set this to the weighted average of this and that A series of additions using this operator preserves the relationship:
where
◆ baseline()
Return a new PhaseWeight instance with the baseline phase bins masked. Return a PhaseWeight mask with the baseline phase bins enabled. ◆ dedisperse()
Rotates the profile to remove dispersion delay. A convenience interface to Profile::rotate_phase. Rotates the profile in order to remove the dispersion delay with respect to a reference frequency.
◆ find_max_phase()
Returns the phase of the centre of the region with maximum mean. Returns the centre phase of the region with maximum mean
◆ find_min_phase()
Returns the phase of the centre of the region with minimum mean. Returns the centre phase of the region with minimum mean
◆ find_transitions()
Find the bin numbers at which the mean power transits. Finds the transitions at which the mean power of a sliding window drops below the mean power (high to low) and at which it jumps back above the mean power (low to high). The function is best-suited to detect the transitions of a pulsed calibrator profile, which is usually a square wave with 0.5 duty cycle. The width of the sliding window is given by Pulsar::Profile::transition_duty_cycle.
◆ get() [1/2]
template<class T>
e.g. Profile* profile; MyExtension* ext = profile->get<MyExtension>(); ◆ get() [2/2]
template<class T>
e.g. const Profile* profile; const MyExtension* ext = profile->get<MyExtension>(); ◆ get_extension() [1/2]
Return a pointer to the specified extension. Simply calls get_extension const ◆ 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 Profile base class simply calls this method. ◆ get_weighted_amps()
returns a vector representation of the array of amplitudes, with all zero-weighted points cleaned out ◆ mean()
Convenience interface to stats, returns only the mean.
◆ operator=()
◆ resize()
resize the data area Reimplemented from Pulsar::ProfileAmps. ◆ snr()
Returns the signal to noise ratio of the profile. This method calls Profile::snr_strategy ◆ stats() [1/2]
Calculates the mean, variance, and variance of the mean. Returns the mean, variance, and variance of the mean over the specified interval.
◆ stats() [2/2]
Convenience interface to stats (start_bin, end_bin)
Member Data Documentation◆ default_duty_cycle
fractional phase window used in most functions Default fractional pulse phase window used to calculate statistics related to the baseline. ◆ peak_edges_strategy
The default implementation of the edge detection algorithm. The PeakEdgesInterpreter class sets the peak_edges_strategy attribute according to commands specified either in the configuration file or via the psrsh interpreter. It enables convenient experimentation with the peak edges estimation algorithm. ◆ rotate_phase_enabled
Rotation of pulse phase is enabled by default. Rotate the profile by the specified phase. The profile will be rotated such that the power at phase will be found at phase zero. ie.
where ◆ transition_duty_cycle
fractional phase window used to find rise and fall of running mean Fractional pulse phase window used to calculate the transitions in Pulsar::Profile::find_cal_transition ◆ verbose
The documentation for this class was generated from the following files:
Generated using doxygen 1.14.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||