Ask a Question | Search PSRCHIVE: |
Home
|
CompareWith.h void bscrunch(Container *, const ScrunchFactor &) Integrate phase bins. Definition: ScrunchFactor.h:116 bool setup_completed Set true when setup has completed. Definition: CompareWith.h:61 Reference::To< GeneralizedChiSquared > gcs Loops over two dimensions of an Archive, comparing profiles. Definition: CompareWith.h:28 virtual void setup(unsigned start_primary, unsigned nprimary=1) Perform an eigenanalysis and set up the generalized chi squared. Definition: CompareWith.C:626 virtual void compute(unsigned iprimary, ndArray< 2, double > &result)=0 Compute the comparison summary for primary dimension. const float * get_amps() const Return a pointer to the amplitudes array. Definition: ProfileAmps.C:141 void(HasArchive::* primary)(Index) Pointer to the method used to loop over the primary dimension. Definition: CompareWith.h:39 ScrunchFactor bscrunch_factor Compute covariance matrix from bscrunched clone of data. Definition: CompareWith.h:80 void set_amps(const T *data) set the amplitudes array equal to the contents of the data array Definition: ProfileAmps.h:89 const ScrunchFactor get_bscrunch() const Get the phase bin scrunch factor. Definition: CompareWith.h:119 void check() Check that necessary attributes have been set. Definition: CompareWith.C:131 void compute_mean(unsigned start_primary, unsigned nprimary) Compute the mean of the profiles to be compared. Definition: CompareWith.C:943 unsigned get_nbin() const Return the number of bins. Definition: ProfileAmps.h:50 Manages a combined scrunch factor or target dimension. Definition: ScrunchFactor.h:25 virtual Profile * clone() const returns a pointer to a new copy of self Definition: Profile.C:124 Reference::To< Profile > temp After call to get_residual, also stores residual profile amplitudes. Definition: CompareWith.h:90 bool model_residual Compute the covariance matrix of the best-fit residual. Definition: CompareWith.h:51 bool is_setup Set true when setup has completed during set_setup_data. Definition: CompareWith.h:64 BinaryStatistics::ChiSquared chi Used to compute the residual. Definition: CompareWith.h:93 bool transpose Transpose indeces when computing results. Definition: CompareWith.h:55 double get(const std::vector< double > &, const std::vector< double > &) const std::vector< double > & get_residual() const void set_bscrunch(const ScrunchFactor &f) Compute covariance matrix from bscrunched clone of data. Definition: CompareWith.h:116 void set_compute_mask(const std::vector< bool > &flags) Flags for subset of primary axis to be computed. Definition: CompareWith.h:132 std::vector< bool > compute_mask Flags for subset of sub-integrations to be computed. Definition: CompareWith.h:99 Reference::To< BinaryStatistic > statistic Used to perform comparison. Definition: CompareWith.h:33 bool get_setup() Return true if call to set_setup_data sets anything up. Definition: CompareWith.h:123 void(HasArchive::* compare)(Index) Pointer to the method used to loop over the compare dimension. Definition: CompareWith.h:43 bool compare_all Compare over both dimensions. Definition: CompareWith.h:47 void set_file(FILE *f) Set the file to which auxiliary data will be printed. Definition: CompareWith.h:138 void get_residual(std::vector< double > &s, const std::vector< double > &mamps) Set amps to the residual after best fit of amps to mamps. Definition: CompareWith.C:230 FILE * fptr File to which auxiliary data will be printed. Definition: CompareWith.h:103 void get_amps(std::vector< double > &s, const Profile *profile) Set amps to the normalized and bscrunched profile amplitudes. Definition: CompareWith.C:189 void set_setup_data(const Archive *) Use to compute the covariance matrix before an fscrunch or tscrunch. Definition: CompareWith.C:83 Generated using doxygen 1.8.17
|