nexusLIMS.extractors.plugins.edax#
EDAX EDS spectrum (.spc/.msa) extractor plugin.
Module Contents#
Classes#
Extractor for EDAX .spc files. |
|
Extractor for EMSA/MAS .msa spectrum files. |
Functions#
Get metadata from a .spc file. |
|
Get metadata from an .msa file. |
API#
- class nexusLIMS.extractors.plugins.edax.SpcExtractor[source]#
Extractor for EDAX .spc files.
This extractor handles metadata extraction from .spc files saved by EDAX EDS software (Genesis, TEAM, etc.).
- name#
‘spc_extractor’
- priority#
100
- supported_extensions#
Type: typing.ClassVar
- supports(context: ExtractionContext) bool[source]#
Check if this extractor supports the given file.
- Parameters:
context – The extraction context containing file information
- Returns:
True if file extension is .spc
- Return type:
- class nexusLIMS.extractors.plugins.edax.MsaExtractor[source]#
Extractor for EMSA/MAS .msa spectrum files.
This extractor handles metadata extraction from .msa files, which may be saved by various EDS acquisition software packages, most commonly as exports from EDAX or Oxford software.
- name#
‘msa_extractor’
- priority#
100
- supported_extensions#
Type: typing.ClassVar
- supports(context: ExtractionContext) bool[source]#
Check if this extractor supports the given file.
- Parameters:
context – The extraction context containing file information
- Returns:
True if file extension is .msa
- Return type:
- extract(context: ExtractionContext) list[dict[str, Any]][source]#
Extract metadata from an .msa file.
Returns the metadata (as a list of dicts) from an .msa spectrum file. This file may be saved by a number of different EDS acquisition software, but most often is produced as an export from EDAX or Oxford software. This format is a standard, but vendors (such as EDAX) often add other values into the metadata header. See https://www.microscopy.org/resources/scientific_data/ for the fomal specification.
- nexusLIMS.extractors.plugins.edax.get_spc_metadata(filename)[source]#
Get metadata from a .spc file.
Deprecated since version 1.4.0: This function is deprecated. Use
SpcExtractorclass instead.
- nexusLIMS.extractors.plugins.edax.get_msa_metadata(filename)[source]#
Get metadata from an .msa file.
Deprecated since version 1.4.0: This function is deprecated. Use
MsaExtractorclass instead.