diff --git a/flamedisx/lxe_blocks/raw_signals.py b/flamedisx/lxe_blocks/raw_signals.py index 9e7c4eecd..0ab6ec57d 100644 --- a/flamedisx/lxe_blocks/raw_signals.py +++ b/flamedisx/lxe_blocks/raw_signals.py @@ -30,7 +30,7 @@ def _simulate(self, d): if self.quanta_name == 'electron': mean = (d[self.quanta_name + 's_detected'] * self.gimme_numpy(self.quanta_name + '_gain_mean')) - std = (d[self.quanta_name + 's_detected']**0.5 + std = (d[self.quanta_name + 's_detected']**0.5 * self.gimme_numpy(self.quanta_name + '_gain_std')) alfa = (mean/(std + 1e-10))**2 beta = mean/(std + 1e-10)**2