Expose fitting parameters to python #38968
Labels
Diffraction
Issues and pull requests related to diffraction
ISIS Team: Diffraction
Issue and pull requests managed by the Diffraction subteam at ISIS
Powder
Issues and pull requests related to powder diffraction
Milestone
Is your feature request related to a problem? Please describe.
POLDI has the wavelength dependence of the flux as a fitting parameter in the IDF - we need to access this from python
mantid/instrument/POLDI_Definition_2015.xml
Lines 42 to 47 in 627ae2f
but try to access it e.g.
I can't see a
getFittingParameter
or similar function - this is how it's accessed in C++mantid/Framework/SINQ/src/PoldiUtilities/PoldiSourceSpectrum.cpp
Lines 83 to 84 in 627ae2f
It seems like this is not exposed to python
mantid/Framework/Geometry/src/Instrument.cpp
Line 137 in 627ae2f
You can also look at
setMatrixWorkspace
which parses the Parameters .xml file to initialise parameters of fitting functions.Describe the solution you'd like
Expose fitting parameters (such as the flux in POLDI, but also peak profile parameters etc.) to python
The text was updated successfully, but these errors were encountered: