Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
|
Single Pulse Search top level interface. More...
#include <cheetah/sps/Sps.h>
Public Types | |
typedef data::TimeFrequency< Cpu, NumericalT > | TimeFrequencyType |
typedef CommonTraits::DmTrialsType | DmTrialType |
typedef CommonTraits::SpType | SpType |
typedef CommonTraits::BufferFillerType | BufferFillerType |
typedef std::function< void(std::shared_ptr< DmTrialType >)> | DmHandler |
typedef std::function< void(std::shared_ptr< SpType >)> | SpHandler |
Public Member Functions | |
Sps (ConfigType const &, DmHandler dm_handler, SpHandler sm_handler) | |
Constructor takes two Handlers. More... | |
void | operator() (TimeFrequencyType &) |
Call to activate the Dedispersion and Single Pulse Search. More... | |
void | operator() (data::RfimFlaggedData< TimeFrequencyType > &) |
template<typename T > | |
void | operator() (std::shared_ptr< T > const &) |
Single Pulse Search top level interface.
ska::cheetah::sps::Sps< ConfigType, NumericalRep >::Sps | ( | ConfigType const & | config, |
DmHandler | dm_handler, | ||
SpHandler | sm_handler | ||
) |
Constructor takes two Handlers.
DmHandler | A functor to be called with the DmTime data product |
SpHandler | A functor to be called with the Sps results |
void ska::cheetah::sps::Sps< ConfigType, NumericalRep >::operator() | ( | TimeFrequencyType & | data | ) |
Call to activate the Dedispersion and Single Pulse Search.
Takes the next block of TimeFrequency data and returns immediately. When enough data is buffered it will launch an async task calling the handlers when done.