Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Opening the binary data  #90

Description

@matinsaba

I want to get the data from specific channels in binary data like the way that open_ephys format lists the channels. Can anyone help me with that ?

Activity

  1. jsiegle commented on Jan 2, 2021

    @jsiegle
    Member

    Are you loading the data in Matlab (load_open_ephys_binary.m) or Python (Python3/Binary.py)? Either way, the data will be loaded as a matrix with dimensions of samples x channels. Selecting one value in the second dimension (e.g. data[:,1] in Python) will return data for a specific channel.

  2. Alkohost commented on Mar 1, 2021

    @Alkohost

    Would be nice to have a Matlab reader with optional loading of the selected channels if a data size is too huge and a memory is not enough. Has anyone solved this problem?

  3. aacuevas commented on Mar 1, 2021

    @aacuevas
    Collaborator

    For big datasets the MATLAB reader has an optional 'mmap' option that loads the file in memory mapped mode. In this mode the file is not loaded to memory in one go, but chunks are loaded and unloaded automatically by MATLAB as needed. In this case, it would be possible to load the data in this mode and just copy the required channels into a different array.

    See help load_open_ephys_binary for more info on this mode.

  4. Alkohost commented on Mar 1, 2021

    @Alkohost

    Thanks, this is a good way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions