nexusLIMS.extractors.plugins.profiles.fei_titan_tem_642#

Instrument profile for FEI Titan TEM (642 microscope).

Module Contents#

Functions#

parse_tecnai_metadata

Parse Tecnai-specific metadata from ImageTags.Tecnai.Microscope_Info.

detect_diffraction_mode

Detect diffraction patterns by Mode or Operation Mode values.

Data#

fei_titan_tem_642_profile

An instrument profile for the FEI Titan TEM

API#

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

Parse Tecnai-specific metadata from ImageTags.Tecnai.Microscope_Info.

The 642 Titan TEM stores extensive microscope parameters in a delimited string format that needs special parsing.

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

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

Returns:

Modified metadata dictionary with parsed Tecnai metadata

Return type:

dict

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

Detect diffraction patterns by Mode or Operation Mode values.

The 642 TEM indicates diffraction via specific Mode strings.

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_tem_642.fei_titan_tem_642_profile#

‘InstrumentProfile(…)’

An instrument profile for the FEI Titan TEM