-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Load pca from waveform extractor and waveform from Zarr #2613
Load pca from waveform extractor and waveform from Zarr #2613
Conversation
@samuelgarcia this needs to be squashed and merged! |
with open(params_file, "r") as f: | ||
params = json.load(f) | ||
n_components = params["n_components"] | ||
n_channels = len(rec_attributes["channel_ids"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you check that in the old format it was sparse or not ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even if the old format is sparse, the components are always saved in "full". Sparsity is only used to skip channels during PCA compute and project
src/spikeinterface/core/waveforms_extractor_backwards_compatibility.py
Outdated
Show resolved
Hide resolved
…load-pca-from-waveform-extractor
@samuelgarcia ready to merge |
@samuelgarcia
Implemented the missing pieces for bakward compatibility. Added 2 very small folders (< 1MB) in total. for testing. Ok?