I've also tidied up the numerics a bit to be simpler and added a test that one can run with poe test -k laser. NB the test is junk right now but I'm just using it to plot the model function for debugging.
Right now the code gives obvious garbage (probabilities greater than 1) but my aim was to just to spend a few hours getting something to the point needed for discussion so I haven't begun debugging...
Proof of concept for a restructuring of the laser flop code.
The big change compared with https://github.com/OxIonics/ionics_fits/pull/34 is that we use encapsulation to different distributions of motional states rather than inheritance.
I've also tidied up the numerics a bit to be simpler and added a test that one can run with
poe test -k laser
. NB the test is junk right now but I'm just using it to plot the model function for debugging.Right now the code gives obvious garbage (probabilities greater than 1) but my aim was to just to spend a few hours getting something to the point needed for discussion so I haven't begun debugging...
cc @AUTProgram