Skip to content

MAINT: provenance for resolution smearing validation#84

Open
andyfaff wants to merge 2 commits intoreflectivity:masterfrom
andyfaff:provenance
Open

MAINT: provenance for resolution smearing validation#84
andyfaff wants to merge 2 commits intoreflectivity:masterfrom
andyfaff:provenance

Conversation

@andyfaff
Copy link
Copy Markdown
Collaborator

@andyfaff andyfaff commented May 1, 2026

@bmaranville this is a provenance notebook for generating the resolution smeared reflectivity test datasets.

I found a possible issue with the test5 problem. That problem represents a 10-repeat Nickel Titanium multilayer, so it has Bragg peaks in the scattering.
The original test data was generated with integration limits (-3.5sigma, 3.5sigma), with quad_order=10001. If I increase the integration limits in the notebook to (-7sigma, 7sigma) the existing problem 5 data doesn't agree with the provenance notebook anymore. There's a point at high Q thats ~8 % different, and a few other points are less comparable.
This comes about because the intense Bragg peaks can influence a data point that's quite a way away, if the integration limits are large. Ultimately I don't think this has any practical consequence. In my experience experimentally measured Bragg peak data don't match up with fitted multilayer repeat models to a high degree of accuracy.

Anyway, this provenance notebook could be used as a basis for generating more validation problems for resolution smearing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant