mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches

Tools for calculating the variance of the mean of a PSD. More...

Tools for calculating the variance of the mean of a PSD.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file psdVarMean.hpp.

#include <vector>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_errno.h>
#include "../math/func/bessel.hpp"
#include "../math/constants.hpp"
#include "../math/gslInterpolator.hpp"
#include "psdFilter.hpp"

Go to the source code of this file.

Classes

struct  mx::sigproc::psdVarMeanParams< _realT >
 Parameters for calculating the variance of the mean from a numerical PSD. More...
struct  mx::sigproc::psdVarMean< paramsT >
 Calculate the variance of the mean for a process given its PSD. More...

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

template<typename paramsT>
paramsT::realT mx::sigproc::psdVarMeanFunc (typename paramsT::realT k, void *params)
 Integration worker function for psdVarMean::operator().

Function Documentation

◆ psdVarMeanFunc()

template<typename paramsT>
paramsT::realT mx::sigproc::psdVarMeanFunc ( typename paramsT::realT k,
void * params )

Integration worker function for psdVarMean::operator().

Template Parameters
paramsTthe type of the parameter structure. See psdVarMean.
Returns
the value of the integrand at k
Parameters
[in]kthe scaled frequency coordinate
[in]paramspointer to the parameter structure

Definition at line 137 of file psdVarMean.hpp.

References mx::math::func::bessel_j(), and mx::math::two_pi().