Cheetah - SKA - PSS - Prototype Time Domain Search Pipeline
DmTrialsGeneratorUtil.h
1 #ifndef SKA_CHEETAH_DATA_TEST_UTILS_DMTRIALSGENERATORUTIL_H
2 #define SKA_CHEETAH_DATA_TEST_UTILS_DMTRIALSGENERATORUTIL_H
3 
4 #include "cheetah/data/DmTrialsMetadata.h"
5 #include "cheetah/data/DmTrials.h"
6 #include "cheetah/data/Units.h"
7 
8 namespace ska {
9 namespace cheetah {
10 namespace data {
11 namespace test {
12 
13 
14 template <typename DmTrialsType>
16 {
17 
18  public:
19  typedef typename utils::ModifiedJulianClock::time_point TimePoint;
20 
21  public:
24 
25  std::shared_ptr<DmTrialsType> generate(
26  typename DmTrialsType::TimeType sampling_interval_seconds,
27  std::size_t fundamental_sample_count,
28  std::size_t ndms);
29 
30  TimePoint epoch() const;
31  void epoch(TimePoint t);
32 
33  private:
34  TimePoint _epoch;
35 
36 };
37 
38 } // namespace test
39 } // namespace data
40 } // namespace cheetah
41 } // namespace ska
42 
43 #include "cheetah/data/test_utils/detail/DmTrialsGeneratorUtil.cpp"
44 
45 #endif //SKA_CHEETAH_DATA_TEST_UTILS_DMTRIALSGENERATORUTIL_H
Some limits and constants for FLDO.
Definition: Brdz.h:35