diff --git a/webbpsf_ext/webbpsf_ext_core.py b/webbpsf_ext/webbpsf_ext_core.py index 7dd83af..4c5a1ce 100644 --- a/webbpsf_ext/webbpsf_ext_core.py +++ b/webbpsf_ext/webbpsf_ext_core.py @@ -4901,7 +4901,7 @@ def nrc_mask_trans(image_mask, x, y): else: raise NotImplementedError(f"{image_mask} not a valid name for NIRCam wedge occulter") - sigmas = scipy.poly1d(polyfitcoeffs)(scalefact) + sigmas = np.poly1d(polyfitcoeffs)(scalefact) sigmar = sigmas * np.abs(y) # clip sigma: The minimum is to avoid divide by zero