Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2022-02-09 15:33:04 +00:00
commit 6f74786b1d
3 changed files with 40 additions and 5 deletions

View file

@ -283,3 +283,11 @@ def test_hankel():
corr.Hankel(2)
corr.Hankel(6, periodic=True)
def test_thin():
c = pe.Corr([pe.pseudo_Obs(i, .1, 'test') for i in range(10)])
c *= pe.cov_Obs(1., .1, '#ren')
thin = c.thin()
thin.fit(lambda a, x: a[0] * x)
c.thin(offset=1)
c.thin(3, offset=1)