Giter Club home page Giter Club logo

Comments (4)

cjthomas-opensource avatar cjthomas-opensource commented on July 22, 2024

A screenshot of the signal chain is attached. This is a partial mockup of a closed-loop setup. I'm loading previously-saved experiment data, splitting off one fork for LFP visualization, and running the other fork through the TNE Lab's phase calculator plugin. I'm then running two instances of a modified version of the TNE Lab's crossing detector plugin to identify power excursions and target phases, and am using my conditional trigger logic plugin to generate TTL events from that. These get saved and also sent to a visualizer.

The metadata issue is happening when I read the saved data into a script intended to evaluate this setup's performance/accuracy. The events themselves are read without trouble; it's just complaining about not being able to read the metadata file.
20230120-closed-loop-mockup

from analysis-tools.

medengineer avatar medengineer commented on July 22, 2024

The npy-matlab library doesn't support npy files with structured array data, which the CrossingDetector events metadata file contains. We’ll have to add a custom parser to handle this case.

from analysis-tools.

cjthomas-opensource avatar cjthomas-opensource commented on July 22, 2024

As an interim mitigation approach, I submitted a pull request for "analysis-tools" that calls Matlab's "warning" instead of using "fprintf" directly. This makes it trivial for users like me to turn off the warning text if desired (per above the data itself is read without trouble).

from analysis-tools.

cjthomas-opensource avatar cjthomas-opensource commented on July 22, 2024

Thanks for the merge!

This resolves the issue on my side. It's up to you and the TNE Lab people to decide whether any further action is needed/desired for load_open_ephys_binary.m or for the crossing detector (such as having it save metadata in a format that npy-matlab can read).

from analysis-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.