Ask a Question | Search PSRCHIVE: |
Home
|
Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
Pulsar::ScalarTemplateMatching Class Reference The original scalar template matching algorithm. More...
Inheritance diagram for Pulsar::ScalarTemplateMatching:
Detailed DescriptionThe original scalar template matching algorithm. This class implements the Taylor (1992) algorithm, using the Van Wijngaarden–Dekker–Brent method to minimize the objective merit function. The algorithm was implemented before psrchive existed, in a function named model_profile. There were many arguments to this function: int model_profile (unsigned npts, unsigned narrays, const float* const* prf, const float* const* std, double* scale, double* sigma_scale, double* shift, double* sigma_shift, double* chisq, bool verbose) and it was becoming a nuisance to maintain, extend or optimize it; therefore, this class was wrapped around it to manage complexity. Member Function Documentation◆ get_phase()
Get the phase offset between the standard and the observation in radians. Get the phase offset between the observation and the standard. Member Data Documentation◆ compute_reduced_chisq
Compute the reduced chisq (using the expected variance of the residual profile) When set to false, incorrectly assume that the reduced chisq is equal to unity. The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|