Skip to content

Commit ff3bb63

Browse files
committed
Use nan instead of NAN, which is deprecated in NumPy 2 (as is NaN).
1 parent 68580ab commit ff3bb63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

geminidr/core/primitives_nearIR.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,8 +756,8 @@ def cleanFFTReadout(self, adinputs=None, **params):
756756
else:
757757
mask = deepcopy(MSK)
758758

759-
median_collapsed_signal[mask] = np.NAN
760-
mean_collapsed_signa[mask] = np.NAN
759+
median_collapsed_signal[mask] = np.nan
760+
mean_collapsed_signa[mask] = np.nan
761761

762762
## for intra-quad, level to the same value. Note that when there is a strong gradient in the quad, this method will fail
763763
for _ind in np.arange(len(median_collapsed_signal))[mask]:

0 commit comments

Comments
 (0)