Spectrum - Part of the NeXL X-ray Microanalysis Library
Installing NeXLSpectrum.jl
NeXLSpectrum is available throught the standard Julia registry and can be installed using the standard package manager.
julia> ]add NeXLSpectrumor
julia> using Pkg
julia> Pkg.add("NeXLSpectrum")Microanalytical X-ray Spectrum Analysis
NeXLSpectrum is a library of tools for manipulating EDS spectrum within the NeXL framework. NeXLSpectrum depends on NeXLUncertainties, NeXLCore and NeXLMatrixCorrection and loading NeXLSpectrum will also make these libraries available.
Primarily, NeXLSpectrum
Implements the
Spectrumtype to represent individual EDS spectra- Reads
Spectrumobjects from disk files (or other streams) in EMSA, Bruker and ASPEX formats - Writes
Spectrumobjects to a disk file in EMSA format
- Reads
Provides utilities and other low level tools to interogate and manipulate
SpectrumobjectsImplements the
HyperSpectrumtype to represent hyper-spectra (linescan, image, cube, ...)- The individual pixels in a hyper-spectrum are visible as
Spectrumobjects - Reads
HyperSpectrumobjects from LISPIX-style RPL/RAW files - Writes
HyperSpectrumobjects to RPL/RAW files
- The individual pixels in a hyper-spectrum are visible as
Provides data types to define detector properties
Extends
Gadfly.jlto plot spectra and spectrum-related itemsProvides algorithms to perform Schamber-style filter-fitting of spectra
- Implements a basic weighted LLSQ fit algorithm
- Fits characteristic, escape, Compton and other features
- Implements a 'vector-based' quick-quant algorithm for processing hyper-spectra
- Implements a basic weighted LLSQ fit algorithm