simul.copasi.copasi
¶
Module Contents¶
-
class
simul.copasi.copasi.
Copasi
[source]¶ Copasi simulator.
-
model_checking
(model_filename, fileout, task_name="")[source]¶ Check whether the Copasi model can be loaded and executed correctly.
Parameters: - model_filename – the COPASI filename
- fileout – the file containing the model checking results
- task_name – the task to check
Returns: boolean indicating whether the model could be loaded and executed successfully
-
ps1
(model, scanned_par, simulate_intervals, single_param_scan_intervals, inputdir, outputdir, cluster="local", local_cpus=1, runs=1, output_msg=False)[source]¶
-
ps2
(model, sim_length, inputdir, outputdir, cluster="local", local_cpus=1, runs=1, output_msg=False)[source]¶
-
_run_par_comput
(inputdir, model, outputdir, cluster="local", local_cpus=1, runs=1, output_msg=False)[source]¶
-
_get_params_list
(filein)[source]¶ Return the list of parameter names from filein
Parameters: filein – a Copasi parameter estimation report file Returns: the list of parameter names
-
_write_best_fits
(files, path_out, filename_out)[source]¶ Write the final estimates to filename_out
Parameters: - files – the list of Copasi parameter estimation reports
- path_out – the path to store the file combining the final (best) estimates (filename_out)
- filename_out – the file containing the final (best) estimates
-