Repository navigation
Conversation
additionally, integer dtype (as typical recording) is not automatically transformed to float, see https://github.com/SpikeInterface/spikeinterface/blob/b616473c54117d2091b855ad7706e4a7166fea0c/src/spikeinterface/sortingcomponents/motion/motion_interpolation.py#L404
default to "float32" as per documentation
|
Thanks @pas-calc good catch on the docstring. For the conversion it makes sense to me, though it will lead to a potentially subtle change in recording dtype: but I think that's okay, its basically the same for Previously we were moving to automating this anyway see here, here and PR here . I would guess the original intention was to make the user aware the dtype of the recording had changed, but the errors became very annoying. Maybe we should give a warning? If we proceed I think we could drop the auto-convert from |
|
Actually maybe use |
@JoeZiminski I agree we should move the |
Removed dtype parameter from the function signature and adjusted dtype handling for non-floating recordings.
|
a simple change, see commit e9204e8 |
|
@pas-calc can you check and fix failures in tests? There is an undefinded |
dtype will be read from recording
|
Thanks @pas-calc, another error came up! |
additionally, integer dtype (as typical recording) is not automatically transformed to float, see
spikeinterface/src/spikeinterface/sortingcomponents/motion/motion_interpolation.py
Line 404 in b616473
we could use