Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
- 0.4.11
- Add pulse properties for off-resonance
- 0.4.9 & 0.4.10
- Fix ismrmrd export
- 0.4.8
- New `backend="pulseq_rs"` option on `Sequence.import_file` that parses
`.seq` files through [pulseq-rs](https://github.com/pulseq-frame/pulseq-rs)
via new PyO3 bindings in the `_prepass` extension; default backend
remains `pydisseqt`. Forwards `larmor_hz`, `fov_scale`, `fov_pos`,
`fov_rot`, and `soft_delays` to the pulseq-rs interpreter.
- New `Sequence.get_adc_labels(name)` returns the pulseq label
(`lin`, `par`, `seg`, `slc`, …) for every measured ADC sample as a 1-D
`int32` tensor — useful for reconstruction.
- New `Sequence.get_label_changes(name)` returns `(rep_index, value)`
pairs at each per-repetition label transition, for splitting a
sequence on label state. Raises if a single repetition has ADC
samples with multiple distinct values for the label.
- `Repetition` gained an `adc_labels: dict[str, torch.Tensor]` attribute
populated by the pulseq-rs backend; empty for the pydisseqt backend.
- 0.4.7
- Bumped minimum Python to 3.10
- Added `pp14` extra (`pip install mrzerocore[pp14]`) that pins
`pypulseq < 1.5`
- Bugfix: removed a double degrees→radians conversion in the
`mr0_TSE_2D_multi_shot_seq` playground notebook
- 0.4.6
- Small bugfixes
- restrict pypulseq dependency to < 1.5.0
Expand Down
56 changes: 51 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mrzero_core"
version = "0.4.6"
version = "0.4.11"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,3 +10,4 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.21.2", features = ["abi3-py37", "extension-module", "num-complex"] }
num-complex = "0.4.6"
pulseq-rs = { git = "https://github.com/pulseq-frame/pulseq-rs.git" }
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "mrzerocore"
version = "0.4.6"
version = "0.4.11"
description = "Core functionality of MRzero"
authors = [
{name = "Jonathan Endres", email = "jonathan.endres@uk-erlangen.de"},
Expand All @@ -16,12 +16,12 @@ classifiers = [
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: GNU Affero General Public License v3",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"ismrmrd",
"matplotlib>=3.5",
"pydisseqt>=0.1.13",
"pypulseq<1.5.0",
"pypulseq<1.5",
"requests>=2.20",
"scikit-image",
"scipy>=1.7",
Expand All @@ -31,6 +31,11 @@ dependencies = [
"nibabel",
]

# --- OPTIONAL INSTALLS ---
[project.optional-dependencies]
# to select pypulseq 1.4 or <1.5 use pip install mrzerocore[pp14]
pp15 = ["pypulseq"]

[project.urls]
Repository = "https://github.com/MRsources/MRzero-Core"
Documentation = "https://mrsources.github.io/MRzero-Core/"
Expand All @@ -41,3 +46,4 @@ profile = "release"
strip = true
module-name = "MRzeroCore._prepass"
python-source = "python"

Loading
Loading