Skip to content
Snippets Groups Projects

Resolve "Add parameter to disable low-frequency component of laser noise"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -160,7 +160,7 @@ def laser(fs, size, asd=30, fknee=2E-3, shape='white+infrared'):
if shape == 'white':
return white(fs, size, asd)
elif shape == 'white+infrared':
if shape == 'white+infrared':
return white(fs, size, asd) + infrared(fs, size, asd * fknee**2)
raise ValueError(f"invalid laser noise spectral shape '{shape}'")
Loading