Xraylarch

Latest version: v2025.1.1

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

Scan your dependencies

Page 2 of 3

0.9.60

Added

- each Group of XAFS data will have a Journal - a list of entries with (label,
value, timestamp) that will be used to record processing steps. The XAFS
processing functions will write the parameters they were called with to this
Journal. Users can add notes as Journal entries too.

- XAS Viewer allows editing of program-wide Preferences, that set the default
values and settings for the various analysis steps and program behavior.

- In many windows showing analysis results, XAS Viewer supports setting the
plot window number (1 through 9) so that more than one or two plot windows
can be shown at a time.

- Session-wide Project files (.larix extension) can now be saved and reloaded.
These files contain essentially all the arrays for each Group of data,
including Journals, processing results, and fit histories. The "processing
workspaces" for pre-edge peak fitting, PCA, Linear Combinations,
Regressions, and Feff fitting. These Session files can be saved/loaded by
plain Python commands. When loading these into XAS Viewer, the fit histories
and workspaces will be available. To allow better debugging and tracking of
provenance, these Session Files include "configuration" data about the
Session (python, larch version, etc) and a complete set of Larch commands
for the session, though session commands are not "restored". The files are
compressed and use a customized JSON encoding.

- These Session files are now auto-saved by XAS Viewer periodically (every 15
minutes of activity, by default, and rotated so that a small number (3, by
default) of the most recent auto-saved files are kept. On startup, "restore
the last session" is available (Ctrl-I).

Fixed

- XAS Viewer PCA fixed.
- XAS Viewer now displays how each Group was created, for example
"-log(i1/i0)".
- XAS Viewer panels have more uniform energy range settings, relative to E0,
per group.
- XAS Viewer has more consistent coloring and font sizes.
- XAS Viewer Quit dialog now lists the last saved Session file.
- XAS Viewer now works even harder to keep _xasgroups correct.
- pycifrw added as a dependency from conda-forge
- copying parameters from one group to another is much improved.
- rebinning of EXAFS data better avoids duplicate energies.
- a few bugs with the handling of some CIFs were improved
- Feff calculations now default to L3 edge for Z>= 60.
- Python 3.10 is better supported, Python 3.7 seems to still work.

0.9.59

[Release announcement]()

Added
- Reading files from [FDMNES](http://fdmnes.neel.cnrs.fr/).
- XAS Viewer allows reading in a reference spectrum from the same file as a spectrum.
- XAS_Viewer better supports each spectrum having an "energy reference spectrum". This
can be set on reading spectra, or afterwards. Recalibratng energies can propogate
calibrations to spectra that share a reference.
- XAS Viewer better supports an "energy shift" for each spectrum -- this can be copied
to other spectra or "undone" to go back to the original (as read-in) data.
- XAS Viewer: data can be deglitched while plotting in "k" space"
- XAS Viewer: "flattened" spectra can be used for linear analysis in more places.
- Example using Jupyter and Fe pre-edge peaks.

Changed
- XAS Viewer: the action of the "pin icon" for selecting points from a plot has now changed.
Previously hitting the pin icon meant "use most recently clicked point on plot". Now,
hitting the pin icon starts a timer which will look for mouse clicks *after* hitting
the pin icon:
a) if there are new mouse clicks on the plot, wait at least 3 seconds, and return
the most recent position.
b) if there are no mouse clicks after 15 seconds, return the most recent position
(even before clicking on the pin)


Fixed
- Reading columns names from one line header, and for files that announce as XDI but
break XDI specs (say, by having >128 columns).
- Better handling of CIFs with partial occupancy when generating feff.inp.
- NLEG is set to 6 by default when generating feff.inp.
- By default, hydrogen atoms are removed when generating feff.inp (XAS Viewer and cif2feff)
- Athena project files with very long journals are better supported.
- Some permission problems for installation of Applicatons on MacOS have been avoided.
- "get current working directory" is now tested uniformly for permission errors.
- MapViewer: more robust and flexible search for tomographic rotation axis.
- Fix for spec/HDF5 files with broken "scan" link.
- XRF Display spectral fiitting: faster, better guesss for parameter scales, and show
filled eigenvectors (wxmplot 0.9.49)
- MapViewer / XRF Display: much improved ADD ROIs, including pushing XRF ROIs added in
XRF Display back to the list in Mapviewer.
- MapViewer: The order of ROIs added is now preserved, including for work arrays and
Abundances from XRF analysis.


Removed
- Plugins are now completely removed
- 32-bit Windows is no longer supported: libraries and executables have been removed.
- Cromer-Libermann is more deprecated and hidden (but not completely gone, yet)

0.9.58

[Release announcement](https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2022-January/010373.html)

Added
- [xas_viewer] add '-' operator in file reader

Fixed
- bug in `larch.io.specfile_reader` with the upgrade to `silx==1.0.0` ([332](https://github.com/xraypy/xraylarch/issues/332))
- bug with loading deprecated `numpy` functions ([335](https://github.com/xraypy/xraylarch/issues/335))
- installation instructions in documentation ([333](https://github.com/xraypy/xraylarch/issues/333))

Removed
- deprecated plugins mechanism

0.9.57

[Release announcement](https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2021-December/010345.html)

Added
- Read RIXS files from BM16 at ESRF.
- Option `--devel` in `GetLarch.sh` to install from source.
- xas_viewer
- `File->Save as`

Changed
- Module `rixsdata` moved from `larch.qtrixs` to `larch.io`
- Force UTF8 encoding in `read_ascii`
- xas_viewer
- `File->Save` overwrites by default.
- Better deglitching dialog, including viewing data as chi(E).
- Loading a Peak Model is now allowed at any time.
- Default Project filenames are taken from timestamp.

Fixed
- Problem with yaml load in `GetLarch.sh`
- Problem in interpolation with nearly repeated x values
- Messages reporting progress when processing XRF Maps
- Reading Athena Project files with non-ASCII characters

0.9.56

[Release announcement](https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2021-October/010319.html)

0.9.55

[Release announcement](https://millenia.cars.aps.anl.gov/pipermail/ifeffit/2021-July/010261.html)

Fixed
- Larch's GUI applications on non-US Windows 10 machines.
- There was a serious bug (possibly since Larch 0.9.52) for using wxPython applications with Python>=3.8 and wxPython>=4.1.0.
- Fixes for turning CIF structures into Feff inputs and running Feff:
- more external CIF files from Crystallography Open Database and Materials Project can be converted to Feff.inp.
- external Feff.inp files can be loaded and run.
- the name of the folder created for any Feff calculation can be renamed before running Feff.
- Fixed a bug on the EXAFS / background subtraction panel on "copied groups" to ensure that processing parameters (kweight, rbkg, etc) are kept separate.

Changed
- the plot selection choice in the XAS normalization panel for "one group" and "selected groups" are no longer reset each time a data set is selected.

Added
- A reference spectrum can now be set for any XAFS spectrum.
- For linear combination fitting, a single energy shift can be varied during the fit, shifting the unknown data to match the combination of a (presumably aligned) set of standards.
- For pre-edge peak fitting and Feff Path fitting, entries in the "fit history" can have user-specified labels which can be more meaningful than the default "Fit 1", "Fit 2", etc.
- testing is now done only with Github Actions, not with the appveyor service.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.