Skip to content

How should pynwb support complex dtypes? #2083

@pauladkisson

Description

@pauladkisson

Problem Description:
When processing time series data containing complex values (real and imaginary parts), Neurosift visualization failed (see flatironinstitute/neurosift#219). However, PyNWB successfully wrote the data, passed validation checks, and the NWB inspector showed no errors.

Technical Details:

Time series data contained complex data type (np.complex128)
PyNWB wrote, validated, and inspected the data without errors
Neurosift visualization engine failed when encountering the complex values

Decision Needed:
Should PyNWB:

Add official support of complex data types (np.complex128), or
Modify validation to throw an error when complex data types are detected?

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: bugerrors in the code or code behaviorcategory: questionquestions about code or code behaviorpriority: lowalternative solution already working and/or relevant to only specific user(s)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions