-
Notifications
You must be signed in to change notification settings - Fork 9
Add epoch information for unassociated DA channels + display in DB #1783
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
Conversation
84988fc to
85a987d
Compare
|
|
I'm doing a review now so that you can incorporate the feedback when writing the tests: Nice find. c5bfdbd (BSP: BSP_AddTracesForEpochs add support for unassoc DA channel epochs, 2023-06-12) That's is a hodge-podge of changes.
bf7e0c4 (BSP: BSP_AddTracesForEpochs, put trace creation in a loop, 2023-06-12) Both are good. |
b1896b1 to
25ae947
Compare
25ae947 to
5a5e9a6
Compare
|
Very nice! Also the test is succinct and complete! |
|
@MichaelHuth Please rebase and fix the conflict. I'll merge once CI passes. |
5a5e9a6 to
f63d55c
Compare
- replaced all occurences
Preparation for unassoc DA channel support: previously GetLastSetting was called that supports only associated channels, now EP_FetchEpochs is called that relies only on the DA channel. If the displayed channel is an AD channel the DA channel is determined through the headstage relation.
- get also unassoc DA channels from traceInfos - use more generic string for unique name of displayed epoch waves - also consider unassic DA channel traces in LayoutGraph
- SFH_GetSweepsForFormula tried to resolve the DA channel for epoch retrieval always through SFH_GetDAChannel. That function only supports associated channels and it i sonly senseful to call for AD channels or to verify a channelNumber for DA. -> It is now only called to resolve AD to DA channels.
- checks if data and epochs operation retrievel data refered by epoch short names correctly from unassociated DA channels
- shorter code
- according to coding conventions and nesting order
f63d55c to
5564138
Compare
Checked:
close #1765