hyperspy._signals.complex_signal1d module
- class hyperspy._signals.complex_signal1d.ComplexSignal1D(*args, **kwargs)
Bases:
ComplexSignal,CommonSignal1DBaseSignal subclass for complex 1-dimensional data.
Create a Signal from a numpy array.
- Parameters:
data (
numpy.ndarray) – The signal data. It can be an array of any dimensions.axes ([dict/axes], optional) – List of either dictionaries or axes objects to define the axes (see the documentation of the
AxesManagerclass for more details).attributes (dict, optional) – A dictionary whose items are stored as attributes.
metadata (dict, optional) – A dictionary containing a set of parameters that will to stores in the
metadataattribute. Some parameters might be mandatory in some cases.original_metadata (dict, optional) – A dictionary containing a set of parameters that will to stores in the
original_metadataattribute. It typically contains all the parameters that has been imported from the original data file.ragged (bool or None, optional) – Define whether the signal is ragged or not. Overwrite the
raggedvalue in theattributesdictionary. If None, it does nothing. Default is None.
- class hyperspy._signals.complex_signal1d.LazyComplexSignal1D(*args, **kwargs)
Bases:
ComplexSignal1D,LazyComplexSignalBaseSignal subclass for lazy complex 1-dimensional data.
Create a Signal from a numpy array.
- Parameters:
data (
numpy.ndarray) – The signal data. It can be an array of any dimensions.axes ([dict/axes], optional) – List of either dictionaries or axes objects to define the axes (see the documentation of the
AxesManagerclass for more details).attributes (dict, optional) – A dictionary whose items are stored as attributes.
metadata (dict, optional) – A dictionary containing a set of parameters that will to stores in the
metadataattribute. Some parameters might be mandatory in some cases.original_metadata (dict, optional) – A dictionary containing a set of parameters that will to stores in the
original_metadataattribute. It typically contains all the parameters that has been imported from the original data file.ragged (bool or None, optional) – Define whether the signal is ragged or not. Overwrite the
raggedvalue in theattributesdictionary. If None, it does nothing. Default is None.