collect_stats¶
- threadcount.fit.collect_stats(model_result, model_keys=None, fit_info='auto', empty_value=None)[source]¶
Collect the information from one model_result.
- Parameters:
model_result (lmfit.model.ModelResult) – This object contains the information to be extracted.
model_keys (list of str, optional) – The ModelResult.params parameter names to be recorded, by default None
fit_info (list of str or "auto", optional) – List of lmfit.model.ModelResult attributes to be recorded, by default “auto”
empty_value (None, np.nan, or any other, optional) – The value to be recorded for any invalid entries found, by default None
- Returns:
The information retrieved from model_result
- Return type:
list of information, mostly numbers or boolean
See also
get_header_statsThe column labels corresponding to this information