Skip to content

Conversation

wardsimon
Copy link
Contributor

  • Fixed functions not present in Matlab version < R2017a
  • Fixed so that all tutorials run
  • Fixed some aspects of symbolic calculation

mducle and others added 29 commits January 20, 2019 01:41
Redoing the Horace interface to SpinW
More Horace integration
chol_omp, eig_omp and sw_mtimes compiled under R2017b using OSX 10.13.6
Allow to turn off legends in plot mode 4
An additional transformation in `+swplot/patchfacefcn.m` is needed in post R2017b. Thanks go to @Fellow-baka for finding it :-)
Documentation change for issue #22 and warning for mex users on post R2017b in response to issue #17
sw_update will now check github releases and pull the latest release. Fix in reference to issue #25
RichardWaiteSTFC and others added 30 commits March 17, 2025 16:12
Also use same method to cut data in plotting 1D cuts of 2D data as when replacing data with 1D cuts.
Updated tests
Now pfit and SigP have same shape
This is done so that there is always an E0 label regardless of background strategy
Fix bugs identified by user
This is only valid in some cases
…powder

Fix bug in scale factor estimation
Add new function to fit bg and scale to all data (fixing model)
Support any ndbase optimizer in fit_background
Add methods to set and clear background region
Add method to plot background region
Initialise background parameters with sensible values when switching background strategy
Handle edges/nans properly in avg. of error when taking 1D cuts
Support general polynomial background in Q and en
Use 2D data Q bins when replace with 1D cuts (previously just used nQ bins between qmin and qmax)
Update tutorial
Add method to export data into structs (or array of structs for 1D) - for fitbenchmarking
Add ability to set background parameters, bounds etc. by string label
Add method to print parameters nicely
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants