Skip to content

Should get_traces with return_scaled=True when the base dtype is float. #2871

Open
@h-mayorquin

Description

@h-mayorquin

From the discussion inhttps://github.com//pull/2864

We have the following lines:

https://github.com/h-mayorquin/spikeinterface/blob/bc0cbd9f74f30cfed9376f984091cd57f3634169/src/spikeinterface/core/baserecording.py#L369-L373

But if the original dtype is float64 this will downcast. Maybe we should change the code a little bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreChanges to core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions