Open flipdazed opened 8 years ago
Exponential Issues Funit != F
Verified all with each other through the Package form.
Exponential Autocorrelations - all results are in
expValidations.nb`
Fixed Length Trajectories - all results agree with each other
Unit Test Data
fixUnitTest.nb
and expUnitTest.nb
to .csv
data filespython
and check against python modelsC++ functions
c++
code was created by using a rule based system based on my flakey c++
knowledgecython
or the like to import and wrap into a python
-friendly form and compare alongside pure python functions for the unit test dataMathematica-Python Link
Mathematica-python
link was created and now I can run any Mathematica
code directly from python
c++
its not really that useful but still good for a direct sympy
alternativeunit tests written - python fails for certain cases
waiting on solution for parsing full GHMC quations to c++ directly from Mathematica
Root
objects and reinsertingHad previously forgotten that Mathematica
returns a quintic root which cannot be solved without a full numerical reduction by input parameters.
The best solution is therefore given by python else I would have to code a root finder in boost and ceebs
Current status
Mathematica
- all implementedPython
- all functions implemented and an approximate form for $\mathcal{L}^{-1}F$C++
all implementedMathematica
- all implementedPython
- all functions implemented - some bugs remain ^^C++
all except ghmc
**_Unable to implement directly from Mathematica into C++
as the ghmc()
function requires a Root[]
object to be evaluated EACH_ time the function is called as no direct analytic solution exists for quintic roots (see above). Hence, manually implementing a root solver into C++
will be non-trivial and time consuming. The python version of ghmc
works perfectly well with numpy
's root solver.
^^ The bugs that remain are not present in the C++
functions so leaving so now and just using C++
when theory is required
shouldn't have closed
Aim Need to iron out any (remaining) bugs and validate the theory as the equations are correct
Method
Verify theory inMathematica
between each case of GHMCUse verifiedMathematica
script to produce test cases for each caseSplit the Laplace Transform into polynomial coefficient arrays so the function is defined by:Validate numerators and denominators separatelyRemaining Issues
python
functions but I can just use theC++
version so no fix urgentM2_Exp
$\theta=\pi/2$, $P_{\text{acc}} \ne 1$