• Language: en

Files Generated by MComp Script

This section discusses how the mcomp script saves files to disk, if you want to see a full MComp Script example using a MTut Script try Generate multiple data sets and Fit using a Two Compartment Model.

Output from an MComp Script called ‘builtin_mtut_example_mcomp.pyml’ are as follows:-

builtin_mtut_example_mcomp.pyml_output/
    _temp
    fx_scatter
    mcomp_sections
    mfit_sections
    mgen_sections
    final_fx.csv
    gt_fx.csv
    init_fx.csv
    type_fx.csv

The ‘_temp’ folder contains the temporary functions generated by PoPy. The ‘fx_scatter’ folder contains the scatter plots of fitted vs true f[X]. For example files like:-

builtin_mtut_example_mcomp.pyml_output/
    fx_scatter/
        fitted_vs_true_for_f[cl].svg
        fitted_vs_true_for_f[ka].svg
        fitted_vs_true_for_f[pnoise].svg
        ..

The folders named ‘*_sections’, just contain the original .pyml scripts in sections for use in the PoPy documentation.

The .csv files are as follows:-

Table 81 .csv file output by MComp Script
Filename Contents
final_fx.csv Each row contains f[X] estimates for one population
gt_fx.csv Each row contains true f[X] values for one population
init_fx.csv Each row contains starting f[X] values for one population
type_fx.csv Each row contains f[X] type (e.g. main or var f[X])

Note each of the *_fx.csv files has the same number of rows and columns, so you could easily load this data into R for further analysis if you like.

Back to Top