Skip to content

Commit

Permalink
updated error estimation for calc_spec_poisson
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusSifft committed Dec 4, 2023
1 parent bd4058a commit 77ec288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signalsnap/spectrum_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,7 @@ def calc_spec_poisson(self, n_reps=10,

for i in orders:
self.S[i] = sum([S[i] for S in all_S]) / n_reps
self.S_err[i] = np.sqrt(sum([S_err[i]**2 for S_err in all_S_err])) / n_reps
self.S_err[i] = sum([S_err[i] for S_err in all_S_err]) / n_reps

return self.freq, self.S, self.S_err

Expand Down

0 comments on commit 77ec288

Please sign in to comment.