PSRCHIVE
| Ask a Question | Search PSRCHIVE: |
Home
|
PhaseWeight.h float median_diff The median difference of all phase bins with non-zero weight. Definition PhaseWeight.h:185 void set_all(float weight) Set all weights to the specified value. Definition PhaseWeight.C:127 std::string get_end_index() const Get the end of the phase region with non-zero weight. Definition PhaseWeight.C:189 float get_median_difference() const Get the median difference between the median and non-zero amplitudes. Definition PhaseWeight.C:294 Estimate< double > mean The weighted mean of the Profile. Definition PhaseWeight.h:175 Estimate< double > variance The weighted variance of the Profile. Definition PhaseWeight.h:178 const float * get_weights() const Return the base address of the weights array. Definition PhaseWeight.h:151 bool built Flag set when the statistics have been calculated. Definition PhaseWeight.h:172 unsigned get_nonzero_weight_count() const Get the count of all non-zero weights. Definition PhaseWeight.C:155 unsigned get_nbin() const Get the number of weights in the array. Definition PhaseWeight.h:77 double get_weight_sum() const Get the sum of all weights. Definition PhaseWeight.C:147 const PhaseWeight & operator=(const PhaseWeight &weight) Assignment operator. Definition PhaseWeight.C:71 float * get_weights() Return the base address of the weights array. Definition PhaseWeight.h:148 void negate() Set all weights to the logical negation of their current value. Definition PhaseWeight.C:134 double get_weight_max() const Get the max of all weights. Definition PhaseWeight.C:211 double get_frequency() const Get the reference frequency. Definition PhaseWeight.h:80 float get_max() const Get the minimum amplitude with non-zero weight. Definition PhaseWeight.C:220 float get_median() const Get the median amplitude with non-zero weight. Definition PhaseWeight.C:272 void check_weight(unsigned nbin, const char *method) const Check that the size of the weights vector is equal to nbin. Definition PhaseWeight.C:395 std::vector< float > non_zero working space for median computation Definition PhaseWeight.h:189 float get_rms() const Get the weighted rms of the Profile amplitudes. Definition PhaseWeight.C:381 Estimate< double > get_variance() const Get the weighted variance of the Profile amplitudes. Definition PhaseWeight.C:364 float get_min() const Get the minimum amplitude with non-zero weight. Definition PhaseWeight.C:238 void fill_non_zero(const char *method) const fill the non_zero vector Definition PhaseWeight.C:257 void weight_Profile(Profile *profile) const Weight the Profile amplitudes by the weights. Definition PhaseWeight.C:421 void set_Profile(const Profile *profile) const Set the Profile from which statistics are calculated. Definition PhaseWeight.C:316 void set_frequency(double f) Set the reference frequency. Definition PhaseWeight.h:83 double get_weighted_sum() const Get the weighted total of the amplitudes. Definition PhaseWeight.C:329 void get_filtered(std::vector< float > &s, bool equal=false, float wt=0) const Return the filtered amplitudes for which weight != val. Definition PhaseWeight.C:523 float & operator[](unsigned i) Array operator. Definition PhaseWeight.h:62 const PhaseWeight & operator+=(const PhaseWeight &weight) Forms the element-wise sum of this and weight. Definition PhaseWeight.C:88 float median The median of all phase bins with non-zero weight. Definition PhaseWeight.h:181 void resize(unsigned nbin) Resize the weights array. Definition PhaseWeight.h:74 const PhaseWeight & operator*=(const PhaseWeight &weight) Forms the element-wise product of this and weight. Definition PhaseWeight.C:108 std::string get_start_index() const Get the beginning of the phase region with non-zero weight. Definition PhaseWeight.C:166 void build() const Compute the mean and variance attributes. Definition PhaseWeight.C:403 double reference_frequency The reference frequency. Definition PhaseWeight.h:163 void init() Initialize attributes to default values. Definition PhaseWeight.C:18 float get_avg() const Get the weighted average of the Profile amplitudes. Definition PhaseWeight.C:358 void check_Profile(const char *method) const Check that the profile attribute is set. Definition PhaseWeight.C:387 Estimate< double > get_mean() const Get the weighted mean of the Profile amplitudes. Definition PhaseWeight.C:347 Reference::To< const Profile, false > profile The Profile to which the weights apply. Definition PhaseWeight.h:169 void stats(const Profile *profile, double *mean, double *variance=0, double *varmean=0, double *varvar=0) const Get the statistics of the weighted phase bins (deprecated interface) Definition PhaseWeight.C:433 Generated using doxygen 1.14.0
|