You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a reader for the raw X-ray spectra (.xpoints) of the FEI/Thermo Fisher Mineral Liberation Analyser (MLA), see mla_xpoints-format. (#561)
Bug Fixes
Fix NeXus default signal selection for files with a single entry and no root default attribute. The entry's default NXdata group is now selected instead
of returning additional datasets as separate signals. (#542)
Fix the TIFF reader swapping the x and y pixel sizes of FEI/Thermo Fisher, TVIPS and Olympus SIS files, which gave wrong calibrations for images with non-square pixels. (#556)
Saving 32-bit signed integer data (int32) to PNG now raises an
informative error explaining that the data type needs to be changed
(e.g. cast to np.uint16), since Pillow >=13.0.0 dropped writing
32-bit ("I" mode) images to PNG, which used to fail with a cryptic OSError. (#558)
Use the X column of DATATYPE: XY MSA files for the signal axis, instead of OFFSET and XPERCHAN. When the X values are not evenly spaced, the signal gets a non-uniform axis, which the MSA writer now saves as XY data. (#564)
Loading a NeXus file containing a hard-link cycle between groups no longer recurses until the recursion limit is hit: traversal stops when a hard link leads back to a group on the path from the root, while a hard link aliasing a group from a different path is still followed. (#573)
Reject files whose ZSPY arrays select the Pickle codec. The check reads the
selected raw array metadata, including the N5 codec mapping that Zarr itself
builds, before any array or codec is constructed. (#575)
The EMPAD reader now rejects XML files whose raw filename resolves outside
the scan directory, preventing crafted files from disclosing local files.
The JEOL reader now rejects ASW project references that resolve outside the
project directory, and recursive ASW references raise a clear error instead
of exhausting the recursion limit. (#576)
Improved Documentation
Add Security and untrusted files guidance on
resource exhaustion, NeXus hard-link cycles, and unaddressed HDF5 external
references. The guidance explains why only trusted files should be opened. (#571)
Add a Security section to the README that links the user guide's security
page, so users arriving from the repository or PyPI find the preventive
measures for untrusted files. (#572)
Maintenance
Adopt the HyperSpy AI-assisted contribution policy, shared compliance checks, and a
repository-specific AGENTS.md knowledge base for contributors and coding agents. (#568)
Require Python >= 3.11 and Pillow >= 13.0.0, and include the image extra in rosettasciio[all] so the documented all-extras installation always installs a
Pillow release with the decoder memory-safety fixes. (#574)