|
Use these methods to perform the division of time.
|
MJD | start_time |
| The start time from which to begin dividing time.
|
|
Pulsar::Phase | start_phase |
| The corresponding phase at which to begin dividing time.
|
|
double | division_seconds = 0 |
| Number of seconds in each division.
|
|
MJD | reference_epoch |
| Reference epoch at start of the first division.
|
|
double | division_turns = 0 |
| Number of turns in each division.
|
|
double | reference_phase = 0 |
| The reference phase.
|
|
bool | fractional_pulses = false |
| Include the fractional pulses at the start and end of data.
|
|
bool | integer_division_seconds_boundaries = true |
| Round division boundaries to integer numbers of division_seconds.
|
|
double | period = 0 |
| The period used to determine pulse phase.
|
|
Reference::To< const Pulsar::Predictor > | poly |
| The Pulsar::Predictor used to determine pulse phase.
|
|
void | set_bounds (const Observation *) |
| Calculate the boundaries of the current division.
|
|
void | discard_bounds (const Observation *) |
| Call this method if, after calling set_bounds, the data were not used.
|
|
bool | get_is_valid () const |
| Return true if the last bound Observation covers the current division.
|
|
bool | get_new_division () const |
| Return true if the last bound Observation covers a new division.
|
|
bool | get_in_next () const |
| Return true if the last bound Observation covers the next division.
|
|
bool | get_end_reached () const |
| Return true if the end of the current division has been reached.
|
|
uint64_t | get_idat_start () const |
| Get the first time sample from observation in the current division.
|
|
uint64_t | get_ndat () const |
| Get the number of time samples from observation in the current division.
|
|
uint64_t | get_division_ndat () const |
| Get the total number of time samples in the current division.
|
|
unsigned | get_phase_bin () const |
| Get the phase bin of the current division (turns < 1)
|
|
uint64_t | get_division () const |
| Get the current division.
|
|
uint64_t | get_division (const MJD &epoch) |
| Get the division associated with the specified epoch.
|
|
void | set_boundaries (const MJD &time) |
| Calculates the boundaries of the sub-integration containing time.
|
|
void | set_boundaries (const MJD &mjd1, const MJD &mjd2) |
| If observation is set, round boundaries to integer samples.
|
|