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
Refactor PoldiSpectrumDomainFunction to use arbitrary peak profile functions #270
Refactor PoldiSpectrumDomainFunction to use arbitrary peak profile functions #270
Conversation
…tor_poldi_spectrum_domain_function
This is no longer required and is removed.
…tor_poldi_spectrum_domain_function
When PoldiPeakCollection has no profile function set, the one provided to PoldiFitPeaks2D should be used.
Jenkins retest this please |
1 similar comment
Jenkins retest this please |
Testing information
In this case the spectrum has much higher values and in the 1D spectrum the Lorentzian peaks are nicely visible. |
The unit test for the derivative was disabled, re-enabled it.
All looks perfect to me and the examples seem to work well. But I found an issue in one POLDI system test. POLDIFitPeaks2DTest fails with this error:
Can you check if you also get this issue? It looks like a small numerical difference could have broken the test, but it could be something local here. For me, there are values in absDiff that are definitely bigger than the 7e-4, and one of them is as big as 0.42630710526. Otherwise I think this is ready to be merged. |
This is still the old system test. I modified it, because the intensity calculation is a bit different now and it simply does not give the same intensities anymore. For the new system test there is also a pull request, it's this one: mantidproject/systemtests#16. Sorry for not making it more prominent in the testing comment. |
…tor_poldi_spectrum_domain_function
Jenkins retest this please |
1 similar comment
Jenkins retest this please |
Because of different intensity calculation, the residuals are of course also slightly different, I forgot about that before.
…tor_poldi_spectrum_domain_function
Forwarding of active parameters was not implemented.
…tor_poldi_spectrum_domain_function
…tor_poldi_spectrum_domain_function
PoldiSpectrumDomainFunction has been updated to use changes from ticket #11102, so that wrapping of the peak function is simpler. This is just an implementation detail, it does not change the testing information. Additionally, the system test has been updated, so the systemtests pull request is obsolete. |
Jenkins retest this please |
All is good after the system tests transition to the main repo. |
…di_spectrum_domain_function Refactor PoldiSpectrumDomainFunction to use arbitrary peak profile functions
This fixes #10996.