Skip to content

Commit

Permalink
fix: sample variance should decrease with the number of fields
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielaBreitman committed Feb 21, 2025
1 parent d863805 commit 1903932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py21cmsense/sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def calculate_sensitivity_2d(
if sample:
total_std = sample_std = 1 / np.sqrt(
self._nsamples_2d["sample"][k_perp][mask]
* (self.observation.time_per_day / self.observation.beam_crossing_time).to("")
* (self.observation.time_per_day / self.observation.lst_bin_size).to("")
)
if thermal and sample:
total_std = thermal_std + sample_std
Expand Down

0 comments on commit 1903932

Please sign in to comment.