diff --git a/src/vampires_dpp/image_processing.py b/src/vampires_dpp/image_processing.py index e1ca05b..251f468 100644 --- a/src/vampires_dpp/image_processing.py +++ b/src/vampires_dpp/image_processing.py @@ -204,7 +204,7 @@ def collapse_cube( # suppress all-nan axis warnings with warnings.catch_warnings(): warnings.simplefilter("ignore") - frame = bn.nanmedian(cube, axis=0, overwrite_input=True) + frame = bn.nanmedian(cube, axis=0) case "mean": # suppress all-nan axis warnings with warnings.catch_warnings():