Closed ross-folkard closed 3 years ago
@rf13734 I'll check this out! Probably this happens when concatenating 2 recordings with timestamps (like CED ones).
In the meanwhile, this should fix the resample issue: https://github.com/SpikeInterface/spiketoolkit/pull/485
@rf13734 this should be fixed on spikeextractors master: https://github.com/SpikeInterface/spikeextractors/pull/641/commits/a941fb1642faccf9bc4398d03b1b9bf9a5b8fde4
Can you test installing both spikeextractor and spiketoolkit from the official master? both this and the resampling problem shoudl be fixed
@alejoe91 I tried this and now have a new error for self.set_channel_gains during the recording = se.CEDRecordingExtractor(ced_file, smrx_channel_ids=rhd_channels)
@rf13734 spikeextractors is not installed from master. You have to to the clone + uninstall + python setup.py develop trick with this repo: https://github.com/SpikeInterface/spikeextractors
@alejoe91 Ah yes, sorry!
@alejoe91 Thanks, now installed the new spiketoolkit and spikeextractors (I think)
But still getting a 30kHz sampling rate
and for recording_processed too
Yes that's not in master yet. or is it @luiztauffer ??
@alejoe91 ah okay, I'll carry on through the pipeline, but so far so good!! Thanks!
it is ready to come here
@luiztauffer However, when I swap out the file you used for the same file in my computer, I no longer get the corrected sampling frequency.
Apologies, this was posted in the wrong issue
are you sure you're checked out in the PR version?
sorry for all these versioning headaches... they will cease once all changes get merged in their respective repos and we make the releases
are you sure you're checked out in the PR version?
@luiztauffer Ah is this PR version the new version of fix_ced_2?
I'll install this and try it out
Works now! Thanks again!
Hi @luiztauffer @alejoe91 . I am trying to concatenate 2 files and am getting this error message. Might this also be due to the time-offset differences betwen intan and CED?