est.core.types.spectra.Spectra#
- class est.core.types.spectra.Spectra(energy, spectra: Iterable | None = None)[source]#
Bases:
object
A map of spectrum.
data: numpy array of Spectrum. Expected to be 2D.
energy: set of energy for each position (x,y)
- property data#
- property energy: ndarray#
Energy in eV
- static from_dict(ddict, dimensions)[source]#
- Parameters:
ddict (dict) – dict containing the data to be loaded
dimensions (tuple) – information regarding spectra dimensions
- map_to(data_info: str, relative_to: str = 'energy')[source]#
Create a map a specific key of this spectra.
- property shape#