spyrit.core.prep.SplitPoisson.set_expe

SplitPoisson.set_expe(gain=1.0, mudark=0.0, sigdark=0.0, nbin=1.0)[source]

Sets experimental parameters of the sensor

Args:
  • gain (float): gain (in count/electron)

  • mudark (float): average dark current (in counts)

  • sigdark (float): standard deviation or dark current (in counts)

  • nbin (float): number of raw bin in each spectral channel (if input x results from the sommation/binning of the raw data)

Example:
>>> split_op.set_expe(gain=1.6)
>>> print(split_op.gain)
1.6