pint.utils.dmx_ranges_old
- pint.utils.dmx_ranges_old(toas, divide_freq=<Quantity 1000. MHz>, offset=<Quantity 0.01 d>, max_diff=<Quantity 15. d>, verbose=False)[source]
Compute initial DMX ranges for a set of TOAs
This is a rudimentary translation of $TEMPO/utils/dmx_ranges/DMX_ranges2.py
- 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