-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
small updates for XPS peak fitting #301
Conversation
0b5a809
to
72930d5
Compare
<doc> | ||
Human-readable description of the background fit function. | ||
|
||
.. csv-table:: Examples for background descriptions | ||
:header: "Background Type", "Description" | ||
|
||
"Linear", "Linear background, i.e., a simple straight line from the minimal to the maximal abscissa value." | ||
"Shirley", "Shirley background. In the Shirley background, the background intensity at any given binding energy is proportional to the intensity of the total peak area above the background in the lower binding energy peak range (i.e., the background goes up in proportion to the total number of photoelectrons below its binding energy position)." | ||
"Tougaard", "Tougaard background (or Tougaard universal cross-section approach) which is a methodology for integrating the intensity of the background at a given binding energy from the spectral intensities to higher kinetic energies." | ||
"Step Down/Step Up", "Background function for fitting a complementary error function to an edge, used for fitting a step in the data." | ||
|
||
In case none of these examples apply, the functional form of the background should be given by the `formula` | ||
field. | ||
</doc> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the descriptions have been merged together. Wouldn't it be nice to keep the enemerations along with he merged description?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem with the enum is that there can be too many different background types, so I relaxed it.
relative_atomic_concentration(NX_FLOAT): | ||
exists: optional | ||
unit: NX_ANY | ||
doc: | | ||
Atomic concentration of the species defined by this peak. This should be a value | ||
between 0 and 1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is added but removed from nxdl.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just placed at a different position (within NXpeak), also in the NXDL.
This will then also have to be changed in nexusformat#1424