casacore
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
RMSMeasurement Class Reference

#include <timeblockencoder.h>

Public Member Functions

 RMSMeasurement ()
 
void Include (const std::complex< double > &val)
 
double RMS () const
 

Static Private Member Functions

static bool isfinite (const std::complex< double > &val)
 

Private Attributes

size_t _count
 
double _value
 

Detailed Description

Definition at line 12 of file timeblockencoder.h.

Constructor & Destructor Documentation

◆ RMSMeasurement()

RMSMeasurement::RMSMeasurement ( )
inline

Definition at line 14 of file timeblockencoder.h.

Member Function Documentation

◆ Include()

void RMSMeasurement::Include ( const std::complex< double > &  val)
inline

Definition at line 16 of file timeblockencoder.h.

References _count, _value, and isfinite().

◆ isfinite()

static bool RMSMeasurement::isfinite ( const std::complex< double > &  val)
inlinestaticprivate

Definition at line 26 of file timeblockencoder.h.

References casacore::arrays_internal::isfinite().

Referenced by Include().

◆ RMS()

double RMSMeasurement::RMS ( ) const
inline

Definition at line 23 of file timeblockencoder.h.

References _count, _value, and casacore::sqrt().

Member Data Documentation

◆ _count

size_t RMSMeasurement::_count
private

Definition at line 30 of file timeblockencoder.h.

Referenced by Include(), and RMS().

◆ _value

double RMSMeasurement::_value
private

Definition at line 31 of file timeblockencoder.h.

Referenced by Include(), and RMS().


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