Bug #2231

Reflectivity: strange behaviour at wavelength distribution

Added by ganeva about 2 years ago. Updated about 2 years ago.

Status:ResolvedStart date:19 Nov 2018
Priority:NormalDue date:
Assignee:dmitry% Done:


Target version:Sprint 39


Wavelength distribution shifts the Q range of the simulated reflectivity curve.

To reproduce:
1. Run the attached script, the Q range will be:

Xmin=0.001782011901929804, Xmax=1.7764213553650736

2. Change the line 48 to include the cosine distribution:

result = run_simulation(True)

The Q range will be
Xmin=0.001356009084213263, Xmax=1.351754998188763

test.py Magnifier - Script to reproduce the issue (2.02 KB) ganeva, 19 Nov 2018 14:27


#1 Updated by dmitry about 2 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF