Feature #2425

Core: add function interpolator, to get steep minima in x-y plots right

Added by wuttke 12 months ago. Updated 2 months ago.

Status:BacklogStart date:29 Nov 2019
Priority:NormalDue date:
Assignee:wuttke% Done:

0%

Category:-
Target version:-

Description

Currently, plots of log(reflected intensity) vs alpha_i are inaccurate when there are deep and steep minima. Obviously because the reflected intensity is only computed for preset equidistant values of alpha_i.

To solve this problem, we need to detect sudden changes in slope, and insert additional data points. This can be done by bisectioning. We also need to detect when the graph leaves the current plot window (falls below y_min), and when it resurfaces.

All this I have implemented for arbitrary function plotting in Frida; that code could be reused here.

History

#1 Updated by wuttke 5 months ago

  • Subject changed from Reflectometry plots: use bisection get steep minima right to Reflectometry plots: use bisection to get steep minima right

#2 Updated by wuttke 2 months ago

  • Subject changed from Reflectometry plots: use bisection to get steep minima right to Core: add function interpolator, to get steep minima in x-y plots right
  • Status changed from New to Backlog
  • Assignee set to wuttke

Also available in: Atom PDF