# Characteristic¶

class plasmapy.diagnostics.langmuir.Characteristic(bias: Unit("V"), current: Unit("A"))

Bases: object

Class representing a single I-V probe characteristic for convenient experimental data access and computation. Supports units.

bias

Array of applied probe biases in units convertible to V.

Type: astropy.units.Quantity, ndarray
current

Array of applied probe currents in units convertible to A.

Type: astropy.units.Quantity, ndarray

Methods Summary

 get_padded_limit(padding[, log]) Return the limits of the current range for plotting, taking into account padding. get_unique_bias([inplace]) Remove any duplicate bias values through averaging. plot() Plot the characteristic in matplotlib. sort() Sort the characteristic by ascending bias.

Methods Documentation

get_padded_limit(padding, log=False)

Return the limits of the current range for plotting, taking into account padding. Matplotlib lacks this functionality.

Parameters: padding (float) – The padding ratio as a float between 0.0 and 1.0. log (boolean, optional) – If True the calculation will be performed on a logarithmic scale. Default is False.
get_unique_bias(inplace=False)

Remove any duplicate bias values through averaging.

plot()

Plot the characteristic in matplotlib.

sort()

Sort the characteristic by ascending bias.