Created
January 17, 2017 19:00
-
-
Save thomasaarholt/aa868f7a9468b94bfd47de0d1fc81802 to your computer and use it in GitHub Desktop.
Fast but poor fitting of the zirconium L white lines
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m = Zr.create_model(ll, GOS="Hartree-Slater") | |
Zr_L3_white = hs.model.components1D.Gaussian() | |
Zr_L3_white.name = "Zr L3 White Line" | |
Zr_L3_white.centre.bmin = 2218.0 | |
Zr_L3_white.centre.bmax = 2240.0 | |
Zr_L3_white.sigma.bmax=3 | |
Zr_L3_white.A.bmin = 0 | |
Zr_L2_white = hs.model.components1D.Gaussian() | |
Zr_L2_white.name = "Zr L2 White Line" | |
Zr_L2_white.centre.bmin = 2309.0 | |
Zr_L2_white.centre.bmax = 2317.0 | |
Zr_L2_white.sigma.bmax=3 | |
Zr_L2_white.A.bmin = 0 | |
m.append(Zr_L3_white) | |
m.append(Zr_L2_white) | |
m["Zr_L3"].onset_energy.twin = Zr_L3_white.centre | |
m["Zr_L2"].onset_energy.twin = Zr_L2_white.centre | |
m.fit(bounded=True) | |
m.plot() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment