oslocyclotronlab / ompy

A python implementation of the Oslo method
https://ompy.readthedocs.io
GNU General Public License v3.0
6 stars 7 forks source link

More descripive err message for missing nld(Ex=0) #172

Closed fzeiser closed 3 years ago

fzeiser commented 3 years ago

See https://github.com/oslocyclotronlab/ompy/issues/170

fzeiser commented 3 years ago

Another idea I've had was that fnld and fgsf could rather be staticmethod for NormalizerGSF of separate functions. This would make it easier if someone wants to replace the interpolation e.g. with an extrapolation or some other user defined function. It is similar to the solution discussed in the linked issue, but easier for inheritance.