mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
Merge branch 'develop' into documentation
This commit is contained in:
commit
6f74786b1d
3 changed files with 40 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue