How to run
-
Navigate to
Langevin/simulation/dp/. There you'll find Jupyter notebooks and Python scripts to run DP-type Langevin simulations. -
Don't run the noteboooks in-situ: their output will be written to
Langevin/experiments/which will generategitconflicts.Instead, make your own folder elsewhere (e.g.,
MyDPLangevin/), outside of the clonedlvn.dpfile hierarchy, and copyLangevin/simulation/into it. -
Do the same for the folder
Langevin/experiments/, copying it into e.g.MyDPLangevin/.The
Langevin/experiments/folder has subfolders containingInfo.jsonfiles, each named to refer logically to the model being run; these JSON files are used to drive the Langevin model simulations. -
Navigate to your
MyDPLangevin/simulation/folder and run e.g.Simulation.ipynb. With this notebook, you can carry out a single integration of the DP Langevin equation.Depending on the name assigned to
sim_namein this notebook (which specifies a model subfolder inexperiments/), the appropriateInfo.jsonfile is parsed for model parameters, a single Langevin integration is performed, and output data files are written to thatexperiments/subfolder.For example, if
sim_name = a1p18855_b1_D0p04_η1_x31_y31_Δx1_Δt0p1, theInfo.jsonfile inexperiments/a1p18855_b1_D0p04_η1_x31_y31_Δx1_Δt0p1/is used to drive the simulation, and output files are written to this folder.