pulserver 0.4.24__tar.gz → 0.4.26__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.24 → pulserver-0.4.26}/PKG-INFO +3 -3
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/mrd.md +1 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/recon.md +1 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/calibration.md +12 -8
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/protocol-wire.md +3 -3
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/virtual-scanner.md +8 -4
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/reconstruction.md +3 -3
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/reconstruction-plugins.md +11 -10
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/scanner-sequences.md +16 -11
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/virtual-scanner.md +2 -2
- {pulserver-0.4.24 → pulserver-0.4.26}/pyproject.toml +2 -2
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_evaluation.py +45 -9
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/epi2d.py +32 -9
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/epi3d.py +65 -57
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/__init__.py +2 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/_metadata.py +6 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/_sequence.py +7 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_enrich.py +153 -23
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/__init__.py +2 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_calibration.py +152 -32
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_correct.py +99 -19
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/offline.py +2 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/gadgets.py +78 -13
- pulserver-0.4.26/src/pulserver/recon/handlers/epi.py +2226 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/pics.py +195 -56
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/pics_train.py +1 -1
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/plugin.py +15 -4
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_brainweb.py +57 -7
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_coils.py +102 -11
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_fourier.py +157 -57
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_virtual.py +2 -2
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_coil_compression.py +95 -17
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_correct.py +32 -6
- pulserver-0.4.26/tests/recon/test_epi.py +890 -0
- pulserver-0.4.26/tests/recon/test_epi_solve.py +932 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_intensity_correction.py +13 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_pics.py +48 -30
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_enrich.py +117 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_brainweb.py +33 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_coils.py +47 -3
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_fourier.py +82 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_zoo_evaluation.py +86 -19
- pulserver-0.4.24/src/pulserver/recon/handlers/epi.py +0 -444
- pulserver-0.4.24/tests/recon/test_epi.py +0 -556
- {pulserver-0.4.24 → pulserver-0.4.26}/.claude/skills/build-and-test/SKILL.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.claude/skills/write-documentation/SKILL.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.dockerignore +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.gitattributes +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/dependabot.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/codeql.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/console.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/docs.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/fields.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/image.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/style.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/tag.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/tags-release.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/test-ci.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.github/workflows/wheels.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.gitignore +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/.pre-commit-config.yaml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/AGENTS.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/CMakeLists.txt +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/CODE_OF_CONDUCT.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/CONTRIBUTING.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/LICENSE +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/LICENSES/gadgetron-python-MIT.txt +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/NEXT.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/README.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/SECURITY.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/SKILLS.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/codecov.yml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docker/Dockerfile +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docker/compose.yaml +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docker/entrypoint.sh +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docker/limits/limits.txt +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docker/smoke.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/architecture-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/architecture.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/capabilities.js +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/context-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/context.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulseg-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulseg.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulserver-logo-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulserver-logo.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulserver-mark-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulserver-mark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/pulserver.css +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/repetition-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/repetition.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/safety-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/safety.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/session-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/session.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/virtual-dark.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_static/virtual.svg +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_templates/autosummary/base.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_templates/autosummary/class.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_templates/autosummary/enum.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/_templates/autosummary/function.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/design.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/host.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/ir.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/protocol.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/proxy.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/validate.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api/virtual.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/api_objects.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/colab.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/conf.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/documentation.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/installation.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/ir-cache.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/sar-ratios.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/internals/sequence-definitions.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/releases.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/style.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/terminology.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/developer-guide/workflow.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/examples/course.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/examples/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/examples/tours.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/architecture.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/protocol.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/raw-data.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/reconstruction-session.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/safety-checks.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/scanner-representation.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/explanations/virtual-scanner.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/figure_style.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/misc/contributors.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/misc/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/misc/license.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/misc/related.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/index.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/reconstruction-client.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/docs/user-guide/running.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/01_protocol_to_image.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/02_sequence_plugin.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/03_scanner_representation.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/04_reconstruction_plugin.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/05_recon_plugin.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/README.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/01-course/_gallery_header.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/02-tours/01_protocol_resolution.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/02-tours/02_segmentation.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/02-tours/README.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/02-tours/_gallery_header.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/README.rst +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/gallery/_gallery_header.md +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/scripts/build_docs.sh +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/scripts/check_throughput.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/scripts/format_and_lint.sh +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/scripts/make_artwork.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/scripts/publish_docs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/setup.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/CMakeLists.txt +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/cache/pulseg_cache.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/core/pulseg_core.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/core/pulseg_error.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/core/pulseg_math.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_cache.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_collection.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_config.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_errors.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_io.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_playout.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_protocol.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_types.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseq/pulseq.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseq/pulseq_config.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/include/pulseq/pulseq_types.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/io/pulseg_opts.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/io/pulseg_protocol.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/playout/pulseg_playout.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/pulseg_internal.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/pulseq/pulseq_internal.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/pulseq/pulseq_shape.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/structure/pulseg_descriptor.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/structure/pulseg_getters.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/structure/pulseg_repetition.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/c/structure/pulseg_waves.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/fourier/bindings.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/fourier/bindings.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/fourier/parallel.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/fourier/timeline.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/fourier/timeline.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/collection.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/dedup.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/from_libraries.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/from_libraries.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/gradient_stretch.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/pulseg_convert.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/pulseq_file.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/pulseq_file.h +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/structure.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/wave_plan.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/ir/waves.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/module.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/native.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/playout.cpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/cpp/playout.hpp +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_accelerators.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_cli.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_labels.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_logs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_memory.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_plugins.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_site_packages.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_fse.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_inversion.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_pmc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_saturation.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_segmented.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_slab.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/_user.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/cine.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/coronary.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/epi.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/nufft.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/phase_cycles.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pics.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pics_train.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pmc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/recon/qsm.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/bssfp2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/coronary_mra3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/fse3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/fse_pd3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/inflow_mra3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/_entries.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/_options.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/_plugin.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/_recon_parameters.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/design/_rf.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/__main__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_blocks.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_command.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_limits.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_memo.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_push.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_server.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_service.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_slew.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/host/_store.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_calibration.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_checks.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_convert.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_playout.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_source.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_vendor.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/ir/_waves.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/_acquisitions.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/_header.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/mrd/_images.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/protocol/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/protocol/_keys.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/protocol/_prescription.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/protocol/_schema.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/protocol/_wire.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/__main__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_designs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_held.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_intake.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_local.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_motion.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_proxy.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_queue.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_receiver.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_seqdesc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/proxy/_workers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/__main__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_buffers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_exam_image.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_figure.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_loader.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_replay.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/application.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/concurrency.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/connection.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/constants.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/exam.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/readers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_runtime/writers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/_units.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/cine.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/coronary.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/nufft.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/nufft_train.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/phase_cycles.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/pmc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/recon/handlers/qsm.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/validate/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/validate/_command.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/validate/_compare.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/validate/_validate.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/validate/_xml.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/__init__.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_client.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_command.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_console.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_export.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_girf.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_localizer.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_motion.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_phantom.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_stream.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_timeline.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/src/pulserver/virtual/_tissue.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_analytic.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_cine.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_host.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_seqtext.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_synthetic.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/_zoo.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/conftest.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/bssfp.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/fixtures/sequences/zte_3d.seq +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/check_initializers.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/check_segment_plays.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/print_wave_samples.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/read_cache_summary.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/read_rf_definitions.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/read_rf_timing.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/native/replay_an_instance.c +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/crash.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/gre2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/gre2d_raw.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/rf_train.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/stall.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/strong.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/tiny.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/plugins/typed.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_app.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_buffers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_calibration.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_cine.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_connection.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_coronary.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_exam_image.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_flags.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_gadgets.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_handlers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_images.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_loader.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_mrd2dicom.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_nufft.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_phase_cycles.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_pmc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_prewhiten.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_qsm.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_qsm_first_echo_maps.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_readers_writers.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_slots.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon/test_units.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/children.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/crash.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/device.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/exam.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/gre2d.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/recon_plugins/pose.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_any_rotation.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_console.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_console_sequences.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_design_memo.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_design_push.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_design_server.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_design_service.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_docs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_docstring_defaults.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_docstrings.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_exam_artifacts.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_exam_calibration.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_exam_sharing.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_host_slots.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_image.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_checks.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_designed.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_extensions.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_gradient_stretch.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_grouping.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_labels.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_playout.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_prescan.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_prescan_tour.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_profile.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_receive_calibration.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_repetition.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_rf.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_rf_freq.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_segments.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_source.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_steady_excitation.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_timing.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_vendor.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_ir_waves.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_keys.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_limits.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_logs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_memory.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_motion.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_mrd_images.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_mrd_sequence.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_played_time.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_plugin_options.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_plugins.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_protocol.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_proxy.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_publish_docs.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_resolution.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_rf_layout.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_scan_command.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_scan_time.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_seqdesc.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_sequence_plugin.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_site_packages.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_slew_derate.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_smoke.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_validate.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_clock.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_export.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_localizer.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_virtual_sequences.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_wire.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_zoo_defaults.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_zoo_fov_offset.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/tests/test_zoo_mrd_labels.py +0 -0
- {pulserver-0.4.24 → pulserver-0.4.26}/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.26
|
|
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.72
|
|
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.25
|
|
32
32
|
Requires-Dist: brainweb-dl>=0.4.6
|
|
33
33
|
Requires-Dist: websockets>=16.1.1
|
|
34
34
|
Provides-Extra: dicom
|
|
@@ -34,6 +34,7 @@ stream from (see {doc}`../explanations/raw-data`).
|
|
|
34
34
|
| {obj}`~pulserver.mrd.user_parameter` | A header user parameter by name. |
|
|
35
35
|
| {obj}`~pulserver.mrd.max_stored_value` | Largest pixel value of the header's stored bit depth. |
|
|
36
36
|
| {obj}`~pulserver.mrd.diffusion_table` | The b-value and logical direction of each volume, as the proxy states them. |
|
|
37
|
+
| {obj}`~pulserver.mrd.ACCELERATION_PER_SOLVE` | Name of the user parameter string the acceleration per joint solve is stated in. |
|
|
37
38
|
| {obj}`~pulserver.mrd.DIFFUSION_TABLE` | Name of the user parameter string the diffusion table is stated in. |
|
|
38
39
|
|
|
39
40
|
## Images
|
|
@@ -54,6 +54,7 @@ sensitivity maps, noise prewhitening and coil compression are the subject of
|
|
|
54
54
|
| Object | Description |
|
|
55
55
|
| --- | --- |
|
|
56
56
|
| {obj}`~pulserver.recon.coil_maps` | Return the coil sensitivities of a unit from its calibration k-space, the stream or the exam. |
|
|
57
|
+
| {obj}`~pulserver.recon.volume_coil_maps` | Estimate one set of coil sensitivities for the slices of a stack from their calibration units, and store each slice's. |
|
|
57
58
|
| {obj}`~pulserver.recon.CoilSensitivities` | Receive coil sensitivity maps with the coils, prewhitening, compression and geometry they were estimated in. |
|
|
58
59
|
| {obj}`~pulserver.recon.MissingCalibration` | No source holds coil sensitivities the unit can use. |
|
|
59
60
|
| {obj}`~pulserver.recon.CoilCompression` | Reduce the receive channels of a unit's k-space to virtual channels. |
|
|
@@ -67,9 +67,9 @@ readouts of every unit are whitened alike.
|
|
|
67
67
|
## Coil compression
|
|
68
68
|
|
|
69
69
|
The basis $A$ is that of the channel covariance
|
|
70
|
-
$\sum_k \mathbf{y}_k\mathbf{y}_k^H$ over calibration samples.
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
$\sum_k \mathbf{y}_k\mathbf{y}_k^H$ over calibration samples. Every
|
|
71
|
+
readout or unit of a slice is projected onto the same basis, so the virtual
|
|
72
|
+
channels of successive units of that slice are the same. The basis and the
|
|
73
73
|
projection are computed on the host. It is estimated in one of two places:
|
|
74
74
|
|
|
75
75
|
- as the readouts arrive, by the gadget
|
|
@@ -79,11 +79,15 @@ projection are computed on the host. It is estimated in one of two places:
|
|
|
79
79
|
ahead of it; every later readout is projected as it arrives. The buffers then
|
|
80
80
|
hold $n$ channels, which is what lets the units of every echo of a
|
|
81
81
|
multi-echo volume be open together;
|
|
82
|
-
- as a unit closes, by {class}`~pulserver.recon.CoilCompression`,
|
|
83
|
-
placed samples of the calibration k-space of
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
- as a unit closes, by {class}`~pulserver.recon.CoilCompression`, one basis
|
|
83
|
+
per slice location, from the placed samples of the calibration k-space of
|
|
84
|
+
the first unit of that location, or of its imaging k-space where that unit
|
|
85
|
+
holds none. A slice far from the first one played is seen by other
|
|
86
|
+
channels, and a basis fitted to the first would drop them. This is the place
|
|
87
|
+
for a scan whose calibration lines are spread among its imaging lines, such
|
|
88
|
+
as an echo train. With `by_slice=False` the stream has one basis, the
|
|
89
|
+
first unit's: the bands of a multiband unit and the slices whose
|
|
90
|
+
maps unfold them have to share their virtual channels.
|
|
87
91
|
|
|
88
92
|
If the signal of the channels lies in a subspace of dimension at most $n$,
|
|
89
93
|
compression discards none of it, and SENSE with compressed data and compressed
|
|
@@ -52,9 +52,9 @@ plugin offers and its fat saturation, and the shipped plugins number the
|
|
|
52
52
|
saturation pulses after the others, so one placed or removed changes no other
|
|
53
53
|
number. A prescan of the chain that repeats at its own TR, such as the
|
|
54
54
|
calibration of the EPI plugins, is costed by a scanner over its own
|
|
55
|
-
repetition; where it plays more RF power than a TR, the layout
|
|
56
|
-
over the TR, each numbered as the pulse of
|
|
57
|
-
first of its use.
|
|
55
|
+
repetition; where it plays more RF power than a TR, beyond rounding, the layout
|
|
56
|
+
is its pulses over the TR, the strongest first, each numbered as the pulse of
|
|
57
|
+
the listing it plays, or else the first of its use.
|
|
58
58
|
|
|
59
59
|
The layout is an estimate for the prescription. An evaluation that states none
|
|
60
60
|
states no estimate and is valid, and what the scanner checks before the scan is
|
|
@@ -215,10 +215,14 @@ the scanner's {obj}`~pulserver.virtual.COILS` instead, fixed in the physical fra
|
|
|
215
215
|
named `transmit/receive`: the body coil both ways, taken to be one channel of
|
|
216
216
|
unit sensitivity each way; the body coil transmitting to a 48-channel receive
|
|
217
217
|
head array, `body/head48`; and an 8-channel head coil for parallel transmission
|
|
218
|
-
with a 32-channel receive head array, `head8/head32`. The
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
with a 32-channel receive head array, `head8/head32`. The 8-channel coil is
|
|
219
|
+
BART's `HEAD_2D_8CH` model, constant along $z$. The receive arrays are
|
|
220
|
+
arrays of 48 and 32 circular loops of
|
|
221
|
+
7 cm diameter, their centres spread evenly over an ellipsoidal helmet about the
|
|
222
|
+
head, and each sensitivity is $B_x + jB_y$ of its loop by the Biot-Savart law.
|
|
223
|
+
The loops sit as close to the head as a product array's do, so their
|
|
224
|
+
sensitivities fall off from the scalp inwards and unfold parallel-imaging
|
|
225
|
+
aliasing with the g-factors of such an array. Each model is sampled over a cube
|
|
222
226
|
25.6 cm wide about the isocentre and interpolated linearly between the samples.
|
|
223
227
|
The receive sensitivities $s_c$ have a root sum of squares of 1 at the
|
|
224
228
|
isocentre. The transmit sensitivities $s^+_c$ are the complex conjugates of the
|
|
@@ -40,9 +40,9 @@ write such a plugin.
|
|
|
40
40
|
- **Prewhitens on arrival, from the series' noise readouts or the exam's noise covariance.**
|
|
41
41
|
|
|
42
42
|
Code: {class}`~pulserver.recon.Prewhiten`. Test: *noise readouts whiten the imaging readouts* (`test_prewhiten.py`).
|
|
43
|
-
- **Compresses coils with one basis per stream, as
|
|
43
|
+
- **Compresses coils as the readouts arrive, with one basis per stream, or as a unit closes, with one basis per slice location.**
|
|
44
44
|
|
|
45
|
-
Code: {class}`~pulserver.recon.CompressChannels`, {class}`~pulserver.recon.CoilCompression`. Tests: *virtual channels are uncorrelated and carry the leading eigenvalues*; *compressed data and maps reconstruct the uncompressed image*; *calibration readouts are held then given on projected ahead of the first imaging readout*; *the basis comes from the calibration readouts of the first contrast* (`test_coil_compression.py`); *contrasts open together are buffered with the virtual channels and lose nothing* (`test_pics.py`).
|
|
45
|
+
Code: {class}`~pulserver.recon.CompressChannels`, {class}`~pulserver.recon.CoilCompression`. Tests: *virtual channels are uncorrelated and carry the leading eigenvalues*; *compressed data and maps reconstruct the uncompressed image*; *calibration readouts are held then given on projected ahead of the first imaging readout*; *the basis comes from the calibration readouts of the first contrast*; *a slice seen by channels the first slice does not see keeps its signal* (`test_coil_compression.py`); *contrasts open together are buffered with the virtual channels and lose nothing* (`test_pics.py`).
|
|
46
46
|
- **Finds coil maps in the unit, the stream or the exam, and refuses maps that differ in any recorded field.**
|
|
47
47
|
|
|
48
48
|
Code: {func}`~pulserver.recon.coil_maps`, {class}`~pulserver.recon.CoilSensitivities`. Tests: *a later unit without calibration readouts is given the maps of its slice*; *maps that differ in a field are refused naming it with both values*; *exam maps at another matrix are refused not resampled* (`test_calibration.py`).
|
|
@@ -51,7 +51,7 @@ write such a plugin.
|
|
|
51
51
|
Code: {class}`~pulserver.recon.ExamCache`. Test: *a value one cache stores is read by the next on its directory* (`test_app.py`).
|
|
52
52
|
- **Ships a `pics` plugin with prewhitening, coil compression, partial Fourier and asymmetric echo.**
|
|
53
53
|
|
|
54
|
-
Code: `src/pulserver/_zoo/recon/pics.py`. Tests: *every other phase encode and the centre reconstruct to the image of all lines*; *a partial fourier image is closer to the full one than the solve of its lines alone*; *
|
|
54
|
+
Code: `src/pulserver/_zoo/recon/pics.py`. Tests: *every other phase encode and the centre reconstruct to the image of all lines*; *a partial fourier image is closer to the full one than the solve of its lines alone*; *a real image times its phase restores the lines partial fourier leaves out*; *a multi echo scan sends the real and imaginary parts of each echo as series of their own*; *channels beyond the virtual coils are compressed before the maps and the solve* (`test_pics.py`).
|
|
55
55
|
- **Corrects the images of every shipped reconstruction in one order, each step on unless the scan or the site turns it off: a Fermi filter of the solved image's k-space, gradient nonlinearity, and the N4 receive field of the magnitude, one per slice and set.**
|
|
56
56
|
|
|
57
57
|
The receive field, fitted at four levels of N4's B-spline mesh, removes a head coil's centre-bright shading at 7 T and compresses the intensity ratios between separate compartments, such as a phantom's vials, towards one; a scan states `IntensityCorrectionLevels` 2 to keep them, or `IntensityCorrection` 0. The receive field is fitted to each slice of a 2D multi-slice series on its own and normalised to mean 1 inside that slice's object, so the shipped reconstructions do not keep intensity ratios between slices.
|
|
@@ -317,15 +317,16 @@ PLUGIN = Pics()
|
|
|
317
317
|
readout with them, or with the noise covariance a noise series left in the
|
|
318
318
|
exam. Without either it passes readouts unchanged and logs a warning once;
|
|
319
319
|
`Prewhiten(required=True)` raises instead. `CoilCompression(n)` keeps `n`
|
|
320
|
-
virtual channels
|
|
321
|
-
|
|
322
|
-
projects every later unit
|
|
320
|
+
virtual channels per slice location, with the basis of the calibration
|
|
321
|
+
k-space of the first unit of that location (its imaging k-space where it has
|
|
322
|
+
none), and projects every later unit of the location onto it;
|
|
323
|
+
`by_slice=False` keeps one basis for the stream. Compress a unit before requesting its maps,
|
|
323
324
|
so that they are estimated in the basis of the data they are used with.
|
|
324
325
|
`CompressChannels(n)`, placed after `Prewhiten` and before `AsymmetricEcho`,
|
|
325
326
|
holds the leading calibration readouts until the first imaging-only readout,
|
|
326
327
|
estimates the basis from those of the first contrast, and gives them on
|
|
327
|
-
projected
|
|
328
|
-
and a `CoilCompression` step in `recon` then compresses each unit.
|
|
328
|
+
projected. Navigator and odd/even phase-reference readouts are held and
|
|
329
|
+
projected with the readouts around them. A Cartesian scan that opens without calibration holds its readouts up to the k-space centre line its header states, and they give the basis; a non-Cartesian one passes unchanged, and a `CoilCompression` step in `recon` then compresses each unit.
|
|
329
330
|
|
|
330
331
|
`apps.pics` computes where the maps are, here the host. An encoding built with
|
|
331
332
|
`device=context.device`, such as {func}`bartorch.linop.CartesianSense`, computes
|
|
@@ -557,9 +558,9 @@ Every shipped plugin corrects each image in three steps, in this order
|
|
|
557
558
|
|
|
558
559
|
| Step | Correction | History | Recon parameter | Argument |
|
|
559
560
|
| --- | --- | --- | --- | --- |
|
|
560
|
-
| Fermi filter | The k-space of the complex image the solve returns, over its encoded axes, is multiplied by a radial Fermi window, half height at the Nyquist edge and a transition of ten samples of the longest axis ({func}`~pulserver.recon.fermi_filtered`); for a linear reconstruction of fully sampled k-space this is the apodization of the acquired k-space. The window multiplies the solved image's k-space rather than the measured samples because, before a regularised solve, it would reweight the data term against the regularisation and leave the k-space the solve fills in unfiltered beside filtered samples. A stack of non-Cartesian planes, whose planes are solved apart, is filtered along its partitions before they are transformed and in its plane after | `FERMI` | `KSpaceFilter` | `kspace_filter` |
|
|
561
|
-
| Gradient nonlinearity | The image is resampled from where its voxels were acquired to where they belong, from the gradient coil's table the header states as `gradient_coefficients` ({func}`~pulserver.recon.gradient_unwarped`); a 2D slice in its plane. The correction of each slice position and orientation is built once per series | `GRADUNWARP` | `GradientUnwarp` | `gradient_unwarp` |
|
|
562
|
-
| Receive field | The magnitude images are divided by the field N4 estimates from the first magnitude image of each slice and set ({class}`~pulserver.recon.IntensityCorrection`); later contrasts and repetitions take the same field, so echoes and time points keep their intensity ratios. The field is fitted at four levels of N4's B-spline mesh, which removes the centre-bright shading of a head coil at 7 T and compresses the intensity ratios between separate compartments, such as the vials of a phantom, towards one; at two levels (`IntensityCorrectionLevels` 2) it keeps those ratios and leaves that shading, the setting for quantitative phantom work. An image whose object falls apart into separate compartments, its largest connected part less than half of it, such as a few vials in air, is not divided, since N4 cannot tell their contrast from shading; nor is one whose object is under a hundredth of the image. Each slice of a 2D multi-slice series takes a field of its own, normalised to mean 1 inside that slice's object, so intensity ratios between slices are not kept. Real, imaginary and phase images, and the maps `qsm` makes from them, are not divided | `N4` | `IntensityCorrection` | `intensity_correction` |
|
|
561
|
+
| Fermi filter | The k-space of the complex image the solve returns, over its encoded axes, is multiplied by a radial Fermi window, half height at the Nyquist edge and a transition of ten samples of the longest axis ({func}`~pulserver.recon.fermi_filtered`); for a linear reconstruction of fully sampled k-space this is the apodization of the acquired k-space. The window multiplies the solved image's k-space rather than the measured samples because, before a regularised solve, it would reweight the data term against the regularisation and leave the k-space the solve fills in unfiltered beside filtered samples. A stack of non-Cartesian planes, whose planes are solved apart, is filtered along its partitions before they are transformed and in its plane after; the bands of a multiband unit, slices several slices apart, each in its own plane | `FERMI` | `KSpaceFilter` | `kspace_filter` |
|
|
562
|
+
| Gradient nonlinearity | The image is resampled from where its voxels were acquired to where they belong, from the gradient coil's table the header states as `gradient_coefficients` ({func}`~pulserver.recon.gradient_unwarped`); a 2D slice in its plane, and each band of a multiband unit in its own plane at its own position. The correction of each slice position and orientation is built once per series | `GRADUNWARP` | `GradientUnwarp` | `gradient_unwarp` |
|
|
563
|
+
| Receive field | The magnitude images are divided by the field N4 estimates from the first magnitude image of each slice and set ({class}`~pulserver.recon.IntensityCorrection`); later contrasts and repetitions take the same field, so echoes and time points keep their intensity ratios. The field is fitted at four levels of N4's B-spline mesh, which removes the centre-bright shading of a head coil at 7 T and compresses the intensity ratios between separate compartments, such as the vials of a phantom, towards one; at two levels (`IntensityCorrectionLevels` 2) it keeps those ratios and leaves that shading, the setting for quantitative phantom work. An image whose object falls apart into separate compartments, its largest connected part less than half of it, such as a few vials in air, is not divided, since N4 cannot tell their contrast from shading; nor is one whose object is under a hundredth of the image. Each slice of a 2D multi-slice series, each band of a multiband unit included, takes a field of its own, normalised to mean 1 inside that slice's object, so intensity ratios between slices are not kept. Real, imaginary and phase images, and the maps `qsm` makes from them, are not divided | `N4` | `IntensityCorrection` | `intensity_correction` |
|
|
563
564
|
|
|
564
565
|
A recon parameter of 0, `off`, `false` or `no` turns its step off, and any other number, `on`, `true` or `yes` on; without
|
|
565
566
|
one, the plugin's argument decides, and every argument defaults to on.
|
|
@@ -589,14 +590,14 @@ PLUGIN = PicsRecon(intensity_correction=False)
|
|
|
589
590
|
|
|
590
591
|
| Plugin | Reconstructs |
|
|
591
592
|
| --- | --- |
|
|
592
|
-
| `pics` | One image per slice, contrast, cardiac phase, set and repetition, averages summed, from readouts placed by their encoding counters, whitened, compressed to six virtual channels from the calibration readouts that lead the scan, completed to full echoes and cropped to the reconstruction field of view as they arrive (`Prewhiten`, `CompressChannels`, `AsymmetricEcho`, `RemoveReadoutOversampling`). Each image is solved as `bart pics -R W` over the coil sensitivities of {func}`~pulserver.recon.coil_maps` (`bart nlinv --phase-pole 0` of the unit's calibration readouts, else the maps stored for its slice or the exam's, else a fit to the unit's own low-resolution centre); maps estimated from calibration readouts are logged, and a fit to the unit's own centre is logged with why no other source served it, as a warning where the series' own calibration was refused.
|
|
593
|
+
| `pics` | One image per slice, contrast, cardiac phase, set and repetition, averages summed, from readouts placed by their encoding counters, whitened, compressed to six virtual channels from the calibration readouts that lead the scan, completed to full echoes and cropped to the reconstruction field of view as they arrive (`Prewhiten`, `CompressChannels`, `AsymmetricEcho`, `RemoveReadoutOversampling`). Each image is solved as `bart pics -R W` over the coil sensitivities of {func}`~pulserver.recon.coil_maps` (`bart nlinv --phase-pole 0` of the unit's calibration readouts, else the maps stored for its slice or the exam's, else a fit to the unit's own low-resolution centre); maps estimated from calibration readouts are logged, and a fit to the unit's own centre is logged with why no other source served it, as a warning where the series' own calibration was refused. An image with a partial-Fourier axis is solved again for a real image times the phase of the first solve over the k-space sampled on both sides of the centre (the homodyne phase), so the k-space it leaves unsampled is the conjugate of what it samples. A scan of more than one contrast also sends the real and imaginary parts of each image, series 1 and 2 beside the magnitude's 0; with partial Fourier their phase is that phase. A unit of calibration readouts only makes no image and stores its maps |
|
|
593
594
|
| `cine` | Every frame of a 2D Cartesian slice solved together by ADMM over a wavelet and a temporal total-variation term, the frames sharing the coil maps: cardiac phases labelled `PHS` (prospective), interpolated from readouts placed in their beat by the recorded triggers, systole (`SYSTOLE_FRACTION` of the median beat, scaled with the square root of the interval) and diastole mapped separately onto the median beat (retrospective), binned from a golden free-running series, real-time frames of a golden series, or the interleaved real-time frames labelled `PHS`, regularised in time as golden real-time frames are; beats whose interval differs from the median by more than `ARRHYTHMIA_REJECTION` of it are rejected, and fill only the cardiac phases of a line no regular beat reaches; a prospective beat off the median is stretched to the median beat, and its readouts after the next trigger are dropped. Follows the `Gating`, `Ordering` and `CardiacPhases` recon parameters |
|
|
594
595
|
| `phase_cycles` | `pics`'s image of each phase cycle of a balanced SSFP (`SET`), the cycles sharing the coil maps, combined into one image: by default the larger magnitude of two cycles, as CISS combines them, and the root sum of squares of more; `combination` names `'rss'`, `'maximum'` or `'complex'` (complex sum) instead |
|
|
595
596
|
| `coronary` | `pics`'s image of a segmented whole-heart scan, each segment's readouts first moved back by the in-plane displacement of its image navigator (`NAV` readouts during the catalyst), registered against the first segment's by the phase of their cross-spectrum; every segment is reconstructed, with no navigator gating. `region` narrows the registration to the central fraction of the readout field of view |
|
|
596
597
|
| `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 |
|
|
597
598
|
| `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 |
|
|
598
599
|
| `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 |
|
|
599
|
-
| `epi` |
|
|
600
|
+
| `epi` | Images from EPI readouts, each whitened, projected onto the virtual channels (`CompressChannels`, `EPI_VIRTUAL_COILS_ACCELERATED` of them where the header's acceleration per joint solve, in-plane line step times partition step times bands divided by shots, is at least `EPI_ACCELERATED_SOLVE`), resampled off its ramps onto the matrix along its k-space trajectory and corrected for its odd/even phase as it arrives, against the blip-free reference train or the shot's navigator (`bart` ramp operator, `estimate_epi_echo_phase`, `estimate_epi_phase`). The first reference or navigator also gives the read-gradient delay, by which every later readout's trajectory is delayed before it is resampled. The coil sensitivities of the whole stack are estimated once, as one volume, from the calibration the scan opens with (FLEET's EPI shots, each polarity's maps unfolding the images of its set, or a gradient echo's lines), and serve every image; from a single-band slice's full-k phase reference on, the slice takes maps drawn from that reference, which holds the sensitivities of the signal where the field piles it up at the scan's echo time. A fully sampled unit is the least-squares SENSE combination of its coils, an undersampled one a wavelet-regularised SENSE solve whose maps carry the smooth phase of a conjugate-gradient SENSE image, so the off-resonance phase of a long echo time does not ring under the prior (with `wavelet=0`, the conjugate-gradient image itself), and a partial-Fourier one is solved for a real image times a known phase: that of the full-k phase reference volume of its slice (set 4, at the scan's echo time, reconstructed and sent as no image) times the smooth drift of the unit against it, or without a reference the unit's own smooth phase, as a spin echo's; a unit whose image that phase does not describe is left zero-filled with a warning. A unit whose lines come from several segments (`SEG`), the shots of a segmented scan, is solved with the phase each shot adds to the image (MUSE, Chen et al. 2013): each shot's phase relative to the first's, a sum of Legendre polynomials of degree `SHOT_PHASE_ORDER` in plane per partition (per band), is fitted by Gauss-Newton against an image of the unit, tried in turn: the slice's full-k phase reference; for a forward-encoded unit, the forward planes of its field pair (so a full-k reference read in several shots is fitted against the pair); and for at most `SHOT_PHASE_SEARCH_SHOTS` shots, the unit solved with the best of `SHOT_PHASE_CONSTANTS` constant phases per shot (how the field pair itself is fitted). From each, the fit alternates with the joint solve that encodes each shot's lines from the image times its phase (`bartorch.linop.FieldCorrected` with given coefficients) until the data residual settles (`SHOT_PHASE_TOLERANCE`, at most `SHOT_PHASE_ITERATIONS`); every template is tried, the constant search only where no template lowers the residual by more than `SHOT_PHASE_CLEAR_GAIN`, and the phases leaving the least residual are kept if they lower it at all, else the unit is solved as one and the log says so (the fits, solves and residuals on the reconstruction's device), and the partial-Fourier and wavelet solves take the phases. A segmented single-band full-k reference is unfolded by its calibration maps and its own maps are drawn from its coil images with the shot phases removed (`EpiRecon(shot_phase=False)` solves every unit as one). A multiband unit is solved as one volume of its bands, a partition each with the blipped-CAIPI encode of its lines, unfolded by its bands' slices' maps, so its in-plane and band aliases are unfolded together by every virtual channel; where its bands lie on calibrated slices it is solved at the multiband wavelet weight (`EPI_WAVELET_MULTIBAND`), or at the slice's (`EPI_WAVELET_SLICE`) where it is read in several shots and its in-plane line step times its bands, per shot, is at most `EPI_WAVELET_SEGMENTED_ACCELERATION` (2: R2 x MB2 in 2 or 3 shots), and each band is filtered and corrected as the slice it is. The phase-encode-reversed reference set is reconstructed and sent as no image. With PyHySCO installed (GPL-3.0, not a dependency; the Docker image carries it), one displacement field is estimated from the field pair the scan opens with (set 2 forward, set 3 reversed, both reconstructed and sent as no image; a gradient-echo pair at the scan's echo time for a gradient-echo scan, a spin-echo pair for a spin-echo scan), and every image is corrected by it, interpolated between the pair's planes (so a 3D slab takes the field of the 2D pair over it); the field is kept for the exam and a later series without a pair takes it where it shares the pair's slice direction, in-plane matrix and field of view, dwell time and phase-encode line step; history `HYSCO`, logged as the corrections are; an image left uncorrected, for want of PyHySCO or of the field pair, is logged with the reason as a warning |
|
|
600
601
|
| `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 |
|
|
601
602
|
| `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 |
|
|
602
603
|
|
|
@@ -785,17 +785,22 @@ repetition from the modules their function is built from.
|
|
|
785
785
|
a volume. The flip angle is the control of every excitation of the plugins
|
|
786
786
|
with a `flip` entry, which an MPRAGE's inversion is not. The spin-echo
|
|
787
787
|
plugins, `fse3d` among them, have none, and the amplitude of their
|
|
788
|
-
excitation and refocusing pulses is that of the design. The
|
|
789
|
-
`epi2d` and `epi3d
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
788
|
+
excitation and refocusing pulses is that of the design. The prescans of
|
|
789
|
+
`epi2d` and `epi3d` each repeat at their own shortest TR, which the console's
|
|
790
|
+
TR does not set: the calibration, FLEET or gradient echo, and the volumes of
|
|
791
|
+
the whole stack or slab, the field pair and the full-k phase reference. A
|
|
792
|
+
scanner costs each sequence of the chain over its own repetition. Where a
|
|
793
|
+
prescan plays more RF power than a TR, as a slice a long TR apart, a few
|
|
794
|
+
long 3D shots, the fat saturation the FLEET calibration of `epi2d` plays
|
|
795
|
+
before every shot or a spin-echo field pair allow, the layout is its
|
|
796
|
+
pulses, the strongest first, as many as it plays in a TR, over the TR, with
|
|
797
|
+
no control: the console then refuses a protocol whose prescan exceeds the
|
|
798
|
+
RF limits, whatever its TR. A gradient-echo field pair at the shortest TR
|
|
799
|
+
plays a TR's power, and the layout is then the TR. The calibration plays
|
|
800
|
+
the excitation's waveform at `CALIBRATION_FLIP_DEG` of the sequence
|
|
801
|
+
function, 10 degrees, and the fat saturation of `epi2d` is numbered after
|
|
802
|
+
the excitation, so the excitation keeps the number the listing gives it
|
|
803
|
+
with the fat saturation on or off.
|
|
799
804
|
|
|
800
805
|
## Logging
|
|
801
806
|
|
|
@@ -231,8 +231,8 @@ line, is written to standard output, and the scan clock to standard error.
|
|
|
231
231
|
- `--spacing`, in mm, 1 mm by default, is the spacing at which the phantom is
|
|
232
232
|
sampled as tissue. `--coils` sets the phantom's own receive coils; `--coil`
|
|
233
233
|
scans it with one of the virtual scanner's coils instead, `body`,
|
|
234
|
-
`body/head48` or `head8/head32`, named `transmit/receive
|
|
235
|
-
|
|
234
|
+
`body/head48` or `head8/head32`, named `transmit/receive`: the receive
|
|
235
|
+
arrays are 48 and 32 loops on a helmet close about the head.
|
|
236
236
|
- `--nod DEGREES PERIOD` turns the subject about the physical x axis
|
|
237
237
|
sinusoidally, `--drift X Y Z` translates it in mm/min, and
|
|
238
238
|
`--jumps RATE MM DEGREES` moves it suddenly at random, `RATE` times a second
|
|
@@ -24,14 +24,14 @@ classifiers = [
|
|
|
24
24
|
]
|
|
25
25
|
|
|
26
26
|
dependencies = [
|
|
27
|
-
"pypulseqpp>=0.0.
|
|
27
|
+
"pypulseqpp>=0.0.72",
|
|
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.25",
|
|
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",
|
|
@@ -286,6 +286,13 @@ def _same_pulse(a: pp.RfDefinition, b: pp.RfDefinition) -> bool:
|
|
|
286
286
|
)
|
|
287
287
|
|
|
288
288
|
|
|
289
|
+
#: The relative excess over a layout's RF power within which a prescan plays
|
|
290
|
+
#: the same power: a prescan that plays a TR's pulses at the TR's rate, such
|
|
291
|
+
#: as a gradient-echo field pair at the shortest TR, exceeds it by rounding
|
|
292
|
+
#: alone, and the wire writes amplitudes to nine significant digits.
|
|
293
|
+
SAME_POWER_RTOL = 1e-9
|
|
294
|
+
|
|
295
|
+
|
|
289
296
|
def densest(layout: RfLayout, *prescans: RfLayout) -> RfLayout:
|
|
290
297
|
"""Return ``layout``, or the RF of a prescan of the chain where it plays more RF power, over the layout's period.
|
|
291
298
|
|
|
@@ -295,22 +302,27 @@ def densest(layout: RfLayout, *prescans: RfLayout) -> RfLayout:
|
|
|
295
302
|
power than the TR does, and a protocol whose TR meets the limits is then
|
|
296
303
|
refused before the scan. Each of ``prescans`` states the prescan's
|
|
297
304
|
instances over its duration (:meth:`RfLayout.of`). The one of the most RF
|
|
298
|
-
power (:func:`rf_power`), where it is more than the layout's
|
|
299
|
-
as its instances
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
305
|
+
power (:func:`rf_power`), where it is more than the layout's beyond
|
|
306
|
+
``SAME_POWER_RTOL``, is returned as its instances of the most energy
|
|
307
|
+
first, then in play order, repeated, as many as it plays in
|
|
308
|
+
``layout.period``, rounded up, over that period: a prescan of unequal
|
|
309
|
+
pulses, such as a spin echo's excitation and refocusing, states its
|
|
310
|
+
refocusing pulses first. The period stays the TR the console sets, and
|
|
311
|
+
the power is at least the prescan's at every TR, so a scanner that
|
|
312
|
+
lengthens the TR to meet its limits cannot meet them for a prescan that
|
|
313
|
+
exceeds them.
|
|
304
314
|
|
|
305
315
|
The prescan's definitions take the numbers of the layout's, which the
|
|
306
316
|
listing names: the definition that plays the same pulse, else the first
|
|
307
317
|
of its use, and the amplitudes are over that definition's peak, so the
|
|
308
318
|
peak each instance plays is its own. A definition of a use the layout
|
|
309
319
|
plays no pulse of is numbered after the layout's. The instances follow no
|
|
310
|
-
control:
|
|
320
|
+
control: they play the amplitudes of the evaluated protocol.
|
|
311
321
|
"""
|
|
312
322
|
strongest = max(prescans, key=rf_power, default=None)
|
|
313
|
-
if strongest is None or rf_power(strongest) <= rf_power(layout)
|
|
323
|
+
if strongest is None or rf_power(strongest) <= rf_power(layout) * (
|
|
324
|
+
1 + SAME_POWER_RTOL
|
|
325
|
+
):
|
|
314
326
|
return layout
|
|
315
327
|
own = layout.instances.definitions
|
|
316
328
|
definitions = list(own)
|
|
@@ -328,7 +340,18 @@ def densest(layout: RfLayout, *prescans: RfLayout) -> RfLayout:
|
|
|
328
340
|
scale = np.divide(peak, over, out=np.ones_like(peak), where=over > 0)
|
|
329
341
|
played = len(strongest.instances.definition)
|
|
330
342
|
count = math.ceil(layout.period * played / strongest.period - 1e-9)
|
|
331
|
-
|
|
343
|
+
energy = np.array(
|
|
344
|
+
[
|
|
345
|
+
d.peak_hz**2
|
|
346
|
+
* sum(np.trapezoid(np.abs(channel) ** 2, d.time) for channel in d.waveform)
|
|
347
|
+
for d in strongest.instances.definitions
|
|
348
|
+
]
|
|
349
|
+
)
|
|
350
|
+
played_energy = (
|
|
351
|
+
strongest.instances.amplitude**2 * energy[strongest.instances.definition]
|
|
352
|
+
)
|
|
353
|
+
order = np.argsort(-played_energy, kind="stable")
|
|
354
|
+
picks = order[np.arange(count) % played]
|
|
332
355
|
which = strongest.instances.definition[picks]
|
|
333
356
|
instances = pp.RfInstances(
|
|
334
357
|
tuple(definitions),
|
|
@@ -338,6 +361,19 @@ def densest(layout: RfLayout, *prescans: RfLayout) -> RfLayout:
|
|
|
338
361
|
return RfLayout(instances, (None,) * count, layout.period)
|
|
339
362
|
|
|
340
363
|
|
|
364
|
+
#: Prescans of an EPI scan that image the whole stack or slab as volumes of
|
|
365
|
+
#: their own, each at its own shortest TR: the field pair and the
|
|
366
|
+
#: full-k phase reference.
|
|
367
|
+
STACK_PRESCANS = ("field_forward", "field_reversed", "full_k_reference")
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
def stack_prescans(chain: list[pp.Sequence]) -> list[pp.Sequence]:
|
|
371
|
+
"""Return the sequences of an EPI chain, main sequence last, named ``<scan>_<name>`` for a name of ``STACK_PRESCANS``."""
|
|
372
|
+
stem = chain[-1].definitions["Name"]
|
|
373
|
+
names = {f"{stem}_{name}" for name in STACK_PRESCANS}
|
|
374
|
+
return [seq for seq in chain[:-1] if seq.definitions.get("Name") in names]
|
|
375
|
+
|
|
376
|
+
|
|
341
377
|
def packets(
|
|
342
378
|
n_slices: int, cycle: float | None, shot: float, raster: float
|
|
343
379
|
) -> tuple[list[int], list[float]]:
|
|
@@ -21,6 +21,7 @@ from pulserver._zoo._evaluation import (
|
|
|
21
21
|
packets,
|
|
22
22
|
pixel_bandwidth,
|
|
23
23
|
rf_layout,
|
|
24
|
+
stack_prescans,
|
|
24
25
|
)
|
|
25
26
|
from pulserver._zoo._user import OPTIONS, OWN, user_entries
|
|
26
27
|
from pulserver.design import (
|
|
@@ -41,7 +42,7 @@ from pulserver.protocol import (
|
|
|
41
42
|
UIParam,
|
|
42
43
|
)
|
|
43
44
|
|
|
44
|
-
#: The calibration
|
|
45
|
+
#: The calibration every scan opens with: ``"fleet"``, the
|
|
45
46
|
#: default, segmented EPI with the imaging train's echo spacing, its shots of
|
|
46
47
|
#: a slice in rapid succession, in each phase-encode polarity, so the coil
|
|
47
48
|
#: sensitivities are distorted as the images are; or ``"gre"``, a gradient
|
|
@@ -122,9 +123,9 @@ class Epi2D(SequencePlugin):
|
|
|
122
123
|
def evaluate(self, system, protocol):
|
|
123
124
|
# A cycle plays one shot of every slice group of a packet, and a TR
|
|
124
125
|
# the shots of a volume. The design of one group at the shortest TR
|
|
125
|
-
# plays one cycle of that group per shot
|
|
126
|
-
#
|
|
127
|
-
#
|
|
126
|
+
# plays one cycle of that group per shot. The prescans repeat at their
|
|
127
|
+
# own TR, which the console's does not set: where one plays more RF
|
|
128
|
+
# power than a TR, the layout states its power.
|
|
128
129
|
a = arguments(self, protocol)
|
|
129
130
|
multiband = a["multiband"]
|
|
130
131
|
if a["n_slices"] % multiband:
|
|
@@ -145,13 +146,29 @@ class Epi2D(SequencePlugin):
|
|
|
145
146
|
# The reference only fills a dummy shot, which `played` counts.
|
|
146
147
|
"phase_reference": False,
|
|
147
148
|
}
|
|
148
|
-
*calibration, _, volume = self.app(system, **(protocol.arguments | one))
|
|
149
149
|
n_shots, n_frames = a["n_shots"], a["n_frames"]
|
|
150
|
+
*prescans, volume = self.app(system, **(protocol.arguments | one))
|
|
151
|
+
stem = volume.definitions["Name"]
|
|
152
|
+
references = [
|
|
153
|
+
seq for seq in prescans if seq.definitions["Name"] == f"{stem}_reference"
|
|
154
|
+
]
|
|
155
|
+
volumes = len(references) + n_frames
|
|
156
|
+
# The calibration, the field pair and the full-k reference play every
|
|
157
|
+
# slice at their own shortest TR, so they are designed at the
|
|
158
|
+
# prescription, and the layout states the prescan the scan plays.
|
|
159
|
+
chain = list(self.app(system, **protocol.arguments))
|
|
160
|
+
calibration = [
|
|
161
|
+
seq
|
|
162
|
+
for seq in chain[:-1]
|
|
163
|
+
if seq.definitions["Name"] == f"{stem}_calibration"
|
|
164
|
+
]
|
|
165
|
+
stack_volumes = stack_prescans(chain)
|
|
150
166
|
shot = volume.definitions["TR"][0] / n_shots
|
|
151
167
|
sizes, cycles = _cycles(
|
|
152
168
|
a | {"n_slices": groups}, shot, system.block_duration_raster
|
|
153
169
|
)
|
|
154
|
-
# The
|
|
170
|
+
# The time series, and the reference volume that follows a
|
|
171
|
+
# calibration without FLEET's two polarities, each play their dummy
|
|
155
172
|
# cycles first, packet by packet.
|
|
156
173
|
n_dummy = a["n_dummy"]
|
|
157
174
|
if n_dummy is None:
|
|
@@ -162,7 +179,7 @@ class Epi2D(SequencePlugin):
|
|
|
162
179
|
if not NAVIGATOR:
|
|
163
180
|
# The reference plays in the last dummy cycle, so there is one.
|
|
164
181
|
dummy_cycles = max(dummy_cycles, 1)
|
|
165
|
-
played =
|
|
182
|
+
played = (volumes - n_frames + 1) * dummy_cycles + volumes * n_shots
|
|
166
183
|
tr = n_shots * max(cycles)
|
|
167
184
|
# The fat saturation is numbered after the excitation, so the
|
|
168
185
|
# excitation keeps the number the listing, made with it on, gives it.
|
|
@@ -172,12 +189,18 @@ class Epi2D(SequencePlugin):
|
|
|
172
189
|
values = achieved(self, volume) | {UIParam.TR: tr}
|
|
173
190
|
return Evaluation(
|
|
174
191
|
protocol.replace(values),
|
|
175
|
-
played * sum(cycles)
|
|
192
|
+
played * sum(cycles)
|
|
193
|
+
+ sequences.duration(calibration)
|
|
194
|
+
+ sequences.duration(stack_volumes),
|
|
176
195
|
info=bandwidth_note(
|
|
177
196
|
system, a["readout_bandwidth_hz"], *first_readout(volume)
|
|
178
197
|
),
|
|
179
198
|
rf_layout=densest(
|
|
180
|
-
layout,
|
|
199
|
+
layout,
|
|
200
|
+
*(
|
|
201
|
+
RfLayout.of(prescan, None)
|
|
202
|
+
for prescan in (*calibration, *stack_volumes)
|
|
203
|
+
),
|
|
181
204
|
),
|
|
182
205
|
sequence=volume,
|
|
183
206
|
echo_spacing=volume.definitions["EchoSpacing"][0],
|