twoD_dataset.CLSResult

class twoD_dataset.CLSResult(*, wt: ndarray, slopes: ndarray, slope_errors: ndarray | None = None, intercepts: ndarray, intercept_errors: ndarray | None, lines: List[ndarray], exp_fit_result_: ModelResult | None = None)[source]

Class holding the data of CLS-analysis. Has methods to analyze and plot them.

Method generated by attrs for class CLSResult.

__init__(*, wt: ndarray, slopes: ndarray, slope_errors: ndarray | None = None, intercepts: ndarray, intercept_errors: ndarray | None, lines: List[ndarray], exp_fit_result_: ModelResult | None = None) None

Method generated by attrs for class CLSResult.

Methods

__init__(*, wt, slopes[, slope_errors, ...])

Method generated by attrs for class CLSResult.

exp_fit(start_taus[, use_const, use_weights])

plot_cls([ax, model_style, symlog])

Attributes

intercepts

Contains the intercepts, useful for plotting mostly

intercept_errors

Errors of the intercepts

lines

Contains the x and y, yerr-values used for the linear fit

exp_fit_result_

wt

Wait times.

slopes

Values

slope_errors