-
Notifications
You must be signed in to change notification settings - Fork 4
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
Combine peakdet.Physio and phys2bids.BlueprintOutput into new base class #1
Comments
Elements worth retaining in combined class:
|
@smoia is it critical that this new base class support multiple time series or can it be modality-specific? |
Other desiderata:
|
@tsalo what do you mean by modality specific? For other desiderata:
|
It definitely makes the denoising functions simpler to just split by channel/modality, but it makes the I/O steps simpler to keep them together. I wanted to check with you about it before committing to one method or the other. |
Ooooh I see what you mean now. Denoising is simpler in single instances though, you're right. One possibility is that we actually don't touch peakdet - it's working and doing what it should be doing. |
The more I work on it, the more I think keeping them separate might be the way to go. Here's what I'm thinking:
|
Another possible reformulation that makes the differences more explicit:
EDIT: I just noticed physiopy/prep4phys#19, so maybe it would be worth it to pursue multi-channel support in the peakdet object? Alternatively, we could just allow multiple arguments to the plotting/editing functions. |
I like this reformulation - definitely makes things clearer outside of the scopes of phys2bids!
We also need to decide what roles I'd like to discuss this issue with the other devs too. @physiopy/all, please have a look at this issue and parts of code referenced here for the meeting! |
Another thing we might want to discuss is if we want to adopt |
Create a new
physiopy
base class for physio data with the strengths of bothphys2bids.BlueprintOutput
andpeakdet.Physio
.The text was updated successfully, but these errors were encountered: