Skip to content
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

✨ Scaling according to contribution #33

Open
s-weigand opened this issue Sep 23, 2021 · 0 comments
Open

✨ Scaling according to contribution #33

s-weigand opened this issue Sep 23, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@s-weigand
Copy link
Member

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_vector and 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_vector and scale with sqrt of that value)

Additional context

Requested by @ism200

@s-weigand s-weigand added the enhancement New feature or request label Sep 23, 2021
@s-weigand s-weigand self-assigned this Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant