malaclypseII / PyXMRTool

Python Package for the analysis of X-Ray Magnetic Reflectivity data measured on heterostructures
GNU Lesser General Public License v3.0
0 stars 1 forks source link

get Chantler Tables directly from NIST and document reference #4

Closed malaclypseII closed 5 years ago

malaclypseII commented 5 years ago

Dabei auf jeden Fall auch die Werte f_rel und f_NT mitnehmen, die für den Realteil des Formfaktors wichtig sind (zumindest bei den schwereren Elementen)

malaclypseII commented 5 years ago

Quellenangaben am besten als mitgelieferte *.txt-Datei

malaclypseII commented 5 years ago

Work on it and commited solution with [master fceee4f]. But still bugy: Energy-spacing much larger with data from NIST-Homepage than with the data from RemagX. This leads to problems while fitting the absorbtion in SampleRepresentation.FFfromScaledAbsorption. Did they just interpolate?

malaclypseII commented 5 years ago

I found that the database for ReMagX just linearly interpolated between the given values from Chantler and placed equally-spaced points on this interpolation. I will not do the same as it leads to data loss at kinks. Instead interpolation will be done as needed in SampleRepresentation.FFfromScaledAbsorption.

malaclypseII commented 5 years ago

Implemented and tested: commit [master 2b44672]