Add parameter to disable low-frequency component of laser noise
!87 (merged) changed the spectral shape of laser noise, adding a low-frequency component.
The characteristic frequency (parameter fknee in noise-generation function laser()) cannot be modified by the user when configuring the Instrument object. We might want to offer a way to change this frequency, or disable the low-frequency altogether (maybe using a sentinel value for fknee?).
As a first proposal, I would suggest
- to add a parameter
laser_fkneesonInstrument - this would be a usual scalar value, or MOSA dictionary of characteristic frequencies in Hz that we pass to the noise generation function
- if this is
None, we disable the low-frequency part (i.e., we returnreturn white(fs, size, asd)instead of the fullreturn white(fs, size, asd) + infrared(fs, size, asd * fknee**2))