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

Restructured the code (again) #12

Closed fzeiser closed 5 years ago

fzeiser commented 5 years ago

Issue by jorgenem Wednesday Jan 09, 2019 at 13:27 GMT Originally opened as https://github.com/oslocyclotronlab/ompy/pull/12


I think I have found a reasonable tradeoff between simplicity and flexibility now. The basic philosophy is that all classes and functions shall be accessible from the main import of oslo_method_python.

I have removed the OsloMethod class. The MatrixAnalysis class remains. It is right now the only way to access the unfold() and first_generation_method() methods, but I plan to move those out as standalone functions. Then the MatrixAnalysis class will only serve as a convenient wrapper for e.g. error propagation, but the advanced user can choose to make each function call in the analysis explicitly and call the matrices what he or she wants.


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