oslocyclotronlab / ompy_Archive_Sept2019

Archived version om ompy as of 27. Sept 2019 -- Please use this instead:
https://github.com/oslocyclotronlab/ompy/
GNU General Public License v3.0
0 stars 1 forks source link

Implemented rhosig.py for the matrix decomposition/fit_rho_T() #16

Closed fzeiser closed 5 years ago

fzeiser commented 5 years ago

Issue by jorgenem Thursday Feb 14, 2019 at 16:07 GMT Originally opened as https://github.com/oslocyclotronlab/ompy/pull/16


This is a working version implementing rhosig.py as the fitting module. It wraps rhosig.py into the fit_rho_T() function to make it easier to use in the current workflow.

It should be cleaned up -- notably, since rhosig.py uses middle-bin energy arrays, I have just implemented some back-and-forth transformations in a rather hacky way. On the todo-list is to change everything to lower-bin-edge for consistency. Also, I don't think I'm handling the cutting of the diagonal in a proper way yet.

I have updated the notebook example so that it demonstrates the current working version. It's gratifying to see that it seems to give something sensible (at least to my eyes) for the Dy164 fit!


jorgenem included the following code: https://github.com/oslocyclotronlab/ompy/pull/16/commits