Loops over two dimensions of an Archive, comparing profiles.
More...
#include <CompareWith.h>
|
virtual void | setup (unsigned start_primary, unsigned nprimary=1) |
| Perform an eigenanalysis and set up the generalized chi squared.
|
|
void | set (ndArray< 2, double > &result, unsigned iprimary, unsigned icompare, double value) |
|
void | check () |
| Check that necessary attributes have been set.
|
|
void | compute_mean (unsigned start_primary, unsigned nprimary) |
| Compute the mean of the profiles to be compared.
|
|
void | get_amps (std::vector< double > &s, const Profile *profile) |
| Set amps to the normalized and bscrunched profile amplitudes.
|
|
void | get_residual (std::vector< double > &s, const std::vector< double > &mamps) |
| Set amps to the residual after best fit of amps to mamps.
|
|
virtual void | compute (unsigned iprimary, ndArray< 2, double > &result)=0 |
| Compute the comparison summary for primary dimension.
|
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
|
Loops over two dimensions of an Archive, comparing profiles.
Uses a BinaryStatistic to compare profiles
◆ model_residual
bool Pulsar::CompareWith::model_residual |
|
protected |
Compute the covariance matrix of the best-fit residual.
Residual after fitting scale and offset
The documentation for this class was generated from the following files: