Public Member Functions | Static Public Member Functions | List of all members
UCorrelator::TimeDependentAverageLoader Class Reference

Public Member Functions

 TimeDependentAverageLoader (const char *dir=0, int nsecs=10)
 
const TimeDependentAverageavg (double t) const
 
void setNSecs (int n)
 
int getNsecs () const
 

Static Public Member Functions

static double getRMS (double t, int ipol, int ant, int nsecs=10)
 
static double getPayloadBlastFraction (double t, int nsecs=10)
 

Detailed Description

Definition at line 111 of file TimeDependentAverage.h.

Member Function Documentation

double UCorrelator::TimeDependentAverageLoader::getRMS ( double  t,
int  ipol,
int  ant,
int  nsecs = 10 
)
static

Static member functions, use a time dependent average loader with the environmental variable in the background.

Note that using this for lots of different times will quickly use up a ton of memory.

These are thread safe, but if you change nsecs in between cals, it will be very inefficient.

Definition at line 762 of file TimeDependentAverage.cc.


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