Skip to content

Commit

Permalink
tukey from scipy.signal.windows and numpy.nan
Browse files Browse the repository at this point in the history
  • Loading branch information
gpiantoni committed Oct 30, 2024
1 parent 05ff777 commit 530a52e
Show file tree
Hide file tree
Showing 17 changed files with 247 additions and 245 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Change Log
==========
Version 7
----------
- **7.12**: tukey from scipy.signal.windows and nan instead of NaN for numpy
- **7.11**: quick fix for Phillips staging import
- **7.10**: re-re-release
- **7.09**: re-release
Expand Down
2 changes: 1 addition & 1 deletion wonambi/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.11
7.12
4 changes: 2 additions & 2 deletions wonambi/datatype.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from logging import getLogger
from pathlib import Path

from numpy import arange, array, empty, ix_, NaN, squeeze, where
from numpy import arange, array, empty, ix_, nan, squeeze, where

lg = getLogger()

Expand Down Expand Up @@ -171,7 +171,7 @@ def __call__(self, trial=None, tolerance=None, **axes):
output_shape.append(n_values)

output[cnt] = empty(output_shape, dtype=self.data[i].dtype)
output[cnt].fill(NaN)
output[cnt].fill(nan)

if all([len(x) > 0 for x in idx_data]):
ix_output = ix_(*idx_output)
Expand Down
Loading

0 comments on commit 530a52e

Please sign in to comment.