This repository looks to model magnetic moment distribution using a continuous approximation obeying:
where
where
with boundary conditions
where
In this work we solve this using a hand written shooting method for solving BVPs in order to get the desired stability and speed, this makes the function compatible with scipy.optimize.curve_fit for ease of use
see the notebook folder for templates on how to use these functions to fit magnetization data, as well as an example of the discrete method of solving that utilizes minimization.