Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
peloton committed Dec 15, 2017
1 parent 8af164a commit 64adbd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s4cmb/tod.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,12 +1359,12 @@ def simulate_noise_one_detector(self, ch):
Examples
----------
>>> cn = CorrNoiseGenerator(3000., 2, 17000,
... array_noise_seed=493875, f0=0.1, amp_atm=1e2,
... array_noise_seed=493875, nclouds=1, f0=0.5, amp_atm=1.,
... corrlength=300, alpha=-4, sampling_freq=8.)
>>> ts = cn.simulate_noise_one_detector(0)
>>> print(ts) #doctest: +NORMALIZE_WHITESPACE
[-1965.48984891 5478.44601492 -5063.8165725 ...,
-5459.97704923 -3104.99013165 -5108.82546294]
[ -7536.5882971 -224.58319073 -10795.19644268 ...,
-5528.66256308 -3161.93996673 -5174.84161989]
"""
## White noise part
state = np.random.RandomState(self.noise_seeds[ch])
Expand Down

0 comments on commit 64adbd7

Please sign in to comment.