nexusLIMS.extractors.plugins.profiles.fei_titan_stem_643#

Instrument profile for FEI Titan STEM (643 microscope).

Module Contents#

Functions#

add_metadata_warnings

Add warnings for potentially inaccurate metadata fields.

detect_eftem_diffraction

Detect and flag EFTEM diffraction patterns.

Data#

fei_titan_stem_643_profile

An instrument profile for the FEI Titan STEM

API#

nexusLIMS.extractors.plugins.profiles.fei_titan_stem_643.add_metadata_warnings(metadata: dict[str, Any], context: ExtractionContext) dict[str, Any][source]#

Add warnings for potentially inaccurate metadata fields.

The 643 Titan STEM has known issues with detector, operator, and specimen metadata accuracy.

Parameters:
  • metadata – Metadata dictionary with ‘nx_meta’ key

  • context – Extraction context (unused but required by profile signature)

Returns:

Modified metadata dictionary with warnings added

Return type:

dict

nexusLIMS.extractors.plugins.profiles.fei_titan_stem_643.detect_eftem_diffraction(metadata: dict[str, Any], context: ExtractionContext) dict[str, Any][source]#

Detect and flag EFTEM diffraction patterns.

When Imaging Mode is “EFTEM DIFFRACTION”, change DatasetType to Diffraction.

Parameters:
  • metadata – Metadata dictionary with ‘nx_meta’ key

  • context – Extraction context (unused but required by profile signature)

Returns:

Modified metadata dictionary with updated dataset type if applicable

Return type:

dict

nexusLIMS.extractors.plugins.profiles.fei_titan_stem_643.fei_titan_stem_643_profile#

‘InstrumentProfile(…)’

An instrument profile for the FEI Titan STEM