Refactoring #2343

Improve performance in reflectometry engine

Added by dmitry 4 months ago.

Status:BacklogStart date:30 Apr 2019
Priority:LowDue date:
Assignee:-% Done:

0%

Category:Reflectometry
Target version:-

Description

Currently it uses backwards computation of reflection/transmission coefficients and the bisection to find the last layer with non-zero transmission.
My previous attempt to compute coefficients directly (from top to bottom) failed because of scheme instability.
Still getting rid of at least bisection would change the worst-case complexity of computation from N * log(N) to N, where N is the number of layers.

Also available in: Atom PDF