clophfit.prtecan.export#
Export data and fit results from Titration objects.
Functions#
Generate parameter combinations for export and fitting. |
|
|
Apply a combination of parameters to the Titration. |
|
Prepare the output folder for a given combination of parameters. |
|
Export fit residuals and their statistics to files. |
|
Export a list of bad wells flagged during global fits. |
|
Run pre-fit detection of bad wells and write discarded_wells.txt. |
|
Export all fitted parameters, plots, and data files. |
|
Export dat files [x,y1,..,yN] from copy of titration.data. |
Module Contents#
- clophfit.prtecan.export.generate_combinations()#
Generate parameter combinations for export and fitting.
- Return type:
list[tuple[tuple[bool, Ellipsis], str]]
- clophfit.prtecan.export.apply_combination(titration, combination)#
Apply a combination of parameters to the Titration.
- Parameters:
titration (clophfit.prtecan.titration.Titration)
combination (tuple[tuple[bool, Ellipsis], str])
- Return type:
None
- clophfit.prtecan.export.prepare_output_folder(titration, base_path)#
Prepare the output folder for a given combination of parameters.
- Parameters:
titration (clophfit.prtecan.titration.Titration)
base_path (pathlib.Path)
- Return type:
pathlib.Path
- clophfit.prtecan.export.export_residuals(outfit, fit_results, index)#
Export fit residuals and their statistics to files.
- Parameters:
outfit (pathlib.Path)
fit_results (dict[str, clophfit.fitting.data_structures.FitResult[Any]])
index (int)
- Return type:
None
- clophfit.prtecan.export.export_bad_wells(outfit, global_res)#
Export a list of bad wells flagged during global fits.
- Parameters:
outfit (pathlib.Path)
global_res (clophfit.prtecan.titration.TitrationResults)
- Return type:
None
- clophfit.prtecan.export.run_pre_fit_detection(titration, subfolder)#
Run pre-fit detection of bad wells and write discarded_wells.txt.
- Parameters:
titration (clophfit.prtecan.titration.Titration)
subfolder (pathlib.Path)
- Return type:
None
- clophfit.prtecan.export.export_fit(titration, subfolder, config)#
Export all fitted parameters, plots, and data files.
- Parameters:
titration (clophfit.prtecan.titration.Titration)
subfolder (pathlib.Path)
- Return type:
None
- clophfit.prtecan.export.export_data_fit(titration, tecan_config)#
Export dat files [x,y1,..,yN] from copy of titration.data.
- Parameters:
titration (clophfit.prtecan.titration.Titration)
tecan_config (clophfit.prtecan.titration.TecanConfig)
- Return type:
None