casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
casacore::ZScoreCalculator Class Reference

This class contains static methods related to z-scores. More...

#include <ZScoreCalculator.h>

Public Member Functions

 ZScoreCalculator ()=delete
 

Static Public Member Functions

static Double getMaxZScore (uInt64 npts)
 compute the maximum expected zscore given the number of points in a sample. More...
 
static uInt64 zscoreToNpts (Double zscore)
 Get the minimum number of points in a Gaussian distribution, such that the probability that the maximum of the distribution having the specified zscore is 0.5. More...
 

Static Private Attributes

static std::map< uInt64, Double_nptsToMaxZScore
 
static std::mutex _mutex
 

Detailed Description

This class contains static methods related to z-scores.

A z-score is the number of standard deviations from the mean in a normal distribution.

Definition at line 44 of file ZScoreCalculator.h.

Constructor & Destructor Documentation

casacore::ZScoreCalculator::ZScoreCalculator ( )
delete

Member Function Documentation

static Double casacore::ZScoreCalculator::getMaxZScore ( uInt64  npts)
static

compute the maximum expected zscore given the number of points in a sample.

static uInt64 casacore::ZScoreCalculator::zscoreToNpts ( Double  zscore)
inlinestatic

Get the minimum number of points in a Gaussian distribution, such that the probability that the maximum of the distribution having the specified zscore is 0.5.

zscore should be non-negative.

Definition at line 56 of file ZScoreCalculator.h.

References casacore::sqrt().

Member Data Documentation

std::mutex casacore::ZScoreCalculator::_mutex
staticprivate

Definition at line 62 of file ZScoreCalculator.h.

std::map<uInt64, Double> casacore::ZScoreCalculator::_nptsToMaxZScore
staticprivate

Definition at line 61 of file ZScoreCalculator.h.


The documentation for this class was generated from the following file: