Skip to main content

SYNCmoss

Mössbauer Spectroscopy Analysis Software

References

Older version can be find https://gitlab.esrf.fr/yaroslav/syncmoss

Related article: Yaroslavtsev S., J. Synchrotron Rad., 2023 doi.org/10.1107/S1600577523001686

To run on Windows and MacOS

go to releases: https://github.com/sergey-yaroslavtsev/syncmoss/releases

download Windows related archieve, extract it, and run .exe

MacOS is not well tested. download MacOS related .dmg, install it, (pay attention to the comment in release)

To run on Linux

# create venv
python -m venv syncmoss
# activate it
source syncmoss/bin/activate
# install latest release syncmoss
pip install syncmoss
# or install directly from the repo
pip install git+https://github.com/sergey-yaroslavtsev/syncmoss.git
# run it (and try to enjoy it) 
syncmoss

Main features

Both kinds of Mössbauer source

  • SMS — synchrotron Mössbauer source (polarized, settable polarization degree) and CMS — conventional radioactive source (unpolarized)
  • Instrumental function found from a spectrum of a standard absorber (single line, α-Fe, or any model, also jointly over several spectra); for SMS also a simulated ⁵⁷FeBO₃ source; for CMS the source line width and the cosine smearing of the source–aperture geometry
  • Each .dat file can carry its own instrumental function

Thick samples and proper handling of polarization

  • Full transmission integral, calculated in parallel on all cores
  • Every model builds a 2x2 cross-section matrix, so absorber thickness, polarization and multi-line interference are treated together
  • Layer marker: stack layers of different orientation or composition, each with its own transmission matrix
  • Magnetic texture: uniaxial order A on every anisotropic component plus the magnetic polar order Am on the Faraday-active ones - a random powder, a textured foil and a single crystal are the same model at different values

Models

  • Singlet, doublet, sextet
  • Full Hamiltonian for the single crystal, mosaic textured and powder cases (one model, three order parameters)
  • 2-state relaxation and many-state superparamagnetic relaxation
  • Anharmonic spin modulation (ASM)
  • MDGD (instead of xVBF https://doi.org/10.1016/j.nimb.2025.165669)
  • SCDW: spin- and charge-density-wave model
  • A measured spectrum used as a component
  • Multi-dimensional functional distributions of any parameter, with correlations
  • Distribution reconstruction with regularization (on testing)
  • Thickness distribution of the sample
  • Expressions and links between parameters
  • Library with import/export - create your own and share it with others, ~50 reference phases included

Fitting

  • Maximum-likelihood fits for Poisson counts, with the exact derivatives of the model
  • Errors and correlation matrix; fit-quality statistics (χ², deviance, misfit) telling a model problem from counting noise
  • Several spectra: sequence (batch) fitting, simultaneous fitting with one model (shared and per-spectrum parameters) or with a model built spectrum by spectrum
  • Components of many spectra (a series or a map): the spectral components found in the data and their amount in every spectrum
  • Exclusion regions: velocity ranges left out of the fit
  • Simulation without a spectrum

Spectra

  • RAW (.mca, .cmca, .ws5, .w98, .moe, .m1, .mcs) and folded .dat files; online fitting along with the experiment (Bliss channel)
  • Velocity calibration with α-Fe (sinusoidal or linear drive), RAW → .dat
  • Each point modelled as the average over its channel's velocity range
  • Sum spectra, subtract a model, create a spectrum from a model

Interface

  • Interactive plot: zoom, components, distributions, a result window per spectrum after a simultaneous fit
  • Results saved as text tables, figures (PNG, SVG) and a ready-to-load model
  • Light and dark themes, built-in help and description of every model

Bug report and Feature request

Both are very welcome — SYNCmoss gets better mainly from user feedback.

When something goes wrong the program opens a report a bug window containing the error message.

Reporting a bug

Please describe the problem and provide all related material:

  • what you did — which button or action created the problem, and what you expected to happen instead;
  • the error message — copy it from the report a bug window (or from the terminal);
  • the spectrum file(s) and the model (.mdl) you were working with — without them most problems cannot be reproduced;
  • the SYNCmoss version and your operating system;
  • a screenshot, if the problem is about what is drawn or displayed.

Requesting a feature

Please describe what exactly is needed: the physics or the workflow behind it, where in the program it should appear, and — if it exists elsewhere — a reference, an article or an example file showing the expected result.

Author

Yaroslavtsev Sergey (ESRF | ADA and ID14)

License

This software is licensed under the MIT License. See LICENSE for details.

Copyright (c) European Synchrotron Radiation Facility (ESRF)

Third-Party Software

This software uses third-party libraries that are distributed under their own licenses:

  • PySide6: LGPL v3.0 (dynamically linked — does not affect MIT licensing of this project)
  • NumPy: BSD 3-Clause License
  • SciPy: BSD 3-Clause License
  • Matplotlib: Matplotlib License (BSD-compatible)
  • Numba: BSD 2-Clause License
  • llvmlite: BSD 2-Clause License (contains LLVM: Apache License 2.0 with LLVM Exceptions)
  • Bliss (optional, not included): LGPL v3.0 — imported only if installed separately (Linux beamline installations), to read spectra online from a Bliss channel; never part of the bundles

For complete third-party license information, see NOTICE.txt. The Windows and macOS bundles also carry the full license text of every third-party package they contain, in a licenses folder; in the program, Supp → License shows all of it.

Metadata

Release files for syncmoss 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for syncmoss 0.8.0
File Size Uploaded Provenance Actions
syncmoss-0.8.0.tar.gz 1.6 MB Without provenance Details for syncmoss-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for syncmoss 0.8.0
File Interpreter ABI Platform Actions
syncmoss-0.8.0-py3-none-any.whl Python 3 none any Details for syncmoss-0.8.0-py3-none-any.whl

Total release size: 2.6 MB

Release files / syncmoss-0.8.0.tar.gz

Download URL syncmoss-0.8.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
d2196d9c334427281f306883fe3d1ac8b510e6fefe4e229bae90f736302573bb
BLAKE2b-256 checksum
How to use checksums
5aa71b97c925f71e8efc7c895440c9a536751a29591d5b1e734e810a6eeb8cec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / syncmoss-0.8.0-py3-none-any.whl

Download URL syncmoss-0.8.0-py3-none-any.whl
Size 984.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0d17416f843cf194ca9be88eea77b42011ab84e60def44a98af254819fec042
BLAKE2b-256 checksum
How to use checksums
225b2d1ddf4f84729cfe1eb51b440290de1d67dcd167524734bc6ad62f14618c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for syncmoss 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page