Comments (4)
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.
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.
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.
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)
- allow for more than 4 electrodes in spikewave plot
- cluster labels disappear after manual sorting and some other actions
- SpikeBrowser is unbrowsable when changed 'show_cells' property HOT 1
- jerky motions of the legend plot when moused over
- deprecated matplotlib function warning when manual sorting HOT 1
- ClusterAnalyzer.delete_cells() fails, if called before self.labels is requested HOT 3
- making FilterStack even more general HOT 2
- add `use_features` property to PlotFeatures HOT 4
- convert `FeatureExtractor.feature_methods` from `list` to `dict` HOT 3
- add SpikeSort to PyPI HOT 1
- Integrate with Travis CI HOT 3
- SpikeSort Coding sprint
- Support for optional components HOT 1
- SpikeBrowser: single-electrode data goes out of range while rescaling HOT 2
- overlapping feature names in feature_plot
- possible matplotlib memory leaks
- type consistency in spike_features datastructure
- signature is not preserved for fet* functions
- nxutils HOT 2
- Tutorial file not available HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spikesort.