forked from NeuralEnsemble/elephant
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated zscore for in-place operations (NeuralEnsemble#440)
* Updated zscore to change the units to dimensionless when performing in-place operations, and also to return the original object instead of a new AnalogSignal object pointing to the original array. * Changed to raise ValueError when the in-place operation is not valid. * New AnalogSignal object is created using Neo function. * Updated unit tests to check for same/different objects when doing in-place operation in zscore. * Changed test_zscore_single_inplace_int as the function now raises ValueError. Co-authored-by: Cristiano Köhler <c.koehler@fz-juelich.de>
- Loading branch information
Showing
2 changed files
with
66 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters