bunch of improvements
This commit is contained in:
@@ -32,3 +32,4 @@ def test_chirp():
|
||||
c2 = np.unwrap(np.angle(f2))
|
||||
c2 -= c2.min()
|
||||
assert pytest.approx(c2, rel=1e-2, abs=1e-4) == t2**2
|
||||
assert pytest.approx(sc.abs2(f2)) == 16 ** (-((t2 / np.sqrt(2 * np.log(2))) ** 2))
|
||||
|
||||
Reference in New Issue
Block a user