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

An API for accessing pulsar pulse profiles. More...

#include <cheetah/generators/pulse_profile/ProfileManager.h>

Collaboration diagram for ska::cheetah::generators::ProfileManager:
Collaboration graph

Public Types

typedef boost::units::quantity< data::MilliSeconds, double > PeriodUnitType
 

Public Member Functions

PulsarProfile profile (PulsarProfileId const &) const
 return a profile of a known pulsar
 
PulsarProfile profile (PulsarProfileConfig const &)
 
void add (PulsarProfileId id, PulsarProfile profile)
 return the list of known pulsar profiles std::list<PulsarProfileId> const& profile_list() const; More...
 

Detailed Description

An API for accessing pulsar pulse profiles.

Definition at line 46 of file ProfileManager.h.

Member Function Documentation

◆ add()

void ska::cheetah::generators::ProfileManager::add ( PulsarProfileId  id,
PulsarProfile  profile 
)

return the list of known pulsar profiles std::list<PulsarProfileId> const& profile_list() const;

add a profile to the mamanger

Definition at line 45 of file ProfileManager.cpp.

46 {
47  _profiles.insert(std::make_pair(id, profile));
48 }
PulsarProfile profile(PulsarProfileId const &) const
return a profile of a known pulsar

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