clophfit.prtecan.export#

Export data and fit results from Titration objects.

Functions#

generate_combinations()

Generate parameter combinations for export and fitting.

apply_combination(titration, combination)

Apply a combination of parameters to the Titration.

prepare_output_folder(titration, base_path)

Prepare the output folder for a given combination of parameters.

export_residuals(outfit, fit_results, index)

Export fit residuals and their statistics to files.

export_bad_wells(outfit, global_res)

Export a list of bad wells flagged during global fits.

run_pre_fit_detection(titration, subfolder)

Run pre-fit detection of bad wells and write discarded_wells.txt.

export_fit(titration, subfolder, config)

Export all fitted parameters, plots, and data files.

export_data_fit(titration, tecan_config)

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:
Return type:

None

clophfit.prtecan.export.prepare_output_folder(titration, base_path)#

Prepare the output folder for a given combination of parameters.

Parameters:
Return type:

pathlib.Path

clophfit.prtecan.export.export_residuals(outfit, fit_results, index)#

Export fit residuals and their statistics to files.

Parameters:
Return type:

None

clophfit.prtecan.export.export_bad_wells(outfit, global_res)#

Export a list of bad wells flagged during global fits.

Parameters:
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:
Return type:

None

clophfit.prtecan.export.export_fit(titration, subfolder, config)#

Export all fitted parameters, plots, and data files.

Parameters:
Return type:

None

clophfit.prtecan.export.export_data_fit(titration, tecan_config)#

Export dat files [x,y1,..,yN] from copy of titration.data.

Parameters:
Return type:

None