Feature #2425

Reflectometry plots: use bisection to get steep minima right

Added by wuttke 7 months ago. Updated 12 days ago.

Status:NewStart date:29 Nov 2019
Priority:NormalDue date:
Assignee:-% 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 12 days ago

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

Also available in: Atom PDF