generated from AllenNeuralDynamics/aind-capsule-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
LFP subsampling #2
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
d980488
add lfp subsampling
arjunsridhar12345 44f09d1
minor lfp subsampling updates
arjunsridhar12345 3ddee39
remove redundant high pass filter
arjunsridhar12345 15e59b0
use defined functions from class
arjunsridhar12345 57eb1c0
LFP Subsampling Updates #2
arjunsridhar12345 d66d688
remove redundant assertions - LFP Subsampling #2
arjunsridhar12345 60bdcf0
Fix argparser
alejoe91 5bdeaf6
Fix CMR reference ids
alejoe91 9de09d5
Update package versions
alejoe91 8b34ca4
Update environment/postInstall
alejoe91 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@arjunsridhar12345 not sure this is correct. If I understand correctly, you want to subtract the median of the channnels in agar (from surface_channel_index to the last channel) to the remaining channels, correct?
The current solution will subtract to each channel group (so each channel in your case), the corresponding
reference_channel_id
, so all channels out of the brain will be zeroed out, with no effect on the other channels. Is this the wanted behavior?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.
yes, want to subtract the median of channels from surface index to last to the remaining channels. Then, should the reference be "global" with only ref_channel_ids set? Or what parameters should be passed to get the desired effect?
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.
Mmm I don't think we have that option yet, but we could cook in a workaround if needed.
See this issue: SpikeInterface/spikeinterface#2985
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.
ah ok cool. that seems close, basically just need to subtract the remaining traces from the median of those channels. is there any sort of set traces type functionality or another way you know of?
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.
Not really...I'll think about a smart way to do it! We will probbaly need some custom recording functions
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.
@arjunsridhar12345 fixed in this PR: SpikeInterface/spikeinterface#3139 (and SpikeInterface/spikeinterface#3140)
Until we release, I added a custom installation in the postinstall
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.
ok great, thanks!