Giter VIP home page Giter VIP logo

spikeship's People

Contributors

bsotomayorg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

bilalghori idavr

spikeship's Issues

Some help getting my data in the right format

Hi Boris,

SpikeShip itself is running smooth and fast but getting my spiking data in the right input format for SpikeShip is currently taking very long and I was wondering if you have conversion functions already. The required input format is very unintuitive to me and I'm losing a lot of time in for loops but I can't easily see how to make it faster.

My data is in the format used by the IBL (and I believe Allen as well). It consist of an array 1xN spike_times which contains all the times of N spikes. Then there is a 1xN spike_clusters array which contains the neuron identity of each spike. Then I have a Nx2 events array which contains the start (first column) and stop (second column) times of all my N events.

Do you happen to have a conversion script to go from this data format to the one required by SpikeShip or do you have an idea on how to do this efficiently?

NaNs in diss_spikeship

I'm working on implementing SpikeShip on my data but I often have the issue that after running diss_spikeship = spikeship.distances(ripple_spike_times, ii_spike_times) there are NaNs in diss_spikeship. I've tried setting various minimum criteria (minimum number of neurons/events/spikes etc) which sometimes works, but not always. Under which conditions does the algorithm output a NaN exactly? Then I can make sure to exclude those.
Cheers!

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.