GithubHelp home page GithubHelp logo

Comments (4)

cpcloud avatar cpcloud commented on August 20, 2024

Can you give the location in the code where this needs to happen, and maybe a more specific description of what you want done?

from spikesort.

btel avatar btel commented on August 20, 2024

Most datastructures in spike_sort such as spike waveforms, features, spike times are dictionaries with at least one key data. In addition, some can also include extra keys such as is_valid, which allows to mask some of the spikes. However, spike labels are pure numpy dictionaries making it hard to apply a mask and append new attributes.

All clustering functions in spike_sort.core.cluster should return dictionaries. Plotting functions should accept the dictionaries in place of numpy arrays. Finally some commponents should be updated, such as ClusterAnalyser.

Before we do that we should make sure to have an unit tests for each affected function.

from spikesort.

belevtsoff avatar belevtsoff commented on August 20, 2024

Because this will require changing a lot of code (I just "grep"ed the tree: tests, plotting. extracting, and components of course), it will be better to do this in a separate branch and closer to the release date, after we fix the rest of the stuff

from spikesort.

btel avatar btel commented on August 20, 2024

Because this will require changing a lot of code (I just "grep"ed the tree: tests, plotting. extracting, and components of course), it will be better to do this in a separate branch and closer to the release, after we fix the rest of the stuf

Actually, I don't see a point now in doing it now. The intention was to be able to add properties, and for consistency with other data structures (features, spikes etc. are all dictionaries). We might well, switch it to next release.

from spikesort.

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.