Hello,
I am trying to concatenate several recordings from the same day into a single file for spike sorting. When I sort the .dat files individually I get good units similar to what I see in the raw data, however my sorted concatenated data does not give me good units at all.
To concatenate, I am using matlab fread and fwrite to linearly concatenate the int16 files, and the output in kilosort looks reasonable, with the file being the correct size. Are there any other processing steps I should take? I've noticed that the spectra of the AP file (neuropixel, using pspectrum) does not seem to fall off below 300 hz as I would expect, if that is relevant information.
Thanks