TEM images, EDS, EELS and diffraction, native on Apple silicon.
翻译准备中
正在加载完整 README。
查看完整 README ↗TEM and SEM images, EDS and EELS spectrum images, electron diffraction and EBSD, analysed natively on the Mac.
macEM is the companion to mac4DSTEM. Both are free, open source and built for Apple silicon.
Get the signed and notarised DMG from the latest release. It needs macOS 26 or later on an Apple silicon Mac. The SEM rooms and SEM files below are not in a release yet: to use them now, build the app yourself.
Up to 1.3 the app was called macTEM. To update, quit macTEM, drag macEM to Applications, then move macTEM to the Trash.
Your recent files, the folders you allowed and your .mactem.h5 session files carry over.
Open a file and work through the sidebar. It lists five workspaces, Imaging, Spectroscopy, Diffraction, EBSD and Results, and under the one in front its rooms. What the file holds decides the room it opens in. macEM reads:
TKD patterns are read and indexed as EBSD patterns are; no TKD dataset has been checked in the app yet.
Some files are read together with a file of the same name beside them, so keep them in one folder: an EDAX .spd or .lsd with its .spc, an EDAX .up1 or .up2 with its .ang, and an Oxford .ebsp with its .ctf. A NORDIF Pattern.dat is read with the Setting.txt in its folder: the first time, the app asks for that folder. A JEOL .asw project needs the files it names; the sandboxed app is not given those yet, so it may not open.
No file at hand? Help > Open Demo Data opens generated TEM documents and three public SEM datasets.
The rooms:
The TEM methods compute with the suite's Swift kits, each checked against the Python package it ports, within that
package's own tolerance: FormatoKit (file readers),
ImagoKit (FFT and image maths),
DiffractoKit (crystallography) and
SpectroKit (EDS and EELS). The SEM methods are ported into the app itself and
checked the same way, against pinned versions of kikuchipy (pattern files,
processing and dictionary indexing), PyEBSDIndex (Hough
indexing and NLPAR), orix (orientations, colour keys, texture, and .ang and .ctf
files), DefDAP (grains, GOS and slip; KAM and GND with the departures listed
in docs/parity.md), eXSpy (SEM-EDS lines),
RosettaSciIO (the Bruker, EDAX and JEOL SEM-EDS files, and the Thermo Fisher
and Zeiss TIFF settings) and NexusLIMS (the Tescan TIFF settings). The
Kikuchi bands are checked against kikuchipy and diffsims. Which SEM function is
checked against what, and to which tolerance, is in docs/parity.md. Every result names the method
that made it.
You need Xcode 27 or Xcode 26.6 on an Apple silicon Mac with macOS 26 or later. Open macTEM.xcodeproj, pick the macTEM scheme and press ⌘R. The first build fetches the kits at
the versions in Package.resolved. The tests run with tools/run-tests.sh unit. How the code is organised is in
docs/architecture.md.
Please open an issue. Bug reports with the file type and what you expected help most. How to contribute is in
CONTRIBUTING.md; security reports go through SECURITY.md.
If you use macEM in published work, please cite it and the Python packages whose methods it follows. All are in
CITATION.cff.