Comments (4)
Another option here is to make the input data file type be an NPY file
rather than flat binary. This file type contains a tiny header which
specifies the data size and type. It can be memory mapped and "fread" (by
just skipping the header first). I believe an existing data file can be
converted to NPY by concatenating a file of the header with the data file;
I need to test this more.
So that option is nicer because it is self-contained - if we want to go
that way it would be best to do it in coordination with Cyrille and phy so
you can use the same raw data file for both. Simply using the same
params.py file that phy uses is definitely the simpler option.
On Thu, Apr 28, 2016 at 12:33 PM, petersaj [email protected] wrote:
Marius' note:
It needs to know how many total channels there are so it loads them
correctly from the bin file. In the past I left this as a user-defined
option because there were cases where we ran it without a prb file.... But
I think these days the prb file is a requirement for loading into Phy, so
it needs to be made for any type of probe anyway. So I should really just
determine the number of channels from the prb file.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#11
from kilosort.
Thanks Nick, but just making the NPY file out of a binary might take a significant amount of time. On top of that, memory mapping in matlab works significantly worse than just reading a flat binary file, I have noticed recently.
from kilosort.
In linux the concatenation is immediate. But I'm struggling to get it to
work on windows, so we can forget it for now.
Fwiw, you can of course still just read the npy file with fread in matlab,
you just have to skip the header (usually 80 bytes) first.
On Thu, Apr 28, 2016 at 1:04 PM, marius10p [email protected] wrote:
Thanks Nick, but just making the NPY file out of a binary might take a
significant amount of time. On top of that, memory mapping in matlab works
significantly worse than just reading a flat binary file, I have noticed
recently.—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#11 (comment)
from kilosort.
The number of active and total channels is now read from the channel map file, unless already specified in ops. Same goes for sampling frequency.
from kilosort.
Related Issues (20)
- saving results to phy not working: "Error using - Invalid type of input arguments (should be uint64)" HOT 1
- Weird output from Kilosort 2
- Overwriting ops.spkTh during mainLoop HOT 1
- GUI bug
- Extracting cluster:time:channel:waveform without Phy
- Peak activity and template appear on different channels
- Trying to use just 8 channels, but same errors occur
- Preprocessing issues, change in data length and scaling
- Cant open one recording in Phy HOT 1
- Error with writeNPY HOT 1
- Spike Width HOT 1
- EIG did not converge HOT 3
- Dual Recordings Channel Map
- cluster waveform after manual sorting
- Warning: Error making figure was: Argument must be a Figure object or a positive integer. HOT 1
- Explanation of ops
- Fails after processing 1 batch
- Is ops.criterionNoiseChannels actually used anywhere in KS3? HOT 1
- kilosort version for unknown geometry
- waveforms
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 kilosort.