Go to the documentation of this file.
34 int find_bin (
double,
double,
double);
44 int num_bins (
double,
double,
double);
53 bool within (
double,
double,
double);
78 double angsep (
double,
double,
double,
double);
94 double mean (
const std::vector<double> &);
101 double median (std::vector<double>);
108 double variance (
const std::vector<double> &);
116 double stdev (
const std::vector<double> &);
139 double min (
const std::vector<double> &);
146 double max (
const std::vector<double> &);
double variance(const std::vector< double > &)
This method calculates the variance of a vector of doubles.
Definition: astro.cpp:105
double deg2rad(double)
This method converts the input angle from degrees to radians.
Definition: astro.cpp:37
double angsep(double, double, double, double)
This method calculates the angular separation in radians between two points.
Definition: astro.cpp:65
double stdev(const std::vector< double > &)
This method calculates the standard deviation of a vector of doubles.
Definition: astro.cpp:114
Definition: point_class.hpp:18
double stderr_median(const std::vector< double > &)
This method calculates the standard error on the median of a vector of doubles.
Definition: astro.cpp:125
double rad2deg(double)
This method converts the input angle from radians to degrees.
Definition: astro.cpp:42
int num_bins(double, double, double)
This method finds the number of bins in a given range for a given bin size.
Definition: astro.cpp:20
Class containing basic functions required for astronomy.
Definition: astro.hpp:22
bool within(double, double, double)
This method deterimines whether or not a value is within the limits provided.
Definition: astro.cpp:29
double stderr_mean(const std::vector< double > &)
This method calculates the standard error on the mean of a vector of doubles.
Definition: astro.cpp:119
double max(const std::vector< double > &)
This method calculates the maximum value of a vector of doubles.
Definition: astro.cpp:138
double median(std::vector< double >)
This method calculates the median value of a vector of doubles.
Definition: astro.cpp:90
int find_bin(double, double, double)
This method finds a bin corresponding to the input value given the minimum value in range and the bin...
Definition: astro.cpp:9
double mean(const std::vector< double > &)
This method calculates the mean value of a vector of doubles.
Definition: astro.cpp:82
double min(const std::vector< double > &)
This method calculates the minimum value of a vector of doubles.
Definition: astro.cpp:131