jfkcooper / HOGBEN

Experimental design in neutron reflectometry using the Fisher information.
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Refactor the `simulate` method to be a simulation class #42

Open jfkcooper opened 1 year ago

jfkcooper commented 1 year ago

There are so many common parameters throughout HOGBEN.simulation that it is clear they belong in a class. This will then require a rewrite of many of the functions which call simulate() directly, but should solve bugs like #41 (and others which clearly stem from this, but have so far not been found in practise)