Skip to content

Improvement of rawio API and lazy object #895

Description

@samuelgarcia

Here a list of rawio API that should enhanced:

  • for sig channel 'id' is now 'int64' but should be 'U' like other object
  • _get_analogsignal_chunk should deal with both global channel indices and local channel_indices
  • if a list (or array) of channel index is given and this list is continuous and ordered like [2,3,4]
    then create the equivalent slice for instance slice(2,5) to avoid copy when memmap
  • deal with array annotation at rawio level
  • create generic lazy object.
    Actual lazy object than depend on rawio.
    In futur implementation theses lay object would be just a specific case with a sub class.
    This would make possible to implement other lazy objects like:
    • lazy load for nix without the rawio API but with specific lazy object (that link the path into h5)
    • lazy computation filtered_sig = lazy_passband_filter(lazy_sig, f1=300, f2=5000)
  • _get_signal_size and _get_signal_t_start based on group_id
  • in signal channels : group_id rename to stream_id to make it more clear
  • add "local_index" in _signal_channel_dtype
  • rename internally "unit_channels" to "spike_channels" because Unit object do not exists anymore.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions