pulserver 0.4.20__tar.gz → 0.4.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pulserver-0.4.20 → pulserver-0.4.22}/PKG-INFO +3 -3
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/reconstruction-plugins.md +1 -1
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/scanner-sequences.md +13 -1
- {pulserver-0.4.20 → pulserver-0.4.22}/pyproject.toml +2 -2
- pulserver-0.4.22/src/pulserver/_zoo/recon/qsm.py +83 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/epi2d.py +24 -3
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/epi3d.py +24 -7
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/fse3d.py +5 -2
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/fse_pd3d.py +115 -22
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/epi.py +175 -31
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/pics.py +26 -9
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_host.py +21 -2
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_epi.py +180 -14
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_handlers.py +15 -2
- pulserver-0.4.22/tests/recon/test_qsm_first_echo_maps.py +76 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_zoo_evaluation.py +82 -2
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_zoo_fov_offset.py +12 -3
- pulserver-0.4.20/src/pulserver/_zoo/recon/qsm.py +0 -3
- {pulserver-0.4.20 → pulserver-0.4.22}/.claude/skills/build-and-test/SKILL.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.claude/skills/write-documentation/SKILL.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.dockerignore +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.gitattributes +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/dependabot.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/codeql.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/console.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/docs.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/fields.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/image.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/style.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/tag.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/tags-release.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/test-ci.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.github/workflows/wheels.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.gitignore +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/.pre-commit-config.yaml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/AGENTS.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/CMakeLists.txt +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/CODE_OF_CONDUCT.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/CONTRIBUTING.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/LICENSE +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/LICENSES/gadgetron-python-MIT.txt +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/NEXT.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/README.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/SECURITY.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/SKILLS.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/codecov.yml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docker/Dockerfile +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docker/compose.yaml +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docker/entrypoint.sh +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docker/limits/limits.txt +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docker/smoke.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/architecture-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/architecture.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/capabilities.js +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/context-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/context.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulseg-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulseg.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulserver-logo-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulserver-logo.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulserver-mark-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulserver-mark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/pulserver.css +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/repetition-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/repetition.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/safety-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/safety.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/session-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/session.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/virtual-dark.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_static/virtual.svg +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_templates/autosummary/base.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_templates/autosummary/class.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_templates/autosummary/enum.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/_templates/autosummary/function.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/design.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/host.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/ir.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/mrd.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/protocol.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/proxy.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/recon.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/validate.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api/virtual.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/api_objects.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/colab.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/conf.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/documentation.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/installation.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/calibration.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/ir-cache.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/protocol-wire.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/sar-ratios.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/sequence-definitions.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/internals/virtual-scanner.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/releases.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/style.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/terminology.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/developer-guide/workflow.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/examples/course.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/examples/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/examples/tours.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/architecture.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/protocol.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/raw-data.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/reconstruction-session.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/reconstruction.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/safety-checks.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/scanner-representation.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/explanations/virtual-scanner.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/figure_style.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/misc/contributors.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/misc/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/misc/license.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/misc/related.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/index.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/reconstruction-client.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/running.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/docs/user-guide/virtual-scanner.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/01_protocol_to_image.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/02_sequence_plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/03_scanner_representation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/04_reconstruction_plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/05_recon_plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/README.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/01-course/_gallery_header.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/02-tours/01_protocol_resolution.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/02-tours/02_segmentation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/02-tours/README.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/02-tours/_gallery_header.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/README.rst +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/gallery/_gallery_header.md +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/scripts/build_docs.sh +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/scripts/check_throughput.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/scripts/format_and_lint.sh +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/scripts/make_artwork.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/scripts/publish_docs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/setup.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/CMakeLists.txt +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/cache/pulseg_cache.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/core/pulseg_core.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/core/pulseg_error.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/core/pulseg_math.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_cache.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_collection.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_config.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_errors.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_io.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_playout.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_protocol.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseg/pulseg_types.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseq/pulseq.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseq/pulseq_config.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/include/pulseq/pulseq_types.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/io/pulseg_opts.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/io/pulseg_protocol.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/playout/pulseg_playout.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/pulseg_internal.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/pulseq/pulseq_internal.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/pulseq/pulseq_shape.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/structure/pulseg_descriptor.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/structure/pulseg_getters.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/structure/pulseg_repetition.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/c/structure/pulseg_waves.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/fourier/bindings.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/fourier/bindings.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/fourier/parallel.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/fourier/timeline.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/fourier/timeline.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/collection.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/dedup.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/from_libraries.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/from_libraries.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/gradient_stretch.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/pulseg_convert.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/pulseq_file.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/pulseq_file.h +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/structure.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/wave_plan.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/ir/waves.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/module.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/native.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/playout.cpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/cpp/playout.hpp +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_accelerators.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_cli.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_labels.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_logs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_memory.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_plugins.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_site_packages.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_evaluation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_fse.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_inversion.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_pmc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_saturation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_slab.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/_user.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/epi.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/nufft.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/pics.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/pics_train.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/recon/pmc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/bssfp2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/_entries.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/_options.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/_plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/_recon_parameters.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/design/_rf.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/__main__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_blocks.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_command.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_limits.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_memo.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_push.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_server.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_service.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_slew.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/host/_store.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_calibration.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_checks.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_convert.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_playout.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_source.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_vendor.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/ir/_waves.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/_acquisitions.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/_header.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/_images.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/_metadata.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/mrd/_sequence.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/protocol/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/protocol/_keys.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/protocol/_prescription.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/protocol/_schema.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/protocol/_wire.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/__main__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_designs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_enrich.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_held.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_intake.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_local.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_motion.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_proxy.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_queue.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_receiver.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_seqdesc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/proxy/_workers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/__main__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_buffers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_calibration.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_correct.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_exam_image.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_figure.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_loader.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_replay.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/application.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/concurrency.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/connection.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/constants.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/exam.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/offline.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/readers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_runtime/writers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/_units.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/gadgets.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/nufft.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/nufft_train.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/pics_train.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/pmc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/handlers/qsm.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/recon/plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/validate/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/validate/_command.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/validate/_compare.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/validate/_validate.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/validate/_xml.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/__init__.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_brainweb.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_client.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_coils.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_command.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_console.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_export.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_fourier.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_girf.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_localizer.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_motion.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_phantom.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_stream.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_timeline.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/src/pulserver/virtual/_tissue.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_analytic.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_seqtext.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_synthetic.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_virtual.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/_zoo.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/conftest.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/bssfp.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/fixtures/sequences/zte_3d.seq +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/check_initializers.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/check_segment_plays.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/print_wave_samples.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/read_cache_summary.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/read_rf_definitions.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/read_rf_timing.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/native/replay_an_instance.c +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/crash.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/gre2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/gre2d_raw.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/rf_train.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/stall.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/strong.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/tiny.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/plugins/typed.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_app.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_buffers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_calibration.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_coil_compression.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_connection.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_correct.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_exam_image.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_flags.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_gadgets.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_images.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_intensity_correction.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_loader.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_mrd2dicom.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_nufft.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_pics.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_pmc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_prewhiten.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_qsm.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_readers_writers.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_slots.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon/test_units.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/children.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/crash.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/device.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/exam.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/gre2d.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/recon_plugins/pose.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_any_rotation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_console.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_console_sequences.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_design_memo.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_design_push.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_design_server.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_design_service.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_docs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_docstring_defaults.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_docstrings.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_enrich.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_exam_artifacts.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_exam_calibration.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_exam_sharing.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_host_slots.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_image.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_checks.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_designed.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_extensions.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_gradient_stretch.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_grouping.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_labels.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_playout.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_prescan.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_prescan_tour.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_profile.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_receive_calibration.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_repetition.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_rf.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_rf_freq.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_segments.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_source.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_steady_excitation.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_timing.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_vendor.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_ir_waves.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_keys.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_limits.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_logs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_memory.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_motion.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_mrd_images.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_mrd_sequence.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_played_time.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_plugin_options.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_plugins.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_protocol.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_proxy.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_publish_docs.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_resolution.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_rf_layout.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_scan_command.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_scan_time.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_seqdesc.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_sequence_plugin.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_site_packages.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_slew_derate.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_smoke.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_validate.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_brainweb.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_clock.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_coils.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_export.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_fourier.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_localizer.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_virtual_sequences.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_wire.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_zoo_defaults.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_zoo_mrd_labels.py +0 -0
- {pulserver-0.4.20 → pulserver-0.4.22}/tests/test_zoo_wave.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulserver
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.22
|
|
4
4
|
Summary: Orchestrator for MR acquisitions: sequence design, scanner preparation and reconstruction.
|
|
5
5
|
Keywords: mri,pulseq,mrd,ismrmrd,reconstruction,scanner
|
|
6
6
|
Author-Email: Matteo Cencini <matteo.cencini@gmail.com>
|
|
@@ -21,14 +21,14 @@ Project-URL: Documentation, https://pulserver.github.io/pulserver/
|
|
|
21
21
|
Project-URL: Issues, https://github.com/pulserver/pulserver/issues
|
|
22
22
|
Project-URL: Source, https://github.com/pulserver/pulserver
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
|
-
Requires-Dist: pypulseqpp>=0.0.
|
|
24
|
+
Requires-Dist: pypulseqpp>=0.0.68
|
|
25
25
|
Requires-Dist: numpy>=2.2.6
|
|
26
26
|
Requires-Dist: packaging>=24
|
|
27
27
|
Requires-Dist: ismrmrd>=1.15.0
|
|
28
28
|
Requires-Dist: pydicom>=3.0.2
|
|
29
29
|
Requires-Dist: torch>=2.4
|
|
30
30
|
Requires-Dist: blochsim>=0.0.18
|
|
31
|
-
Requires-Dist: bartorch>=0.0.
|
|
31
|
+
Requires-Dist: bartorch>=0.0.24
|
|
32
32
|
Requires-Dist: brainweb-dl>=0.4.6
|
|
33
33
|
Requires-Dist: websockets>=16.1.1
|
|
34
34
|
Provides-Extra: dicom
|
|
@@ -593,7 +593,7 @@ PLUGIN = PicsRecon(intensity_correction=False)
|
|
|
593
593
|
| `pics_train` | `pics`'s images from readouts that number their place in an echo train or an inversion shot (`contrast`, `ECO`), merged so that the readouts of every place fill one image; its channels are compressed a unit at a time, as a train mixes calibration and imaging lines |
|
|
594
594
|
| `nufft` | The images of `pics` for a radial, spiral, PROPELLER or zero-echo-time trajectory or a stack of them, each solved as `bart pics -t -R W` over `bart nlinv --phase-pole 0 -t` sensitivities of the unit's samples near the k-space centre. The readouts of every segment of a unit, the blades of a PROPELLER scan or the shells of a zero-echo-time one, enter one solve; a trajectory that encodes the partition direction without a partition axis is solved as one volume |
|
|
595
595
|
| `nufft_train` | `nufft`'s images from readouts that number their place in a train of excitations (`contrast`, `ECO`), merged so that the readouts of every place fill one image |
|
|
596
|
-
| `epi` | `pics`'s images from EPI readouts, each whitened, resampled off its ramps onto the matrix and corrected for its odd/even phase against the shot's navigator as it arrives (`bart` ramp operator, `estimate_epi_phase`). The calibration readouts of an accelerated scan reach the same readout grid: FLEET's EPI shots like the imaging lines, each polarity's maps unfolding the images of its set, and a gradient echo's lines, which have no ramps, by cropping. The phase-encode-reversed reference set is
|
|
596
|
+
| `epi` | `pics`'s images from EPI readouts, each whitened, resampled off its ramps onto the matrix and corrected for its odd/even phase against the shot's navigator as it arrives (`bart` ramp operator, `estimate_epi_phase`). The calibration readouts of an accelerated scan reach the same readout grid: FLEET's EPI shots like the imaging lines, each polarity's maps unfolding the images of its set, and a gradient echo's lines, which have no ramps, by cropping. The phase-encode-reversed reference set is reconstructed and kept but sent as no image; with PyHySCO installed (GPL-3.0, not a dependency; the Docker image carries it), each later image of its slice, or volume of a 3D scan, is corrected for susceptibility distortion against it, history `HYSCO`, logged as the corrections are; an image left uncorrected, for want of PyHySCO or of its reference, is logged with the reason as a warning |
|
|
597
597
|
| `qsm` | A multi-echo 3D gradient echo: the echoes themselves are not sent. `pics` makes each echo; once the last echo of a volume is in, fast-qsm (an optional dependency; without it the root sum of squares alone) makes, each its own series: the root sum of squares over the echoes' intensity-corrected magnitudes (3) and T2* of the whole object (4) for every anatomy; then for the `QsmAnatomy` recon parameter 0 (phantom) QSM by PDF and MEDI+0 referenced to the water (5), 1 (brain) QSM by V-SHARP and iLSQR inside the SynthStrip brain mask (5; FreeSurfer's weights at `share/fastqsm/synthstrip.1.pt` in the site library or the environment, or the file `FASTQSM_SYNTHSTRIP_WEIGHTS` names), the minimum intensity projection of SWI (6) from the echo nearest `SWI_TE_3T` scaled by 3 T / B0, and the DECOMPOSE paramagnetic (8) and diamagnetic (9) component susceptibilities, 2 (body) QSM by mask-free total field inversion (5) and SWI (6) as for the brain. The maps are sent in the order of their series, so a GE system, which numbers series by arrival from `100 × measurementID + 1`, numbers a map alike for every scan of one anatomy. A single-echo scan is `pics`'s magnitude image. A partial-Fourier axis makes the echoes real, without the field's phase: QSM scans sample all of k-space |
|
|
598
598
|
| `pmc` | `pics_train`'s images, and a pose from each three-plane navigator (`NAV` or `RTFEEDBACK` readouts): planes gridded with Pipe-Menon density compensation on one thread, coils combined by root sum of squares, registered against the first navigator and filtered by an extended Kalman filter. The pose is published to the scan when its design sets `EnablePmc`; the navigators are not corrected |
|
|
599
599
|
|
|
@@ -532,7 +532,8 @@ GE scanner:
|
|
|
532
532
|
| `fse_pd3d` | PD controls | `user14`–`user17`, `user19`, `user22` | First/final angles, startup count, explicit centre echo, crusher cycles, signal-tail onset fraction | `flip` gives peak angle; TE is reference contrast-equivalent TE |
|
|
533
533
|
| `fse_pd3d` | `dual_region` | `user20` | Off: shared train; on: centre/periphery controls with cubic transition | `user12`/`user13`: peripheral TR/ETL; `user23`: final angle, 0 inherits |
|
|
534
534
|
| `fse_pd3d` | `fit_controls` | `user21` | Off: prescribed inverse-EPG train; on: CPU multi-tissue/B1 control fitting | Requires the design extra |
|
|
535
|
-
| `
|
|
535
|
+
| `fse_pd3d` | `pd_target` | `user26` | Off: the signal-shape PD design; on: the target-signal design, inverse EPG of the signal of Buonincontri et al. with every angle at most `flip` | `flip`: largest angle (default 150°); `user27`: first angle; `user28`: plateau signal; `user29`: tail signal over plateau; `user30`: signal-tail onset fraction, in place of `user14`, `user15`, `user22` and `user23`. Under `dual_region`, `user31`–`user33`: the periphery's plateau signal, tail signal and onset, the rest of its target the fitted peripheral train's. `fit_controls` has no effect |
|
|
536
|
+
| `fse3d`, `fse_pd3d` | `ordering` | `user39` | `"radial"`: PCLO for identical trains, Buonincontri assignment for varying trains; `"pclo"`, `"busse_radial"` (radius then polar angle, centre echo 0), and `"shuffling"` require identical trains; `"buonincontri_golden"` requires varying trains and keeps each shot to one golden-ratio angle | None |
|
|
536
537
|
| `mprage3d` | `ordering` | `user39` | `"radial"`, each partition's lines centre-out, or `"shuffling"`: Poisson-disc lines in random order, for a time-resolved reconstruction | None |
|
|
537
538
|
| `fse3d` | Busse controls | `user14`–`user17` | Minimum angle, centre angle, startup count, acquired centre echo (`-1`: midpoint) | Busse modes only; `flip` gives the maximum angle |
|
|
538
539
|
| `fse3d` | Crusher cycles | `user19` | Read-axis crusher area in cycles across one readout voxel, default 0.5 | Every refocusing mode |
|
|
@@ -608,6 +609,17 @@ assignment. Default inverse design, listing and evaluation import no Torch.
|
|
|
608
609
|
First and final angles must not exceed the maximum. The reference signal
|
|
609
610
|
prescription follows [Mugler et al., ISMRM 1999, abstract 1631](https://cds.ismrm.org/ismrm-1999/PDF6/1631.pdf); numerical envelope controls are independently chosen.
|
|
610
611
|
|
|
612
|
+
The `pd_target` option designs instead from an explicit target signal: an
|
|
613
|
+
initial exponential decay, a sloped plateau and a power-law tail, its eight
|
|
614
|
+
controls fitted to the centre and peripheral trains of Fig. 1 of
|
|
615
|
+
Buonincontri et al., Proc. ISMRM 2025, abstract 566-05-007
|
|
616
|
+
(`PD_CENTRE` and `PD_PERIPHERY` in pypulseqpp). blochsim's inverse EPG solves
|
|
617
|
+
each train for its signal with every angle bounded by `flip`; a pulse at the
|
|
618
|
+
bound holds the bound and the train continues from it. Its derivatives with
|
|
619
|
+
respect to the controls are exact, from the forward-mode tangents of the
|
|
620
|
+
solver, and the transition interpolates the controls between the two
|
|
621
|
+
endpoint trains.
|
|
622
|
+
|
|
611
623
|
### Diffusion tables
|
|
612
624
|
|
|
613
625
|
A diffusion sequence plays a table of b-values and directions read from a file,
|
|
@@ -24,14 +24,14 @@ classifiers = [
|
|
|
24
24
|
]
|
|
25
25
|
|
|
26
26
|
dependencies = [
|
|
27
|
-
"pypulseqpp>=0.0.
|
|
27
|
+
"pypulseqpp>=0.0.68",
|
|
28
28
|
"numpy>=2.2.6",
|
|
29
29
|
"packaging>=24",
|
|
30
30
|
"ismrmrd>=1.15.0",
|
|
31
31
|
"pydicom>=3.0.2",
|
|
32
32
|
"torch>=2.4",
|
|
33
33
|
"blochsim>=0.0.18",
|
|
34
|
-
"bartorch>=0.0.
|
|
34
|
+
"bartorch>=0.0.24",
|
|
35
35
|
# The virtual scanner's BrainWeb phantom and its console's server.
|
|
36
36
|
"brainweb-dl>=0.4.6",
|
|
37
37
|
"websockets>=16.1.1",
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"""Multi-echo 3D gradient echo with fast-qsm: RSS, T2* and QSM, SWI outside a phantom and DECOMPOSE for the brain, each its own series; the echoes are not sent.
|
|
2
|
+
|
|
3
|
+
Hot-fix 13 Nov: every echo after the first takes the coil sensitivities the
|
|
4
|
+
first echo estimated, instead of estimating its own from its calibration
|
|
5
|
+
readouts. One set of maps keeps the echo-to-echo phase evolution intact (maps
|
|
6
|
+
estimated per echo absorb part of each echo's phase) and avoids fitting maps to
|
|
7
|
+
the low-SNR late echoes; it also saves one NLINV per echo.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
import logging
|
|
11
|
+
|
|
12
|
+
from pulserver.recon.handlers import pics as _pics
|
|
13
|
+
from pulserver.recon.handlers.qsm import PLUGIN # noqa: F401
|
|
14
|
+
|
|
15
|
+
_log = logging.getLogger("pulserver.recon")
|
|
16
|
+
_estimated_maps = _pics.coil_maps
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def _first_echo_maps(context, data, *, estimate, required=True):
|
|
20
|
+
"""Return the maps the slice's first echo stored for a later echo; estimate them otherwise."""
|
|
21
|
+
import torch
|
|
22
|
+
|
|
23
|
+
buffer = data.data
|
|
24
|
+
location = int(data.counters.get("slice", 0))
|
|
25
|
+
polarity = int(data.counters.get("set", 0))
|
|
26
|
+
own = (location, polarity) if polarity else location
|
|
27
|
+
echo = int(buffer.reference.idx.contrast) if buffer is not None else 0
|
|
28
|
+
if echo > 0 and own in context.coil_maps:
|
|
29
|
+
_log.info(
|
|
30
|
+
"echo %d of slice %d takes the coil sensitivities of the first echo",
|
|
31
|
+
echo,
|
|
32
|
+
location,
|
|
33
|
+
)
|
|
34
|
+
return torch.tensor(context.coil_maps[own].maps)
|
|
35
|
+
return _estimated_maps(context, data, estimate=estimate, required=required)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
_pics.coil_maps = _first_echo_maps
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# The wave-CAIPI solve fits its maps by calling nlinv_estimate on each echo's
|
|
42
|
+
# wave-free calibration readouts directly; the first echo's are kept on the
|
|
43
|
+
# series' context and given to the later echoes.
|
|
44
|
+
import threading # noqa: E402
|
|
45
|
+
|
|
46
|
+
from pulserver.recon.handlers.qsm import QsmRecon # noqa: E402
|
|
47
|
+
|
|
48
|
+
_unit = threading.local()
|
|
49
|
+
_wave_image = QsmRecon.wave_image
|
|
50
|
+
_nlinv_estimate = _pics.nlinv_estimate
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def _first_echo_wave_image(self, context, data):
|
|
54
|
+
_unit.current = (context, int(data.data.reference.idx.contrast))
|
|
55
|
+
try:
|
|
56
|
+
return _wave_image(self, context, data)
|
|
57
|
+
finally:
|
|
58
|
+
_unit.current = None
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _first_echo_nlinv(kspace, traj=None, shape=None):
|
|
62
|
+
current = getattr(_unit, "current", None)
|
|
63
|
+
if current is None:
|
|
64
|
+
return _nlinv_estimate(kspace, traj, shape)
|
|
65
|
+
context, echo = current
|
|
66
|
+
kept = getattr(context, "_first_echo_wave_maps", None)
|
|
67
|
+
if (
|
|
68
|
+
echo > 0
|
|
69
|
+
and kept is not None
|
|
70
|
+
and tuple(kept.shape[1:]) == tuple(kspace.shape[1:])
|
|
71
|
+
):
|
|
72
|
+
_log.info(
|
|
73
|
+
"echo %d takes the wave-CAIPI coil sensitivities of the first echo", echo
|
|
74
|
+
)
|
|
75
|
+
return kept.clone()
|
|
76
|
+
maps = _nlinv_estimate(kspace, traj, shape)
|
|
77
|
+
if echo == 0:
|
|
78
|
+
context._first_echo_wave_maps = maps
|
|
79
|
+
return maps
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
QsmRecon.wave_image = _first_echo_wave_image
|
|
83
|
+
_pics.nlinv_estimate = _first_echo_nlinv
|
|
@@ -5,7 +5,11 @@ from typing import Any
|
|
|
5
5
|
|
|
6
6
|
import pypulseqpp as pp
|
|
7
7
|
from pypulseqpp import sequences
|
|
8
|
-
from pypulseqpp.sequences.sequence.epi2D_sequence import
|
|
8
|
+
from pypulseqpp.sequences.sequence.epi2D_sequence import (
|
|
9
|
+
CALIBRATIONS,
|
|
10
|
+
NAVIGATOR_LINES,
|
|
11
|
+
epi2d,
|
|
12
|
+
)
|
|
9
13
|
|
|
10
14
|
from pulserver._zoo._evaluation import (
|
|
11
15
|
achieved,
|
|
@@ -18,7 +22,7 @@ from pulserver._zoo._evaluation import (
|
|
|
18
22
|
pixel_bandwidth,
|
|
19
23
|
rf_layout,
|
|
20
24
|
)
|
|
21
|
-
from pulserver._zoo._user import OWN, user_entries
|
|
25
|
+
from pulserver._zoo._user import OPTIONS, OWN, user_entries
|
|
22
26
|
from pulserver.design import (
|
|
23
27
|
BoolParam,
|
|
24
28
|
Evaluation,
|
|
@@ -45,12 +49,24 @@ from pulserver.protocol import (
|
|
|
45
49
|
CALIBRATION = option(
|
|
46
50
|
"calibration", "fleet", choices=CALIBRATIONS, user=OWN, label="Calibration"
|
|
47
51
|
)
|
|
52
|
+
#: The odd/even phase correction: off, the default, a blip-free reference
|
|
53
|
+
#: train in a dummy shot of each slice, the imaging train's own with every
|
|
54
|
+
#: phase encode at zero, which the reconstruction fits echo by echo; on,
|
|
55
|
+
#: ``NAVIGATOR_LINES`` navigator lines at the start of every shot instead,
|
|
56
|
+
#: which lengthen the minimum TE.
|
|
57
|
+
NAVIGATOR = option("navigator", False, **OPTIONS["navigator"])
|
|
48
58
|
|
|
49
59
|
|
|
50
60
|
class Epi2D(SequencePlugin):
|
|
51
61
|
# Twofold readout oversampling keeps the ramp-sampled flat top within the
|
|
52
62
|
# spacing of the readout field of view, so it can be resampled onto a grid.
|
|
53
|
-
app = functools.partial(
|
|
63
|
+
app = functools.partial(
|
|
64
|
+
epi2d,
|
|
65
|
+
readout_oversampling=2.0,
|
|
66
|
+
calibration=CALIBRATION,
|
|
67
|
+
phase_reference=not NAVIGATOR,
|
|
68
|
+
navigator_lines=NAVIGATOR_LINES if NAVIGATOR else 0,
|
|
69
|
+
)
|
|
54
70
|
protocol = {
|
|
55
71
|
UIParam.IMAGING_MODE: StatedParam(ImagingMode.TWO_D),
|
|
56
72
|
# On by default: with the fat shifted many pixels along the phase
|
|
@@ -126,6 +142,8 @@ class Epi2D(SequencePlugin):
|
|
|
126
142
|
"tr": None,
|
|
127
143
|
"n_frames": 1,
|
|
128
144
|
"n_dummy": 0,
|
|
145
|
+
# The reference only fills a dummy shot, which `played` counts.
|
|
146
|
+
"phase_reference": False,
|
|
129
147
|
}
|
|
130
148
|
*calibration, _, volume = self.app(system, **(protocol.arguments | one))
|
|
131
149
|
n_shots, n_frames = a["n_shots"], a["n_frames"]
|
|
@@ -141,6 +159,9 @@ class Epi2D(SequencePlugin):
|
|
|
141
159
|
excitations = dummies(a, max(cycles))
|
|
142
160
|
n_dummy = -(-excitations // n_shots) if n_frames > 1 else excitations
|
|
143
161
|
dummy_cycles = n_dummy * (n_shots if n_frames > 1 else 1)
|
|
162
|
+
if not NAVIGATOR:
|
|
163
|
+
# The reference plays in the last dummy cycle, so there is one.
|
|
164
|
+
dummy_cycles = max(dummy_cycles, 1)
|
|
144
165
|
played = 2 * dummy_cycles + (1 + n_frames) * n_shots
|
|
145
166
|
tr = n_shots * max(cycles)
|
|
146
167
|
# The fat saturation is numbered after the excitation, so the
|
|
@@ -34,7 +34,7 @@ from pulserver._zoo._evaluation import (
|
|
|
34
34
|
rf_layout,
|
|
35
35
|
)
|
|
36
36
|
from pulserver._zoo._slab import slab
|
|
37
|
-
from pulserver._zoo._user import OWN, user_entries
|
|
37
|
+
from pulserver._zoo._user import OPTIONS, OWN, user_entries
|
|
38
38
|
from pulserver.design import (
|
|
39
39
|
ChoiceParam,
|
|
40
40
|
Evaluation,
|
|
@@ -56,13 +56,27 @@ from pulserver.protocol import Excitation, ImagingMode, TEPreset, TRPreset, UIPa
|
|
|
56
56
|
CALIBRATION = option(
|
|
57
57
|
"calibration", "fleet", choices=CALIBRATIONS, user=OWN, label="Calibration"
|
|
58
58
|
)
|
|
59
|
+
#: The odd/even phase correction: off, the default, a blip-free reference
|
|
60
|
+
#: train in the last dummy shot, the imaging train's own with every phase and
|
|
61
|
+
#: partition encode at zero, which the reconstruction fits echo by echo; on,
|
|
62
|
+
#: ``NAVIGATOR_LINES`` navigator lines at the start of every shot instead,
|
|
63
|
+
#: which lengthen the minimum TE.
|
|
64
|
+
NAVIGATOR = option("navigator", False, **OPTIONS["navigator"])
|
|
65
|
+
#: Navigator lines every shot reads.
|
|
66
|
+
_NAVIGATOR_LINES = NAVIGATOR_LINES if NAVIGATOR else 0
|
|
59
67
|
|
|
60
68
|
|
|
61
69
|
class Epi3D(SequencePlugin):
|
|
62
70
|
# Twofold readout oversampling keeps the ramp-sampled flat top within the
|
|
63
71
|
# spacing of the readout field of view, so it can be resampled onto a grid.
|
|
64
72
|
app = slab(
|
|
65
|
-
functools.partial(
|
|
73
|
+
functools.partial(
|
|
74
|
+
epi3d,
|
|
75
|
+
readout_oversampling=2.0,
|
|
76
|
+
calibration=CALIBRATION,
|
|
77
|
+
phase_reference=not NAVIGATOR,
|
|
78
|
+
navigator_lines=_NAVIGATOR_LINES,
|
|
79
|
+
)
|
|
66
80
|
)
|
|
67
81
|
protocol = {
|
|
68
82
|
UIParam.IMAGING_MODE: StatedParam(ImagingMode.THREE_D),
|
|
@@ -117,9 +131,9 @@ class Epi3D(SequencePlugin):
|
|
|
117
131
|
|
|
118
132
|
def evaluate(self, system, protocol):
|
|
119
133
|
# A TR is a volume: one shot of every shell, each an excitation, the
|
|
120
|
-
# navigator lines and a train. The shot is built from the
|
|
121
|
-
# function builds it from, at its prescription, and the
|
|
122
|
-
# scan plays are counted from the function's own rules.
|
|
134
|
+
# navigator lines when asked and a train. The shot is built from the
|
|
135
|
+
# modules the function builds it from, at its prescription, and the
|
|
136
|
+
# volumes the scan plays are counted from the function's own rules.
|
|
123
137
|
a = arguments(self, protocol)
|
|
124
138
|
a["fov_z"] = a["n_z"] * a.pop("slice_thickness")
|
|
125
139
|
system = pp.cap_system(system, max_grad=MAX_GRAD, max_slew=MAX_SLEW)
|
|
@@ -159,7 +173,7 @@ class Epi3D(SequencePlugin):
|
|
|
159
173
|
),
|
|
160
174
|
te=a["te"],
|
|
161
175
|
te_line=(n_y // 2 - start) // ry / n_shots,
|
|
162
|
-
navigator_lines=
|
|
176
|
+
navigator_lines=_NAVIGATOR_LINES,
|
|
163
177
|
echo_shifts=n_shots,
|
|
164
178
|
fov=fov,
|
|
165
179
|
matrix=matrix,
|
|
@@ -192,6 +206,9 @@ class Epi3D(SequencePlugin):
|
|
|
192
206
|
excitations = dummies(a, shot)
|
|
193
207
|
n_dummy = -(-excitations // volume) if a["n_frames"] > 1 else excitations
|
|
194
208
|
dummy_shots = n_dummy * (volume if a["n_frames"] > 1 else 1)
|
|
209
|
+
if not NAVIGATOR:
|
|
210
|
+
# The reference plays in the last dummy shot, so there is one.
|
|
211
|
+
dummy_shots = max(dummy_shots, 1)
|
|
195
212
|
duration = (2 * dummy_shots + (1 + a["n_frames"]) * volume) * shot
|
|
196
213
|
excitation = pp.Sequence(system)
|
|
197
214
|
excitation.add_block(exc.rf, *gz)
|
|
@@ -217,7 +234,7 @@ class Epi3D(SequencePlugin):
|
|
|
217
234
|
epi,
|
|
218
235
|
lines_y,
|
|
219
236
|
acs_shots,
|
|
220
|
-
navigator_lines=
|
|
237
|
+
navigator_lines=_NAVIGATOR_LINES,
|
|
221
238
|
fov=fov,
|
|
222
239
|
matrix=matrix,
|
|
223
240
|
oversampling=a["readout_oversampling"],
|
|
@@ -93,8 +93,11 @@ if OPTIMIZED and importlib.util.find_spec("blochsim") is None:
|
|
|
93
93
|
)
|
|
94
94
|
|
|
95
95
|
#: Shared trains use Busse radial/PCLO; changing endpoint parameters uses
|
|
96
|
-
#: Buonincontri joint shot/echo assignment
|
|
97
|
-
|
|
96
|
+
#: Buonincontri joint shot/echo assignment, the shot index sweeping with the
|
|
97
|
+
#: angle in each radial section. ``radial`` selects from the protocol;
|
|
98
|
+
#: ``buonincontri_golden`` keeps each shot of a transition to one golden-ratio
|
|
99
|
+
#: angle. Indices are released: a new choice goes last.
|
|
100
|
+
ORDERINGS = ("radial", "shuffling", "busse_radial", "pclo", "buonincontri_golden")
|
|
98
101
|
ORDERING = option("ordering", "radial", choices=ORDERINGS, **OPTIONS["ordering"])
|
|
99
102
|
|
|
100
103
|
|
|
@@ -5,6 +5,7 @@ import inspect
|
|
|
5
5
|
|
|
6
6
|
import pypulseqpp as pp
|
|
7
7
|
from pypulseqpp.sequences.sequence.fse3D_sequence import (
|
|
8
|
+
PD_PERIPHERY,
|
|
8
9
|
fse3d,
|
|
9
10
|
shot_parameters,
|
|
10
11
|
)
|
|
@@ -64,11 +65,18 @@ DUAL_REGION = option(
|
|
|
64
65
|
)
|
|
65
66
|
#: Optional multi-tissue/B1 forward EPG refinement of the inverse-EPG design.
|
|
66
67
|
FIT_CONTROLS = option("fit_controls", False, user=21, label="Fit PD controls with EPG")
|
|
68
|
+
#: The Buonincontri design: inverse EPG of a prescribed target signal, its
|
|
69
|
+
#: angles bounded by the flip, in place of the signal-shape controls. Its
|
|
70
|
+
#: controls are not fitted.
|
|
71
|
+
PD_TARGET = option("pd_target", False, user=26, label="PD target-signal train")
|
|
67
72
|
WAVE = option("wave", False, **OPTIONS["wave"])
|
|
68
73
|
|
|
69
74
|
#: Shared trains use Busse radial/PCLO; changing endpoint parameters uses
|
|
70
|
-
#: Buonincontri joint shot/echo assignment
|
|
71
|
-
|
|
75
|
+
#: Buonincontri joint shot/echo assignment, the shot index sweeping with the
|
|
76
|
+
#: angle in each radial section. ``radial`` selects from the protocol;
|
|
77
|
+
#: ``buonincontri_golden`` keeps each shot of a transition to one golden-ratio
|
|
78
|
+
#: angle. Indices are released: a new choice goes last.
|
|
79
|
+
ORDERINGS = ("radial", "shuffling", "busse_radial", "pclo", "buonincontri_golden")
|
|
72
80
|
ORDERING = option("ordering", "radial", choices=ORDERINGS, **OPTIONS["ordering"])
|
|
73
81
|
|
|
74
82
|
|
|
@@ -95,6 +103,28 @@ def on_host(app):
|
|
|
95
103
|
return designed
|
|
96
104
|
|
|
97
105
|
|
|
106
|
+
#: Each target-signal argument and its peripheral twin, in the order of
|
|
107
|
+
#: ``PD_PERIPHERY``.
|
|
108
|
+
PERIPHERY = {
|
|
109
|
+
"pd_target_first_angle_deg": "pd_target_first_angle_periphery_deg",
|
|
110
|
+
"pd_target_plateau_signal": "pd_target_plateau_signal_periphery",
|
|
111
|
+
"pd_target_plateau_slope": "pd_target_plateau_slope_periphery",
|
|
112
|
+
"pd_target_plateau_fraction": "pd_target_plateau_fraction_periphery",
|
|
113
|
+
"pd_target_tail_signal": "pd_target_tail_signal_periphery",
|
|
114
|
+
"pd_target_tail_exponent": "pd_target_tail_exponent_periphery",
|
|
115
|
+
"pd_target_initial_signal": "pd_target_initial_signal_periphery",
|
|
116
|
+
"pd_target_initial_decay": "pd_target_initial_decay_periphery",
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#: The flip modulation the plugin binds, the argument bounding its angles and
|
|
120
|
+
#: the arguments a periphery states apart from the centre.
|
|
121
|
+
MODULATION = "pd_target" if PD_TARGET else "pd"
|
|
122
|
+
MAXIMUM = "pd_target_maximum_angle_deg" if PD_TARGET else "pd_maximum_angle_deg"
|
|
123
|
+
TWINS = (
|
|
124
|
+
PERIPHERY if PD_TARGET else {"pd_final_angle_deg": "pd_final_angle_periphery_deg"}
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
|
|
98
128
|
class FsePd3D(SequencePlugin):
|
|
99
129
|
app = sar_burst(
|
|
100
130
|
navigated(shortest_at_zero(slab(fse3d), "esp"))
|
|
@@ -104,13 +134,18 @@ class FsePd3D(SequencePlugin):
|
|
|
104
134
|
app = functools.partial(
|
|
105
135
|
on_host(app),
|
|
106
136
|
te=None,
|
|
107
|
-
flip_modulation=
|
|
108
|
-
pd_optimize=FIT_CONTROLS,
|
|
137
|
+
flip_modulation=MODULATION,
|
|
138
|
+
pd_optimize=FIT_CONTROLS and not PD_TARGET,
|
|
109
139
|
)
|
|
110
140
|
app = functools.partial(app, ordering=ORDERING)
|
|
111
141
|
if ORDERING == "busse_radial":
|
|
112
142
|
app = functools.partial(app, te=None)
|
|
113
143
|
app = functools.partial(app, busse_centre_echo=0)
|
|
144
|
+
if PD_TARGET and DUAL_REGION:
|
|
145
|
+
# The periphery's target signal is the fitted peripheral train's.
|
|
146
|
+
app = functools.partial(
|
|
147
|
+
app, **dict(zip(PERIPHERY.values(), PD_PERIPHERY, strict=True))
|
|
148
|
+
)
|
|
114
149
|
protocol = {
|
|
115
150
|
UIParam.IMAGING_MODE: StatedParam(ImagingMode.THREE_D),
|
|
116
151
|
# Costed under the SAR burst limits, as a product 3D FSE asks to be.
|
|
@@ -155,11 +190,11 @@ class FsePd3D(SequencePlugin):
|
|
|
155
190
|
UIParam.RZ: IntParam("rz", range_min=1, range_max=4),
|
|
156
191
|
}
|
|
157
192
|
protocol[UIParam.FLIP] = FloatParam(
|
|
158
|
-
|
|
193
|
+
MAXIMUM,
|
|
159
194
|
unit="deg",
|
|
160
195
|
range_min=60.0,
|
|
161
196
|
range_max=179.0,
|
|
162
|
-
default=140.0,
|
|
197
|
+
default=None if PD_TARGET else 140.0,
|
|
163
198
|
)
|
|
164
199
|
if DUAL_REGION:
|
|
165
200
|
protocol |= {
|
|
@@ -178,15 +213,50 @@ class FsePd3D(SequencePlugin):
|
|
|
178
213
|
),
|
|
179
214
|
}
|
|
180
215
|
|
|
216
|
+
if PD_TARGET:
|
|
217
|
+
protocol |= {
|
|
218
|
+
UIParam.user_name(27): Description("First refocusing flip"),
|
|
219
|
+
UIParam.user_value(27): FloatParam(
|
|
220
|
+
"pd_target_first_angle_deg",
|
|
221
|
+
unit="deg",
|
|
222
|
+
range_min=1.0,
|
|
223
|
+
range_max=179.0,
|
|
224
|
+
),
|
|
225
|
+
UIParam.user_name(28): Description("Plateau signal"),
|
|
226
|
+
UIParam.user_value(28): FloatParam(
|
|
227
|
+
"pd_target_plateau_signal",
|
|
228
|
+
range_min=0.02,
|
|
229
|
+
range_max=1.0,
|
|
230
|
+
range_incr=0.001,
|
|
231
|
+
),
|
|
232
|
+
UIParam.user_name(29): Description("Tail signal over plateau"),
|
|
233
|
+
UIParam.user_value(29): FloatParam(
|
|
234
|
+
"pd_target_tail_signal", range_min=0.0, range_max=1.5, range_incr=0.001
|
|
235
|
+
),
|
|
236
|
+
UIParam.user_name(30): Description("Signal-tail onset fraction"),
|
|
237
|
+
UIParam.user_value(30): FloatParam(
|
|
238
|
+
"pd_target_plateau_fraction",
|
|
239
|
+
range_min=0.1,
|
|
240
|
+
range_max=0.95,
|
|
241
|
+
range_incr=0.01,
|
|
242
|
+
),
|
|
243
|
+
}
|
|
244
|
+
else:
|
|
245
|
+
protocol |= {
|
|
246
|
+
UIParam.user_name(14): Description("First refocusing flip"),
|
|
247
|
+
UIParam.user_value(14): FloatParam(
|
|
248
|
+
"pd_first_angle_deg", unit="deg", range_min=1.0, range_max=179.0
|
|
249
|
+
),
|
|
250
|
+
UIParam.user_name(15): Description("Final refocusing flip"),
|
|
251
|
+
UIParam.user_value(15): FloatParam(
|
|
252
|
+
"pd_final_angle_deg", unit="deg", range_min=1.0, range_max=179.0
|
|
253
|
+
),
|
|
254
|
+
UIParam.user_name(22): Description("Signal-tail onset fraction"),
|
|
255
|
+
UIParam.user_value(22): FloatParam(
|
|
256
|
+
"pd_plateau_fraction", range_min=0.1, range_max=0.95, range_incr=0.01
|
|
257
|
+
),
|
|
258
|
+
}
|
|
181
259
|
protocol |= {
|
|
182
|
-
UIParam.user_name(14): Description("First refocusing flip"),
|
|
183
|
-
UIParam.user_value(14): FloatParam(
|
|
184
|
-
"pd_first_angle_deg", unit="deg", range_min=1.0, range_max=179.0
|
|
185
|
-
),
|
|
186
|
-
UIParam.user_name(15): Description("Final refocusing flip"),
|
|
187
|
-
UIParam.user_value(15): FloatParam(
|
|
188
|
-
"pd_final_angle_deg", unit="deg", range_min=1.0, range_max=179.0
|
|
189
|
-
),
|
|
190
260
|
UIParam.user_name(16): Description("Startup echoes"),
|
|
191
261
|
UIParam.user_value(16): IntParam(
|
|
192
262
|
"busse_startup_echoes", range_min=0, range_max=32
|
|
@@ -199,12 +269,35 @@ class FsePd3D(SequencePlugin):
|
|
|
199
269
|
UIParam.user_value(19): FloatParam(
|
|
200
270
|
"crusher_cycles", range_min=0.0, range_max=8.0, default=0.5
|
|
201
271
|
),
|
|
202
|
-
UIParam.user_name(22): Description("Signal-tail onset fraction"),
|
|
203
|
-
UIParam.user_value(22): FloatParam(
|
|
204
|
-
"pd_plateau_fraction", range_min=0.1, range_max=0.95, range_incr=0.01
|
|
205
|
-
),
|
|
206
272
|
}
|
|
207
|
-
if DUAL_REGION:
|
|
273
|
+
if DUAL_REGION and PD_TARGET:
|
|
274
|
+
protocol |= {
|
|
275
|
+
UIParam.user_name(31): Description("Peripheral plateau signal"),
|
|
276
|
+
UIParam.user_value(31): FloatParam(
|
|
277
|
+
"pd_target_plateau_signal_periphery",
|
|
278
|
+
range_min=0.02,
|
|
279
|
+
range_max=1.0,
|
|
280
|
+
range_incr=0.001,
|
|
281
|
+
default=PD_PERIPHERY[1],
|
|
282
|
+
),
|
|
283
|
+
UIParam.user_name(32): Description("Peripheral tail signal"),
|
|
284
|
+
UIParam.user_value(32): FloatParam(
|
|
285
|
+
"pd_target_tail_signal_periphery",
|
|
286
|
+
range_min=0.0,
|
|
287
|
+
range_max=1.5,
|
|
288
|
+
range_incr=0.001,
|
|
289
|
+
default=PD_PERIPHERY[4],
|
|
290
|
+
),
|
|
291
|
+
UIParam.user_name(33): Description("Peripheral signal-tail onset"),
|
|
292
|
+
UIParam.user_value(33): FloatParam(
|
|
293
|
+
"pd_target_plateau_fraction_periphery",
|
|
294
|
+
range_min=0.1,
|
|
295
|
+
range_max=0.95,
|
|
296
|
+
range_incr=0.01,
|
|
297
|
+
default=PD_PERIPHERY[3],
|
|
298
|
+
),
|
|
299
|
+
}
|
|
300
|
+
elif DUAL_REGION:
|
|
208
301
|
protocol |= {
|
|
209
302
|
UIParam.user_name(23): Description("Peripheral final flip, 0 inherits"),
|
|
210
303
|
UIParam.user_value(23): IntParam(
|
|
@@ -237,10 +330,10 @@ class FsePd3D(SequencePlugin):
|
|
|
237
330
|
check_centre_first(a)
|
|
238
331
|
one = {"n_dummy": 0, "ordering": "radial"}
|
|
239
332
|
centre = {"ry": a["n_y"], "rz": a["n_z"], "n_acs_y": 0, "n_acs_z": 0}
|
|
240
|
-
solved = protocol.arguments | one | centre | {"flip_modulation":
|
|
333
|
+
solved = protocol.arguments | one | centre | {"flip_modulation": MODULATION}
|
|
241
334
|
# The effective TE depends on no TR: one solve serves every TR asked for.
|
|
242
335
|
solved |= {"pd_optimize": False, "busse_optimize": False, "tr": None}
|
|
243
|
-
one |= extremes(a, "y", "z") | bounding_train(a, a[
|
|
336
|
+
one |= extremes(a, "y", "z") | bounding_train(a, a[MAXIMUM])
|
|
244
337
|
train, representative = one_train(self.app, system, protocol.arguments | one, a)
|
|
245
338
|
tr = train.duration()[0]
|
|
246
339
|
tr_periphery = tr if a["tr_periphery"] is None else a["tr_periphery"]
|
|
@@ -249,7 +342,7 @@ class FsePd3D(SequencePlugin):
|
|
|
249
342
|
individual = (
|
|
250
343
|
tr_periphery != tr
|
|
251
344
|
or etl_periphery != a["etl"]
|
|
252
|
-
or a[
|
|
345
|
+
or any(a[twin] not in (None, a[name]) for name, twin in TWINS.items())
|
|
253
346
|
)
|
|
254
347
|
length = 1 if individual else a["etl"]
|
|
255
348
|
calibrating, imaging = pp.count_cartesian_plane_sampling(
|