From 62f7557399346cf0db664a12d69d7700182f47d2 Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Thu, 28 Sep 2023 16:09:31 -0500 Subject: [PATCH] remove gitignore --- src/pint/simulation.py | 2 +- tests/.gitignore | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 tests/.gitignore diff --git a/src/pint/simulation.py b/src/pint/simulation.py index e57bd50b0..92a9c71d1 100644 --- a/src/pint/simulation.py +++ b/src/pint/simulation.py @@ -162,7 +162,7 @@ def make_fake_toas(ts, model, add_noise=False, add_correlated_noise=False, name= if add_correlated_noise: U = model.noise_model_designmatrix(tsim) b = model.noise_model_basis_weight(tsim) - corrn = (U @ (b**0.5 * np.random.randn(len(b)))) << u.s + corrn = (U @ (b**0.5 * np.random.normal(size=len(b)))) << u.s tsim.adjust_TOAs(time.TimeDelta(corrn)) if add_noise: diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index f1cf55bf1..000000000 --- a/tests/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.ipynb -chains/*