Image.from_array()default changed fromtranspose=Truetotranspose=False. The old default silently transposed array data to match a legacy column-major convention inconsistent with the C++ library. Passingtranspose=Trueexplicitly now raises aDeprecationWarning.Image.matrix_sizenow returns the header's(x, y, z)tuple. Previously returned(z, y, x)from the data array shape, inconsistent with the header and the C++ API.requires-pythonbumped to>=3.10(@dataclass(kw_only=True)in the xsdata-generated schema code requires 3.10+).
ismrmrd.util: new module withsign_of_directions,directions_to_quaternion, andquaternion_to_directions(all three available at the top-level package).AcquisitionHeaderandAcquisitiongained channel-mask methods:isChannelActive,setChannelActive,setChannelNotActive,setAllChannelsNotActive(matches C++ISMRMRD_ChannelMask).ProtocolDeserializergainedpeek()andpeek_image_data_type()for non-consuming look-ahead.ProtocolSerializer/ProtocolDeserializerhandleCONFIG_FILE(ID 1) andCONFIG_TEXT(ID 2) message types.ismrmrd.__version__exposed viaimportlib.metadata.
Waveform.setHead()called non-existentactive_channelsfield; corrected tochannels.
- xsdata-generated schema files committed to the repo; no longer regenerated at
install time. Run
python setup.py generate_schemato update them. - CI (both PyPI and conda workflows) now fails fast if committed schema files diverge from a fresh regeneration.
requirements.txtremoved; dev setup:pip install -e ".[dev]".- Python version matrix added to CI (3.10, 3.11, 3.12, 3.13).
dependabot.ymladded for monthly pip and GitHub Actions updates.- Bumped xsdata to 26.2 (
>=26.2runtime,==26.2dev/codegen pin); regenerated schema code (xsdata 26.2 no longer emits redundant"required": Truein field metadata — no behavioral change for this library).
- Fix compatibility with xsdata 26.1.
- Enable re-building and publishing Conda package.
- Remove deprecated macos-13 runner.
See git history.