-
Notifications
You must be signed in to change notification settings - Fork 9
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
SweepFormula/psxKernel: Various fixes #2023
Merged
t-b
merged 31 commits into
main
from
bugfix/2023-ignore-too-large-decay-Tau-in-psx-kernel
Dec 20, 2024
Merged
SweepFormula/psxKernel: Various fixes #2023
t-b
merged 31 commits into
main
from
bugfix/2023-ignore-too-large-decay-Tau-in-psx-kernel
Dec 20, 2024
Conversation
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
718e3ac
to
108f961
Compare
108f961
to
ed6c2fb
Compare
ed6c2fb
to
56305c1
Compare
56305c1
to
475065e
Compare
475065e
to
ffeff20
Compare
ffeff20
to
ffe3676
Compare
This comment was marked as outdated.
This comment was marked as outdated.
ffe3676
to
7637e16
Compare
14 tasks
This comment was marked as outdated.
This comment was marked as outdated.
We can be called from PSX_PlotInteractionHook where we don't know if the passed index is valid. Let's do nothing if the index is out of range.
In dc9ed87 (SF_PreparePlotter: Don't kill and recreate the main panel for SF_DM_SUBWINDOWS, 2024-06-19) we switched from killing the sweepformula plot to clearing it. But we forgot to remove additional controls and draw elements added by e.g. PSX. And now we also have to explicitly remove TraceUserData (TUD) as these are not cleaned up automatically anymore, as killing an embedded subwindow does not trigger the main window hook.
Due to the changed window handling in dc9ed87 (SF_PreparePlotter: Don't kill and recreate the main panel for SF_DM_SUBWINDOWS, 2024-06-19) we need to ensure that the host window of the SF panel is active.
This makes it easier to use and is more according to our philosopy that null wave refs should be preferred over empty waves.
1c2e326
to
bee7d70
Compare
We only need index in the else branch and some more spaces are nice.
Using psxPrep requires sweep data from psx. But we used to only return sweep data if we have found events. We now always return sweep data so that psxPrep always works.
We now first offset and then filter. This requires that we also rename all variables, constants and dimension labels. Change requested by Tim Jarsky.
The added reference counting for the sweepbrowser folders in 76cbc80 (AB: Ref count based memory management of loaded DF, 2023-05-10) added a call to BSP_GetFolder with enabled version checking. This resulted in a too old panel dialog when trying to close the panel. Fix it.
This makes closing the panel and reopening it due to an old version message less annoying.
In that way we can warn users which have incompatible panels. Same approach as with other MIES panels.
bee7d70
to
86fbbbf
Compare
86fbbbf
to
affb29e
Compare
affb29e
to
0b81d14
Compare
…ct matches We need to first check for an exact match before we try unique abbreviations.
This overhaul makes it impossible to reuse old data, either from the cache, or the results wave. We do warn the user about that. And as usual don't delete the old data. - Gather new values in psxEvent (e.g. Onset Time, Slew Rate and time, ...) and rename entries like post_minXX, pre_maxXX, rel_peak, etc. - Make the calculation clearer and explicitly document where we use the deconvoluated data and where the offsetted and filtered sweep data - Change how we apply the filtering for the deconvoluted and the sweep data - Make the histogram calculation more robust by using a fixed number of bins - To make the code easier to grasp we now also calculate the rise time as part of the other event properties - The extracted single event range now depends on the tau's of all events from that combination - Introduce more constants for magic numbers - Add more properties to display for psxstats - Rework the offsetting in the all events graph and add an entry for slew rate - Change how we calculate the fit range for the accept average fit - Enforce that the decay tau is larger than the rise tau for psxKernel - Add a third parameter to psxRiseTime - Don't round the peak threshold to three digits as this breaks for very small values
0b81d14
to
9dc4e20
Compare
@timjarsky Ready! |
@timjarsky I've enabled automerge. |
timjarsky
approved these changes
Dec 19, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@timjarsky This has our bugfixes for psxKernel and too large decayTau. I've removed the adaptations for the sweep range extraction as #1990 will fix that in a better way (also for old data).
/Z
witherr = ...
does not make senseClose #2016
Close #2011
Close #1660