pint.utils.dmx_ranges
- pint.utils.dmx_ranges(toas, divide_freq=<Quantity 1000. MHz>, binwidth=<Quantity 15. d>, verbose=False)[source]
Compute initial DMX ranges for a set of TOAs
This is an alternative algorithm for computing DMX ranges
- Parameters:
divide_freq (Quantity, MHz) – Requires TOAs above and below this freq for a good DMX range
offset (Quantity, days) – The buffer to include around each DMX range. Warning, may cause bins to overlap?!?
max_diff (Quantity, days) – Maximum duration of a DMX bin
verbose (bool) – If True, print out verbose information about the DMX ranges including par file lines.
- Returns:
mask (bool array) – Array with True for all TOAs that got assigned to a DMX bin
component (TimingModel.Component object) – A DMX Component class with the DMX ranges included