aewallin / allantools

Allan deviation and related time & frequency statistics library in Python
GNU Lesser General Public License v3.0
226 stars 77 forks source link

htotdev is too slow compared to totdev? #129

Closed canvaskan closed 3 years ago

canvaskan commented 3 years ago

I ran the same freq data (array size: 1400), with taus = np.logspace(1, np.log(1e6)/np.log(300),base=300,num=100), rate = 1/3600. Using totdev I got the result almost in a instant, but using htotdev it took minutes, which confused me a lot. Anyway the result of both seems to be right. So I went here for help(explanation). Thank you for developing such a nice toolbox!

canvaskan commented 3 years ago

I looked at the formula and compared with stable32. Now I found htotdev reasonable to be slow.