Skip to content

Commit

Permalink
Tweak noise levels in azimuth data in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tskisner committed Nov 20, 2024
1 parent e2cb562 commit b65724c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/toast/tests/ops_azimuth_intervals.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def setUp(self):
self.outdir = create_outdir(self.comm, fixture_name)

def create_fake_data(self):
np.random.seed(123456)
# Just one group with all processes
toastcomm = create_comm(self.comm, single_group=True)

Expand Down Expand Up @@ -129,7 +130,7 @@ def create_fake_data(self):
elevation[first_samp : first_samp + n_scan] = el

# Add some noise
scale = 0.0005
scale = 0.00005
azimuth[:] += np.random.normal(loc=0, scale=scale, size=ob.n_local_samples)
elevation[:] += np.random.normal(
loc=0, scale=scale, size=ob.n_local_samples
Expand Down

0 comments on commit b65724c

Please sign in to comment.