Characteristic

class plasmapy.diagnostics.langmuir.Characteristic(bias: Quantity, current: Quantity)[source]

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: bool = False)[source]

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 (bool, optional) – If True the calculation will be performed on a logarithmic scale. Default is False.

get_unique_bias(inplace: bool = False)[source]

Remove any duplicate bias values through averaging.

plot() None[source]

Plot the characteristic in matplotlib.

sort() None[source]

Sort the characteristic by ascending bias.