ISatExtras

class plasmapy.analysis.swept_langmuir.ion_saturation_current.ISatExtras(rsq: float | None, fitted_func: AbstractFitFunction | None, fitted_indices: slice | None)[source]

Bases: NamedTuple

Create a tuple containing the extra parameters calculated by find_ion_saturation_current.

Create new instance of ISatExtras(rsq, fitted_func, fitted_indices)

Attributes Summary

fitted_func

Alias for field number 1, the fit-function fitted during the ion-saturation curve fit.

fitted_indices

Alias for field number 2, the indices used in the ion-saturation curve fit.

rsq

Alias for field number 0, the r-squared value of the ion-saturation curve fit.

Methods Summary

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes Documentation

fitted_func: AbstractFitFunction | None

Alias for field number 1, the fit-function fitted during the ion-saturation curve fit.

fitted_indices: slice | None

Alias for field number 2, the indices used in the ion-saturation curve fit.

rsq: float | None

Alias for field number 0, the r-squared value of the ion-saturation curve fit.

Methods Documentation

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.