Ask a Question | Search PSRCHIVE: |
Home
|
ScalarTemplateMatching.h unsigned n_harmonic The number of harmonics in the fit. Definition: ScalarTemplateMatching.h:132 bool compute_reduced_chisq Compute the reduced chisq (using the expected variance of the residual profile) Definition: ScalarTemplateMatching.h:136 void init() Construtor helper. Definition: ScalarTemplateMatching.C:60 Reference::To< FluctuationSpectrumStats > stats Used to compute the variance of the off-pulse harmonics. Definition: ScalarTemplateMatching.h:123 ~ScalarTemplateMatching() Destructor. Definition: ScalarTemplateMatching.C:51 std::vector< Data > data Standards and observations. Definition: ScalarTemplateMatching.h:139 void set_standard(const Profile *standard) Set the standard to which observations will be fit. Definition: ScalarTemplateMatching.C:102 ScalarTemplateMatching() Default constructor. Definition: ScalarTemplateMatching.C:26 unsigned get_maximum_harmonic() const Get the maximum number of harmonics to include in fit. Definition: ScalarTemplateMatching.h:97 void delete_observations() Delete any previously added observations. Definition: ScalarTemplateMatching.C:158 unsigned get_nbin() const Return the number of bins. Definition: ProfileAmps.h:50 bool get_choose_maximum_harmonic() const Get the maximum number of harmonics to include in fit. Definition: ScalarTemplateMatching.h:103 Reference::To< const ProfileType > profile The Profile from which statistics will be derived. Definition: FluctSpectStats.h:70 bool choose_maximum_harmonic Set true when set_standard should choose the maximum harmonic. Definition: ScalarTemplateMatching.h:129 The original scalar template matching algorithm. Definition: ScalarTemplateMatching.h:44 void set_regions(const PhaseWeight &pulse, const PhaseWeight &baseline) Set the on-pulse and baseline regions. Definition: ScalarTemplateMatching.C:95 Estimate< double > get_scale() const Get the scale factor between the standard and the observation. double get_reduced_chisq() const Get the statistical goodness of fit. Definition: ScalarTemplateMatching.C:204 void add_observation(const Profile *) Add the specified profile to be fit to the standard/template. void set_choose_maximum_harmonic(bool flag) Set the maximum number of harmonics to include in fit. Definition: ScalarTemplateMatching.C:81 void set_observation(const Profile *) Set the only profile to be fit to the standard/template. Definition: ScalarTemplateMatching.C:163 void set_plan(FTransform::Plan *p) Set the fourier transform plan. Definition: FluctSpectStats.h:65 void set_maximum_harmonic(unsigned max) Set the maximum number of harmonics to include in fit. Definition: ScalarTemplateMatching.C:76 void fit(const Profile *observation) Fit the specified observation to the standard. Definition: ScalarTemplateMatching.C:148 static bool verbose Verbosity flag. Definition: ScalarTemplateMatching.h:58 Computes statistics of the fluctuation spectrum (Fourier transform of pulse profile) Definition: FluctuationSpectrumStats.h:26 void set_plan(FTransform::Plan *) Set the fourier transform plan. Definition: ScalarTemplateMatching.C:71 const Profile * get_standard() const Get the standard to which observations will be fit. Definition: ScalarTemplateMatching.C:87 void solve() Fit all observations to the standard. Definition: ScalarTemplateMatching.C:184 unsigned get_nharmonic() const Get the number of harmonics to be included in fit. Definition: ScalarTemplateMatching.h:106 void set_compute_reduced_chisq(bool flag) When true, compute the reduced chisq; when false, assume it is unity. Definition: ScalarTemplateMatching.h:115 Estimate< double > get_phase() const Get the phase offset between the standard and the observation in radians. Definition: ScalarTemplateMatching.C:210 void model_profile() Implement the solve method using the original model_profile algorithm. Definition: model_profile.C:106 unsigned maximum_harmonic The maximum number of harmonics to include in the fit. Definition: ScalarTemplateMatching.h:126 Generated using doxygen 1.8.17
|