Characteristic

class plasmapy.diagnostics.langmuir.Characteristic(bias, current)

Bases: object

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

bias

astropy.units.Quantity, ndarray – Array of applied probe biases in units convertible to V.

current

astropy.units.Quantity, ndarray – Array of applied probe currents in units convertible to A.

Methods Summary

check_validity() Check the unit and value validity of the characteristic.
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

check_validity()

Check the unit and value validity of the characteristic.

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.