lib_dd.decomposition package

Submodules

lib_dd.decomposition.ccd_single module

class lib_dd.decomposition.ccd_single.ccd_single(config=None)[source]

Bases: object

Cole-Cole decomposition object

fit_data()[source]

This is the central fit function, which prepares the data, fits each spectrum, plots (if requested), and then saves the results.

get_data_dd_single()[source]

Load frequencies and data and return a data dict

Parameters

options (cmd options) –

Returns

data – “prep_opts”

Return type

dict with entries “raw_data”, “cr_data”, “options”, “inv_opts”,

save_to_directory(directory=None)[source]

Save the fit results to a directory. The output directory can either be set in the initial configuration object, or directly via the directory parameter

lib_dd.decomposition.ccd_single_stateless module

stateless code part of the ccd_single decomposition. Everthing else is located in the ccd_single object

lib_dd.decomposition.ccd_single_stateless.call_fit_functions(fit_data, ND)[source]
lib_dd.decomposition.ccd_single_stateless.fit_one_spectrum(fit_data)[source]

Fit one spectrum

Module contents