lumispy.signals.luminescence_transientspec module
Signal class for luminescence transient data (2D)
- class lumispy.signals.luminescence_transientspec.LazyLumiTransientSpectrum(*args, **kwargs)
Bases:
LazySignal
,LumiTransientSpectrum
Lazy 2D luminescence signal class (spectral+transient/time resolved dimensions)
- class lumispy.signals.luminescence_transientspec.LumiTransientSpectrum(*args, **kwargs)
Bases:
Signal2D
,CommonLumi
,CommonTransient
2D luminescence signal class (spectrum+transient/time resolved dimensions)
Return the streak image as signal with the spectral axis as navigation axis and the time axis as signal axis. For efficient iteration over transients as a function of the spectral positions (e.g. for fitting transients). By default, the method ensures that the data is stored optimally, hence often making a copy of the data.
- Parameters:
optimize (bool) – If
True
, the location of the data in memory is optimised for the fastest iteration over the navigation axes. This operation can cause a peak of memory usage and requires considerable processing times for large datasets and/or low specification hardware. See the Transposing (changing signal spaces) section of the HyperSpy user guide for more information. When operating on lazy signals, ifTrue
, the chunks are optimised for the new axes configuration.- Returns:
signal – A signal of type
LumiTransient
.- Return type:
See also
lumispy.signals.LumiTransientSpectrum.time2nav
,hyperspy.api.signals.BaseSignal.transpose
Return the streak image as signal with the time axis as navigation axis and the spectral axis as signal axis. For efficient iteration over spectra as a function of time (e.g. for fitting spectra). By default, the method ensures that the data is stored optimally, hence often making a copy of the data.
- Parameters:
optimize (bool) – If
True
, the location of the data in memory is optimised for the fastest iteration over the navigation axes. This operation can cause a peak of memory usage and requires considerable processing times for large datasets and/or low specification hardware. See the Transposing (changing signal spaces) section of the HyperSpy user guide for more information. When operating on lazy signals, ifTrue
, the chunks are optimised for the new axes configuration.- Returns:
signal – A signal of type
LumiSpectrum
.- Return type:
See also
lumispy.signals.LumiTransientSpectrum.time2nav
,hyperspy.api.signals.BaseSignal.transpose
- class lumispy.signals.luminescence_transientspec.TransientSpectrumCasting(*args, **kwargs)
Bases:
Signal1D
,CommonLumi
,CommonTransient
Hidden signal class 1D version of
TransientSpectrum
signal class for castingLumiTransientSpectrum` to either ``Luminescence
orTransient
when the signal dimensionality is reduced.Example:
>>> s = LumiTransientSpectrum(np.random.random((10, 10, 10, 10))) * 2 >>> s.axes_manager.signal_axes[-1].units = 'ps' >>> s.axes_manager.signal_axes[0].units = 'nm' >>> s.sum(axis=-1) >>> s <LumiSpectrum, title: , dimensions: (10, 10|10)>