Nick Steinmetz

Results 105 comments of Nick Steinmetz

You can't write an NPY file incrementally unless you know the final size ahead of time, because the array shape goes in the header (and there's no way to pre-pend...

If you wrote to binary, then at the end incrementally loaded and wrote to a new NPY, wouldn't the NPY at the end be the same as the one you'd...

To manually cut, in matlab: ``` % read in the data fid = fopen(filename, 'r'); dat = fread(fid, [nChansTotal Inf], '*int16'); % only if you can fit all of your...

The big vertical lines on the waveform view suggest that you have some very large-amplitude artifacts. You might try detecting these with a simple threshold and then removing that part...

No, I don't have a method for this - I always run common average referencing before sorting, which I guess must be removing any such artifacts that I have. I...

Yes, I use this function: https://github.com/cortex-lab/spikes/blob/master/preprocessing/applyCARtoDat.m No, I haven't tried median filtering... On Sat, Mar 10, 2018 at 6:06 AM, Brendon Watson wrote: > Ah i see. That's a good...

I think by "median filtering" people sometimes mean like what matlab's "medfilt1" does - where it takes a running window and replaces each point with the median of the values...

CAR is automatically applied by kilosort! No need for you to take any special step. It will exclude any channels you've labeled as bad before doing the CAR. On Thu,...

Hi, you need to provide kilosort with the raw recorded continuous traces. It will find the spike shapes and spike times. It should be possible to visualize in other software,...

Hm, I'm not sure where it has gotten lost. You're right that temp_wh.dat should have whitened data. I'm not sure ops.initialize will help but you could try it. Maybe also...