ComplexOptions#

Module: exa.core.plotting.plot_options

class ComplexOptions(use_magnitude_phase=True, in_degrees=True, unwrap=False)#

Bases: object

Options to change how the complex data is displayed.

Attributes

in_degrees

If this and use_magnitude_phase are both True, plot phase in degrees.

unwrap

If this and use_magnitude_phase are both True, unwrap phase values.

use_magnitude_phase

If True, plot magnitude and phase parts of a complex pulse as a pair of diagrams.

Methods

copy

Returns a copy where attributes given in attributes are changed.

Parameters:
  • use_magnitude_phase (bool)

  • in_degrees (bool)

  • unwrap (bool)

use_magnitude_phase: bool = True#

If True, plot magnitude and phase parts of a complex pulse as a pair of diagrams. If False, plot real and imaginary parts instead. Defaults to True.

in_degrees: bool = True#

If this and use_magnitude_phase are both True, plot phase in degrees. If False, use radians. Defaults to True.

unwrap: bool = False#

If this and use_magnitude_phase are both True, unwrap phase values. If False, wrap values. Defaults to False.

copy(**attributes)#

Returns a copy where attributes given in attributes are changed.

Return type:

ComplexOptions

Inheritance

Inheritance diagram of exa.core.plotting.plot_options.ComplexOptions