-
Notifications
You must be signed in to change notification settings - Fork 5
✨ Scaling according to contribution #33
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Products of two functions one in time and the other in the spectral domain, with widely differing magnitudes are hard to compare in plots.
Thus they need to be scaled according to their relative contributions to the fit.
Describe the solution you'd like
- Compute the absolute maximum along the time axis (
c_max) - Compute the absolute maximum along the spectral axis (
e_max). - Compute the product per contribution (
scale_vector=c_max*e_max). - Find the component with the maximum value in
scale_vectorand normalize this component to 1 on the 2 plots (c, e). - For every other component scale it with the square root of its contribution (e.g. for the 2nd element find 2nd max in
scale_vectorand scale withsqrtof that value)
Additional context
Requested by @ism200
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request