29 template <
typename Arch,
typename T>
35 template <
typename Arch,
typename T>
36 SpCandidate<Arch,T>::SpCandidate(SpCandidate<Arch,T>::Dm dm, SpCandidate<Arch, T>::MsecTimeType tstart, SpCandidate<Arch, T>::MsecTimeType width, T sigma, std::size_t ident)
46 template <
typename Arch,
typename T>
57 template <
typename Arch,
typename T>
58 SpCandidate<Arch,T>::SpCandidate(SpCandidate<Arch,T>::Dm dm, SpCandidate<Arch, T>::MsecTimeType tstart, SpCandidate<Arch, T>::MsecTimeType width, T sigma, FrequencyType f_low, FrequencyType f_high, std::size_t ident)
65 MsecTimeType delay = (4.15 * 1000000.0 * boost::units::si::milli * boost::units::si::seconds) * ( _dm * ( (1/(f_low * f_low)) - (1/(f_high * f_high)) )).value();
66 this->_tend = _tstart + delay;
69 template <
typename Arch,
typename T>
73 template <
typename Arch,
typename T>
79 template <
typename Arch,
typename T>
82 this->_tstart = c_tstart;
85 template <
typename Arch,
typename T>
91 template <
typename Arch,
typename T>
97 template <
typename Arch,
typename T>
100 this->_tend = _tstart + c_tend;
103 template <
typename Arch,
typename T>
109 MsecTimeType delay = (4.15 * 1000000.0 * boost::units::si::milli * boost::units::si::seconds) * ( _dm * ( (1/(f_low * f_low)) - (1/(f_high * f_high)) )).value();
110 this->_tend = _tstart + delay;
113 template <
typename Arch,
typename T>
120 template <
typename Arch,
typename T>
126 template <
typename Arch,
typename T>
129 this->_width = c_width;
133 template <
typename Arch,
typename T>
139 template <
typename Arch,
typename T>
142 this->_sigma = c_sigma;
145 template <
typename Arch,
typename T>
148 return (this->_ident);
151 template <
typename Arch,
typename T>
154 this->_ident = c_ident;
T const & sigma() const
access a reference to _sigma.
Dm const & dm() const
access a reference to dm.
SpCandidate()
Create a zero-sized SpCandidate.
void dm_with_duration_end(FrequencyType const &f_high, FrequencyType const &f_low, Dm const &dm)
Set the end time : This step is important as the DM will be set along with the end time...
Some limits and constants for FLDO.
MsecTimeType const & tstart() const
Get the start time of the candidate.
std::size_t const & ident() const
access a reference to ident.
MsecTimeType const & width() const
access a reference to width.
void duration_end(MsecTimeType c_tend)
Set the end time The end time is calculated based on the DM of the candidate and the start and end f...
MsecTimeType const & tend() const
Get the end time.
~SpCandidate()
destroy a SpCandidate