ComplexOptions#
Module: exa.core.plotting.plot_options
- class ComplexOptions(use_magnitude_phase=True, in_degrees=True, unwrap=False)#
Bases:
objectOptions to change how the complex data is displayed.
Attributes
If this and use_magnitude_phase are both True, plot phase in degrees.
If this and use_magnitude_phase are both True, unwrap phase values.
If True, plot magnitude and phase parts of a complex pulse as a pair of diagrams.
Methods
Returns a copy where attributes given in attributes are changed.
- 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:
Inheritance
