Merge branch 'dev' of /Users/gauste/Nextcloud/PhD/Lab/Git Remotes/scgenerator into dev
This commit is contained in:
@@ -565,7 +565,7 @@ def pulse_envelope(
|
|||||||
elif shape == "sech":
|
elif shape == "sech":
|
||||||
return sech_pulse(t, t0, peak_power)
|
return sech_pulse(t, t0, peak_power)
|
||||||
else:
|
else:
|
||||||
raise ValueError(f"shape {shape} not recognized")
|
raise ValueError(f"shape {shape!r} not recognized")
|
||||||
|
|
||||||
|
|
||||||
def photon_number(spec2: np.ndarray, w: np.ndarray, dw: float, gamma: float) -> float:
|
def photon_number(spec2: np.ndarray, w: np.ndarray, dw: float, gamma: float) -> float:
|
||||||
|
|||||||
Reference in New Issue
Block a user