From 8f975b84f5904278a59bed141c0bf7606f47e6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Sierro?= Date: Tue, 8 Aug 2023 10:59:16 +0200 Subject: [PATCH] misc --- src/scgenerator/physics/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scgenerator/physics/units.py b/src/scgenerator/physics/units.py index 7a13bb8..c4424ac 100644 --- a/src/scgenerator/physics/units.py +++ b/src/scgenerator/physics/units.py @@ -346,7 +346,7 @@ def to_WL(spectrum: np.ndarray, lambda_: np.ndarray) -> np.ndarray: Parameters ---------- - spectrum : np.ndarray, shape (n, ) + spectrum : np.ndarray, shape (..., n) intensity spectrum lambda_ : np.ndarray, shape (n, ) wavelength in m