Files Generated by Fitsum Script¶
This section discusses how the FitSum Script saves files to disk, if you want to see an example of a FitSum Script created by a Fit Script, see Fitting a Two Compartment PopPK Model.
If you run a FitSum Script using the following command:-
$ popy_run my_fitsum_script.pyml
files and folders will be created on disk (within the same folder as the script) as follows:-
build
src
my_fitsum_script.pyml.html
my_fitsum_script.pyml.run.main.log
sphinx.log
Here ‘src’ contains files copied from the output of the parent Fit Script and some automatically generated .rst files.
The ‘build’ folder is the output of running Sphinx on the ‘src’ files. Sphinx is a utility for processing .rst files into HTML and optionally other formats. The main output of running sphinx is here:-
build/
html/
index.html
Here ‘sphinx.log’ is the log file for Sphinx and ‘my_fitsum_script.pyml.run.main.log’ is the log file for the FitSum Script.
You can view the summary of the fit/sim output to HTML files by typing:-
$ popy_view my_fitsum_script.pyml.html
Which should look something like First order absorption model with peripheral compartment.