Skip to content

Commit

Permalink
NaN -> nan
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 authored Jun 18, 2024
1 parent ef711e0 commit df06e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeanalysis/analysis_utils/histogram_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df06e9c

Please sign in to comment.