Logo

User Documentation:

  • User Documentation
    • Installation
    • Quickstart Guide
      • Workflows
        • EDS compositional analysis for phase identification
        • Fit and quantify EDS spectra
        • Measure particle size distribution via SEM
        • Quantify the extent of intermixing in precursor powders
    • Tutorials
      • GUI tutorials
        • Tutorial: Get started with the AutoEMX GUI
        • Tutorial: EDS compositional analysis for phase identification in the GUI
        • Tutorial: Fit and quantify individual spectra in the GUI
      • Script tutorials
        • Tutorial: EDS compositional analysis for phase identification
        • Tutorial: Fit and quantify individual spectra acquired with AutoEMX
        • Tutorial: Fit and quantify individual spectra exported by commercial EDS software
        • Tutorial: Quantify externally exported spectra in batch
        • Tutorial: Measure particle size distribution via SEM
        • Tutorial: Quantify the extent of intermixing in precursor powders
    • Topic Guides
      • Quantification flags (quant_flag)
        • Flag meanings
        • How to use them
      • Clustering modes
        • Clustering algorithms
        • Geometries
        • Zeros and trace elements (Aitchison)
        • How 'auto' chooses
        • Examples
        • Which setting to use
      • Number of clusters
        • Step 1: single-cluster check
        • Step 2: choosing k
        • Step 3: merging clusters
        • Setting k yourself
        • Reading the result
      • Mixture decomposition
        • The idea
        • Reading the results
        • Plots
        • Things to keep in mind
        • Changing the defaults
    • AutoEMX Public API
      • autoemx.config package
        • Submodules
      • autoemx.runners package
        • Submodules

Maintainer Documentation:

  • Maintainer Documentation
    • EDS Detector Calibration
    • EDS Experimental Standard Collection
    • Calibrate a new Detector for EDS fit and quantification
    • Add new Electron Microscope Driver
    • AutoEMX Public API
      • autoemx.XSp_calibs package
      • autoemx.EM_driver package
        • Submodules
      • autoemx.core package
        • Subpackages
        • Submodules
AutoEMX
  • autoemx.utils package
  • View page source

autoemx.utils package

Created on Wed Dec 17 18:06:04 2025

@author: Andrea

Submodules

  • autoemx.utils.constants module
  • autoemx.utils.helper module
    • Utility Functions for EDS Spectrum Analysis and Data Handling
      • Main Features
    • atomic_to_weight_fr()
    • composition_as_weight_dict()
    • weight_to_atomic_fr()
    • to_latex_formula()
    • print_nice_1d_row()
    • print_element_fractions_table()
    • print_single_separator()
    • print_double_separator()
    • AlphabetMapper
      • AlphabetMapper.get_letter()
    • make_unique_path()
    • get_sample_dir()
    • load_msa()
    • parse_xsp_spots_image_name()
    • draw_scalebar()
    • Prompt_User
      • Prompt_User.title
      • Prompt_User.message
      • Prompt_User.execution_stopped
      • Prompt_User.ok_pressed
      • Prompt_User.root
      • Prompt_User.press_ok()
      • Prompt_User.stop_execution()
      • Prompt_User.run()
    • RefLineError
    • MissingHintError
    • EMError
    • EDSError

© Copyright 2026, Andrea Giunto.

Built with Sphinx using a theme provided by Read the Docs.