Andrej 9c581f613e IPYNB updates | 2 months ago | |
---|---|---|
lnnCoeficients20 | 2 years ago | |
models | 5 months ago | |
pythonScripts | 2 months ago | |
setup | 5 months ago | |
README.md | 5 months ago |
Install with
git clone https://git0.fmf.uni-lj.si/studen/PBPK_public.git
Use GIT for Windows. More instructions on the web page.
On top of python, you'll need numpy and scipy. Install using pip
pip3 install numpy,scipy
Use windows terminal (ie. cmd.exe)
Follow cDiazepam.json
. Basic instructions:
runSolver.main(setup,model,parameters,jobDir,srcDir)
This constructs a model from the model file, sets it up with parameters from parameters file, uses the setup to drive calculation which it stores in jobDir. If srcDir is not a string NONE, it takes the solution from srcDir and continues it until tmax in setup is reached.
runSolver.loadSolutionFromDir(jobDir,True)
Read solution from dir jobDir. Returns a dict with fields
t,sol,se,qt,sOut,lut,lutSE,setup,model,parameters,qt,sOut where:
['sol'][lut[containerName],j]
is the concentration of containerName at time point j