Espm

Latest version: v1.1.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.3

------------------

1.1.2

Major changes :

* The `espm.datasets.EDSespm` now inherits from the `exspy.signals.EDSTEMSpectrum` enabling all the corresponding functionalities.
* EDXS model : It is possible to add ignored elements such as Cu (`ignored_elements = ['Cu']`), so that it is fitted independently of the mass-thickness. It helps the fitting process for stray X-rays from the sample environment such as the Cu grid.
* Fitting of 1D spectra : Added functionalities to fit and quantify 1D spectra.
* Energy windows on which the bremsstrahlung is fitted can be set with the `select_background_windows` gui method. It also displays the fitted background.

Syntax changes :

* The methods setting the metadata that are relevant for modelling are now functionning like exspy. The microscope parameters are set using exspy's `set_microscope_parameters` method. The metadata of the `espm.datasets.EDSespm` object can be set using the `set_analysis_parameters` method.
* Currently, the beta_tilt has to be set using `data_object.metadata.Acquisition_instrument.TEM.Stage.beta_tilt = value`.

Technical changes :

* Update of the installation process by using pyproject.toml

1.1.1

* Switching back to traits 6.0.0 and above that is now compatible with hyperspy 2.0.0 and above.
* Update of the notebooks to be compatible with the new version of the package.
* Adding a filter to the generation of the G matrix so that lines outside the energ range are correctly ignored.

1.1.0

* Fixing the version of traits, hyperspy 2.0.0 is not compatible with traits 6.0.0 and above.

1.0.1

------------------

First patch release

* New notebook to reproduce the results of the paper
* Fixing some minor bugs
* Adding fixed stoichiometries in the G matrix

1.0.0

------------------

First official release

* All important part of the documentation are present
* All main functionality tested

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.