Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
Public Member Functions | Protected Member Functions | List of all members
ska::cheetah::generators::SimplePhaseModelConfig Class Reference

Configuration parameters for the SimplePhase Model. More...

#include <cheetah/generators/SimplePhaseModelConfig.h>

Inheritance diagram for ska::cheetah::generators::SimplePhaseModelConfig:
Inheritance graph
Collaboration diagram for ska::cheetah::generators::SimplePhaseModelConfig:
Collaboration graph

Public Member Functions

SimplePhaseModelConfigoperator= (SimplePhaseModelConfig const &)
 copy the coefficients from one object into another More...
 
std::vector< float > const & coefficients () const
 return the coeffients for the simple phase model More...
 
void coefficients (std::vector< float > coeffs)
 set the coeffients for the simple phase model
 
- Public Member Functions inherited from ska::cheetah::utils::Config
 Config (std::string module_name)
 
void terminate () const
 call for notifiers to indicate a termination condition More...
 

Protected Member Functions

void add_options (OptionsDescriptionEasyInit &add_options) override
 

Additional Inherited Members

- Public Types inherited from ska::cheetah::utils::Config
typedef System SystemType
 
typedef panda::PoolManager< SystemTypePoolManagerType
 
typedef PoolManagerType::PoolType PoolType
 

Detailed Description

Configuration parameters for the SimplePhase Model.

Definition at line 43 of file SimplePhaseModelConfig.h.

Member Function Documentation

◆ coefficients()

std::vector< float > const & ska::cheetah::generators::SimplePhaseModelConfig::coefficients ( ) const

return the coeffients for the simple phase model

the parameter in the equations is the time since epoch in days By default the epoch is MJD 0.0

Definition at line 54 of file SimplePhaseModelConfig.cpp.

55 {
56  return _coeffs;
57 }

◆ operator=()

SimplePhaseModelConfig & ska::cheetah::generators::SimplePhaseModelConfig::operator= ( SimplePhaseModelConfig const &  config)

copy the coefficients from one object into another

n.b not a full copy of the object

Definition at line 37 of file SimplePhaseModelConfig.cpp.

38 {
39  _coeffs = config._coeffs;
40  return *this;
41 }

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