Skip to content

Commit

Permalink
Correct the sampling of coincident switch-on on peak
Browse files Browse the repository at this point in the history
Related to #99
  • Loading branch information
Bachibouzouk committed Jun 3, 2024
1 parent 7f33a16 commit 9d28c32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramp/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1824,7 +1824,7 @@ def calc_coincident_switch_on(self, inside_peak_window: bool = True):
1,
math.ceil(
random.gauss(
mu=(self.number * mu_peak + 0.5),
mu=(self.number * mu_peak),
sigma=(s_peak * self.number * mu_peak),
)
),
Expand Down

0 comments on commit 9d28c32

Please sign in to comment.