GUI basics


Left panel (from top to bottom):

The plot area supports the following mouse commands:

  • Left Click:

    Move the vertical line cursor to the current mouse position.

  • Left Drag:

    Zoom-in to the selected area.

  • Right Click:

    Zoom out.

  • Mouse Wheel:

    Zoom in and zoom out centered around the current mouse position.

Bottom panel: Energy and Counts information corresponting to location selected by the cursor

Menu bar:

  • File
    • Open file

    • Open detector

    • Overlay

    • Save as

    • Export pattern

    • Environment

    • Multiple spectra

  • Control
    • Calibrate Energy

    • Calibrate 2-theta

    • Set 2-theta

    • Set wavelength

    • Presets

  • Display
    • Phase

    • Fluorescence

    • Retions of interest

    • Lattice refinement

    • Colors options

    • ROI options


  • To start data collection, press Erase and then On in ‘Acquisition’ panel.

  • To stop data collection and to save, press Off.

Elapsed time

Elapsed time section

Save data file

Save data file section

Data files are saved with a *.hpmca extension.

File saving options

File saving options section

Regions of Interest (ROI)

There are two methods to add an ROI.

  1. Manual selection of ROI.

  2. Make ROI on all peaks for a crystal by using the JCPDS data.

  1. Manual selection of ROI

    1. Select center of region of interest by moving cursor to that position (Left-click with mouse).

    2. Click, Add button in ‘ROIs’ panel. The button will now read ‘Set’.

    3. Drag left and right extends of the ROI to appropriate positions.

    1. Then, click Set button in ‘ROIs’ panel. The ROI area should now be a different color (default – blue).

    2. Currently selected ROI is indicated by a red cursor above it.

    3. The Centroid of the selected ROI is displayed in top-middle of the plot.

    4. Different ROI can be selected by < and > buttons in the ROI panel.

    5. More information about the ROIs can be displayed in the ‘ROIs control’ by selecting menu: Display/ROIs.

    6. You can change the name of any ROI by double-clicking and typing a new name in the name column.

    7. Peak fit can be displayed by clicking ‘Show fit’ button in ROIs control window.

  1. Make ROIs on all peaks for a crystal by using JCPDS phase

    1. Open ‘Phase control’ window from menu Display ‣ Phase

    1. Select material by opening a jcpds file.

    2. Check if 2\({\theta}\) angle is correct, adjust if needed.

    3. Lines, which indicate positions of the peaks of the material, appear below EDXD data.

    1. The positions of peaks lines can be shifted by changing ‘P (GPa)’, or ‘T (K)’.

    2. Then, click Add ROIS in ‘Phase control’ window to add ROIs for all peaks.

To erase a ROI, please click Delete after selection of the ROI. To erase all ROIs, please click Clear All.

Fluorescence markers

By typing in an element, hpMCA shows K and/or L shell emission lines positions.

Vertical scale

Vertical scale section

Horizontal scale

Horizontal scale section

Energy calibration

Beamline scientist does energy calibration of the germanium solid state detector by using Fluorescence lines of silver at 22.104 keV (K\({\alpha}\)) and 24.942 keV (K\({\alpha}\)1), and gammas from 109Cd (88.04 keV) and 57Co (122.10 keV) at the beginning of each beamtime cycle. Parameters of energy calibration (\(Energy = CAL\_OFFSET + CAL\_SLOPE \cdot Channel\)) can be found in the header of the EDXD data file.


2\({\theta}\) angle calibration

Beamline scientist does 2\({\theta}\) angle calibration at 7°, 15°, 23°, and 31° using unit-cell volume of Au, and make linear equation to calculate 2\({\theta}\) angle.

The following is the procedure for 2\({\theta}\) angle calibration:

  • Collect Au EDXD pattern.

  • Make ROIs for all Au peaks using JCPDS data at 0 GPa.

  • Select Control ‣ Calibrate 2theta… on Menu bar.

  • Please remove weak or overlapping peaks by unchecking them in the column ‘Use?’.


Because the MCA does not have background subtraction feature, background slope at low energy (<~25 keV) probably due to absorption influences on determining peak position. It is better not to use low energy data for 2\({\theta}\) angle calibration. Typically, at 2\({\theta}\) of ~15 °, the first and second peaks show marked deviation from other peaks.

  • Click Compute 2-theta.

  • 2\({\theta}\) value appears in the ‘2\({\theta}\)’ box.

  • Then, please click OK to apply the 2\({\theta}\) calibration.



The 2\({\theta}\) calibration result is also saved in the header of the data file.