About sampling rate? #140
Replies: 4 comments
-
Your rate = 1/float(300.0) looks correct if you have input data at 5*60s = 300s intervals. if you have len(phase) = 151200 you will be able to calculate adev for a maximum tau of about (len(phase)/2)*300 = 22680000 s For the taus input-parameter you could also use 'octave' or 'decade' or 'all' (this last one could be slow, with large amounts of input data) as described here: https://allantools.readthedocs.io/en/latest/functions.html#low-level-access-to-the-statistics-functions hope this helps. |
Beta Was this translation helpful? Give feedback.
-
@aewallin Your suggestion is useful, I configure it according to the parameters you said |
Beta Was this translation helpful? Give feedback.
-
I don't know. Can you post a minimal example with your input data, or simulated data, and the results you get. |
Beta Was this translation helpful? Give feedback.
-
@aewallin Thanks,I've got the correct result, 151200 data can't be fed into the calculation all at once, after splitting it into shorter data it works fine. |
Beta Was this translation helpful? Give feedback.
-
How do I set the parameters if I want to enter satellite atomic clock data at 5 minute intervals.
For example this function:
(adev_taus,adev_devs,adev_errs,ns) = allan.adev(phase, rate=rate, taus=my_taus)
I try to input 151200 data but the final output calculation result is much less than this.
What is the role of this logspace:
my_taus = numpy.logspace(1,6,60)
Should I set the rate parameter like
rate = 1/float(300.0)
Beta Was this translation helpful? Give feedback.
All reactions