Closed vespos closed 1 year ago
I actually going to add the transmission calculation as well. Incoming soon
Seems like xraylib
simply is not pip-installable right now on python 3.11, despite being compatible and working in conda. Let's ignore that build for the time being, all the other builds are healthy.
Oh I overlooked the unittest comment, sorry. I will do that in a separate PR, as to get these changes into the next release
Description
Port the Darwin Width and transmission calculation from the old python
Motivation and Context
Requested by the scientists. This will make them less dependent on the old python.
How Has This Been Tested?
Tested by comparing results of calculation to the old python results. Good to the 6-8 decimal: New:
Old:
Where Has This Been Documented?
Docstring