From df06e9c9478067c6276fd0af1e9ff2d580cda719 Mon Sep 17 00:00:00 2001 From: Zach McKenzie <92116279+zm711@users.noreply.github.com> Date: Tue, 18 Jun 2024 08:54:27 -0400 Subject: [PATCH] NaN -> nan --- src/spikeanalysis/analysis_utils/histogram_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeanalysis/analysis_utils/histogram_functions.py b/src/spikeanalysis/analysis_utils/histogram_functions.py index bda257a..7a315f7 100644 --- a/src/spikeanalysis/analysis_utils/histogram_functions.py +++ b/src/spikeanalysis/analysis_utils/histogram_functions.py @@ -23,7 +23,7 @@ def spike_times_to_bins( def rasterize(time_stamps: np.array) -> tuple[np.array, np.array]: x_out = np.empty((len(time_stamps) * 3)) - x_out[:] = np.NaN + x_out[:] = np.nan x_out[0:-1:3] = time_stamps x_out[1:-1:3] = time_stamps