pulserver 0.4.22__tar.gz → 0.4.23__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.22 → pulserver-0.4.23}/PKG-INFO +1 -1
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/ir-cache.md +21 -11
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_types.h +5 -3
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/pulseg_internal.h +25 -13
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/structure/pulseg_waves.c +43 -77
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/waves.cpp +14 -6
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_evaluation.py +5 -1
- pulserver-0.4.23/tests/_synthetic.py +50 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir.py +19 -8
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_playout.py +11 -8
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_waves.py +91 -4
- pulserver-0.4.22/tests/_synthetic.py +0 -25
- {pulserver-0.4.22 → pulserver-0.4.23}/.claude/skills/build-and-test/SKILL.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.claude/skills/write-documentation/SKILL.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.dockerignore +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.gitattributes +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/dependabot.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/codeql.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/console.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/docs.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/fields.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/image.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/style.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/tag.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/tags-release.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/test-ci.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.github/workflows/wheels.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.gitignore +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/.pre-commit-config.yaml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/AGENTS.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/CMakeLists.txt +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/CODE_OF_CONDUCT.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/CONTRIBUTING.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/LICENSE +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/LICENSES/gadgetron-python-MIT.txt +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/NEXT.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/README.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/SECURITY.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/SKILLS.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/codecov.yml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docker/Dockerfile +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docker/compose.yaml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docker/entrypoint.sh +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docker/limits/limits.txt +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docker/smoke.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/architecture-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/architecture.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/capabilities.js +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/context-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/context.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulseg-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulseg.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulserver-logo-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulserver-logo.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulserver-mark-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulserver-mark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/pulserver.css +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/repetition-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/repetition.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/safety-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/safety.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/session-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/session.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/virtual-dark.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_static/virtual.svg +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_templates/autosummary/base.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_templates/autosummary/class.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_templates/autosummary/enum.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/_templates/autosummary/function.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/design.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/host.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/ir.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/mrd.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/protocol.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/proxy.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/recon.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/validate.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api/virtual.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/api_objects.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/colab.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/conf.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/documentation.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/installation.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/calibration.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/protocol-wire.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/sar-ratios.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/sequence-definitions.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/internals/virtual-scanner.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/releases.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/style.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/terminology.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/developer-guide/workflow.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/examples/course.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/examples/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/examples/tours.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/architecture.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/protocol.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/raw-data.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/reconstruction-session.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/reconstruction.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/safety-checks.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/scanner-representation.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/explanations/virtual-scanner.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/figure_style.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/misc/contributors.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/misc/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/misc/license.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/misc/related.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/index.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/reconstruction-client.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/reconstruction-plugins.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/running.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/scanner-sequences.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/docs/user-guide/virtual-scanner.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/01_protocol_to_image.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/02_sequence_plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/03_scanner_representation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/04_reconstruction_plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/05_recon_plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/README.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/01-course/_gallery_header.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/02-tours/01_protocol_resolution.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/02-tours/02_segmentation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/02-tours/README.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/02-tours/_gallery_header.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/README.rst +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/gallery/_gallery_header.md +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/pyproject.toml +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/scripts/build_docs.sh +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/scripts/check_throughput.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/scripts/format_and_lint.sh +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/scripts/make_artwork.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/scripts/publish_docs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/setup.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/CMakeLists.txt +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/cache/pulseg_cache.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/core/pulseg_core.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/core/pulseg_error.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/core/pulseg_math.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_cache.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_collection.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_config.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_errors.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_io.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_playout.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseg/pulseg_protocol.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseq/pulseq.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseq/pulseq_config.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/include/pulseq/pulseq_types.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/io/pulseg_opts.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/io/pulseg_protocol.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/playout/pulseg_playout.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/pulseq/pulseq_internal.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/pulseq/pulseq_shape.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/structure/pulseg_descriptor.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/structure/pulseg_getters.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/c/structure/pulseg_repetition.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/fourier/bindings.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/fourier/bindings.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/fourier/parallel.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/fourier/timeline.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/fourier/timeline.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/collection.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/dedup.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/from_libraries.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/from_libraries.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/gradient_stretch.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/pulseg_convert.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/pulseq_file.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/pulseq_file.h +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/structure.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/ir/wave_plan.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/module.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/native.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/playout.cpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/cpp/playout.hpp +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_accelerators.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_cli.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_labels.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_logs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_memory.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_plugins.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_site_packages.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_fse.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_inversion.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_pmc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_saturation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_slab.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/_user.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/epi.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/nufft.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/pics.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/pics_train.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/pmc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/recon/qsm.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/bssfp2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/epi2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/epi3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/fse3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/fse_pd3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/_entries.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/_options.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/_plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/_recon_parameters.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/design/_rf.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/__main__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_blocks.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_command.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_limits.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_memo.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_push.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_server.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_service.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_slew.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/host/_store.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_calibration.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_checks.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_convert.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_playout.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_source.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_vendor.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/ir/_waves.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/_acquisitions.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/_header.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/_images.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/_metadata.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/mrd/_sequence.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/protocol/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/protocol/_keys.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/protocol/_prescription.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/protocol/_schema.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/protocol/_wire.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/__main__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_designs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_enrich.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_held.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_intake.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_local.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_motion.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_proxy.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_queue.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_receiver.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_seqdesc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/proxy/_workers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/__main__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_buffers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_calibration.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_correct.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_exam_image.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_figure.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_loader.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_replay.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/application.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/concurrency.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/connection.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/constants.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/exam.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/offline.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/readers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_runtime/writers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/_units.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/gadgets.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/epi.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/nufft.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/nufft_train.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/pics.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/pics_train.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/pmc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/handlers/qsm.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/recon/plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/validate/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/validate/_command.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/validate/_compare.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/validate/_validate.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/validate/_xml.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/__init__.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_brainweb.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_client.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_coils.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_command.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_console.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_export.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_fourier.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_girf.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_localizer.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_motion.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_phantom.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_stream.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_timeline.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/src/pulserver/virtual/_tissue.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/_analytic.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/_host.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/_seqtext.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/_virtual.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/_zoo.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/conftest.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/bssfp.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/fixtures/sequences/zte_3d.seq +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/check_initializers.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/check_segment_plays.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/print_wave_samples.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/read_cache_summary.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/read_rf_definitions.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/read_rf_timing.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/native/replay_an_instance.c +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/crash.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/gre2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/gre2d_raw.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/rf_train.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/stall.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/strong.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/tiny.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/plugins/typed.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_app.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_buffers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_calibration.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_coil_compression.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_connection.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_correct.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_epi.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_exam_image.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_flags.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_gadgets.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_handlers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_images.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_intensity_correction.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_loader.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_mrd2dicom.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_nufft.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_pics.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_pmc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_prewhiten.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_qsm.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_qsm_first_echo_maps.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_readers_writers.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_slots.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon/test_units.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/children.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/crash.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/device.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/exam.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/gre2d.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/recon_plugins/pose.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_any_rotation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_console.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_console_sequences.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_design_memo.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_design_push.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_design_server.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_design_service.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_docs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_docstring_defaults.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_docstrings.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_enrich.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_exam_artifacts.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_exam_calibration.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_exam_sharing.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_host_slots.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_image.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_checks.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_designed.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_extensions.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_gradient_stretch.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_grouping.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_labels.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_prescan.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_prescan_tour.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_profile.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_receive_calibration.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_repetition.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_rf.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_rf_freq.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_segments.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_source.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_steady_excitation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_timing.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_ir_vendor.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_keys.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_limits.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_logs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_memory.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_motion.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_mrd_images.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_mrd_sequence.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_played_time.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_plugin_options.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_plugins.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_protocol.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_proxy.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_publish_docs.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_resolution.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_rf_layout.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_scan_command.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_scan_time.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_seqdesc.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_sequence_plugin.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_site_packages.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_slew_derate.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_smoke.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_validate.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_brainweb.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_clock.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_coils.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_export.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_fourier.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_localizer.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_virtual_sequences.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_wire.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_zoo_defaults.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_zoo_evaluation.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_zoo_fov_offset.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/tests/test_zoo_mrd_labels.py +0 -0
- {pulserver-0.4.22 → pulserver-0.4.23}/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.23
|
|
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>
|
|
@@ -119,23 +119,33 @@ makes the prepared event play them. At both, a block plays one waveform per
|
|
|
119
119
|
axis from waveform memory: a wave. Logical axis $o$ plays
|
|
120
120
|
|
|
121
121
|
$$
|
|
122
|
-
g_o(t) = \sum_d
|
|
122
|
+
g_o(t) = \sum_d c_{od}\, w_d(t), \qquad c_{od} = R_{od}\, a_d,
|
|
123
123
|
$$
|
|
124
124
|
|
|
125
125
|
with $R$ the block's rotation, the identity for a block without one, $a_d$ the
|
|
126
|
-
amplitude of the event on axis $d$, $w_d$ its waveform normalised to a
|
|
127
|
-
magnitude of one
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
conversion keeps
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
126
|
+
amplitude of the event on axis $d$, and $w_d$ its waveform normalised to a
|
|
127
|
+
largest magnitude of one. Each axis plays on its own gradient board at its own
|
|
128
|
+
amplitude, so two blocks play the same waveform on axis $o$ whenever their
|
|
129
|
+
weights $c_{o\cdot}$ are proportional, the factor carrying the polarity. The
|
|
130
|
+
conversion keeps one wave per subsequence for each distinct set of event
|
|
131
|
+
definitions and shapes and, on each axis, the direction of $c_{o\cdot}$
|
|
132
|
+
scaled to one on its largest entry, with directions whose entries round to the
|
|
133
|
+
same multiple of $10^{-4}$ taken as equal. The wave is normalised on each axis
|
|
134
|
+
to a largest magnitude of one.
|
|
135
|
+
|
|
136
|
+
A spoke turned in the plane therefore plays one wave at every angle: on each
|
|
137
|
+
axis only one logical axis reaches it, and the turn moves into the
|
|
138
|
+
amplitudes. A partition lobe scaled per partition plays one wave on its axis.
|
|
139
|
+
An interleaf that drives two logical axes with different shapes, turned in
|
|
140
|
+
the plane, mixes them in a ratio that changes with the angle, and plays a wave
|
|
141
|
+
per angle.
|
|
134
142
|
|
|
135
143
|
At every segment position where an instance carries a rotation other than
|
|
136
144
|
the identity, or plays a gradient the position's events are not prepared
|
|
137
|
-
with, each block with a gradient event plays its wave on each axis
|
|
138
|
-
times the wave's largest magnitude
|
|
145
|
+
with, each block with a gradient event plays its wave on each axis at its own
|
|
146
|
+
amplitude there, $c_{ok}/c'_{ok}$ times the wave's largest magnitude, with
|
|
147
|
+
$c'$ the weights the wave was laid down with and $k$ their largest entry on
|
|
148
|
+
that axis, and the scanner applies the
|
|
139
149
|
prescription's rotation alone, or no rotation under `NOROT`. Each such
|
|
140
150
|
position records the number of points of the longest wave it plays, and the
|
|
141
151
|
span of time the waves cover. Every wave a position plays, and every position
|
|
@@ -578,9 +578,11 @@ typedef struct pulseg_block_instance
|
|
|
578
578
|
* waves -- one whose blocks carry a rotation, or play a gradient shape the
|
|
579
579
|
* position's prepared events do not hold -- the gradients play as one
|
|
580
580
|
* wave per axis, pulseg_materialize_wave(wave_id), each at
|
|
581
|
-
* wave_amp_hz_per_m: the block's
|
|
582
|
-
*
|
|
583
|
-
*
|
|
581
|
+
* wave_amp_hz_per_m: the block's own amplitude on that output axis, its
|
|
582
|
+
* rotation and logical amplitudes included, with its sign. Blocks whose
|
|
583
|
+
* weights on an output axis differ only by a factor share that axis's
|
|
584
|
+
* waveform, so a turn in the plane changes these amplitudes and not the
|
|
585
|
+
* wave. The rotation matrix above is then already in the wave. wave_id is -1 elsewhere, and the
|
|
584
586
|
* amplitudes 0: the block plays its position's events at the
|
|
585
587
|
* g*_amp_hz_per_m above. */
|
|
586
588
|
int wave_id;
|
|
@@ -358,18 +358,25 @@ typedef struct pulseg_block_initial_state
|
|
|
358
358
|
* definition or shape the position's prepared events do not hold.
|
|
359
359
|
*
|
|
360
360
|
* A rotation extension turns a block's gradients within the logical frame, so
|
|
361
|
-
* output axis o plays sum_d
|
|
362
|
-
* normalised waveforms w_d,
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
*
|
|
361
|
+
* output axis o plays sum_d c[o][d] * w_d(t), with c[o][d] = rotation[o][d] *
|
|
362
|
+
* a_d: the block's three normalised waveforms w_d, weighted, with the
|
|
363
|
+
* identity for a block without a rotation. Each output axis plays on its own
|
|
364
|
+
* gradient board at its own amplitude, so two blocks share an output axis's
|
|
365
|
+
* waveform whenever their weights c[o][.] are proportional, the factor
|
|
366
|
+
* carrying the polarity. A spoke turned in the plane thus plays one waveform
|
|
367
|
+
* at every angle, cos and sin moving into the amplitudes, and a partition
|
|
368
|
+
* wave scaled per partition plays one waveform on its axis.
|
|
369
369
|
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
370
|
+
* The record keeps the weights of the first block that plays it, as the
|
|
371
|
+
* rotation and ratio[d] = a_d / m with m the a_d of largest magnitude, sign
|
|
372
|
+
* included. A playout loads each output axis normalised to unit peak, and a
|
|
373
|
+
* block plays output axis o at its own c[o][k] / (rotation[o][k] * ratio[k])
|
|
374
|
+
* times peak[o], k the axis of largest weight on o in the record
|
|
375
|
+
* (pulseg__wave_board_axis).
|
|
376
|
+
*
|
|
377
|
+
* One record per distinct (definitions, shapes, per-output-axis weight
|
|
378
|
+
* directions), the directions compared to PULSEG_WAVE_RATIO_STEP. Every field
|
|
379
|
+
* is 4 bytes, so the records serialize as a packed word array. */
|
|
373
380
|
typedef struct pulseg_wave
|
|
374
381
|
{
|
|
375
382
|
int grad_def[3]; /* per logical axis; -1 = not driven */
|
|
@@ -384,7 +391,7 @@ typedef struct pulseg_wave
|
|
|
384
391
|
} pulseg_wave;
|
|
385
392
|
|
|
386
393
|
#define PULSEG_WAVE_WORDS 25
|
|
387
|
-
/*
|
|
394
|
+
/* Weight directions this close are one wave. */
|
|
388
395
|
#define PULSEG_WAVE_RATIO_STEP 1.0e-4f
|
|
389
396
|
|
|
390
397
|
/* ================================================================== */
|
|
@@ -885,8 +892,13 @@ int pulseg__block_gradients(
|
|
|
885
892
|
float *gradient[3],
|
|
886
893
|
int *n);
|
|
887
894
|
|
|
895
|
+
/* The logical axis that weighs most on output axis @p out_axis of @p wave,
|
|
896
|
+
* and the direction of the weights there scaled to 1 on that axis, in
|
|
897
|
+
* @p direction; -1 and zeros where no driven axis reaches @p out_axis. */
|
|
898
|
+
int pulseg__wave_board_axis(const pulseg_wave *wave, int out_axis, float direction[3]);
|
|
899
|
+
|
|
888
900
|
/* The wave block-table entry @p block_idx plays and the amplitude it plays
|
|
889
|
-
* each axis at: -1 and zeros where it plays none. */
|
|
901
|
+
* each output axis at: -1 and zeros where it plays none. */
|
|
890
902
|
void pulseg__block_wave(
|
|
891
903
|
const pulseg_sequence_descriptor *desc,
|
|
892
904
|
int block_idx,
|
|
@@ -180,24 +180,6 @@ static float axis_value_at(const axis_corners *c, float x)
|
|
|
180
180
|
return pulseg__linear_at(c->t, c->v, c->n, x);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
/* 1 when one driven axis is an arbitrary gradient on the raster: its samples
|
|
184
|
-
* are known only at raster centres, so the combination is too. */
|
|
185
|
-
static int wave_on_raster_centres(const pulseg_sequence_descriptor *desc, const pulseg_wave *wave)
|
|
186
|
-
{
|
|
187
|
-
const pulseg_grad_definition *gd;
|
|
188
|
-
int d;
|
|
189
|
-
|
|
190
|
-
for (d = 0; d < 3; ++d)
|
|
191
|
-
{
|
|
192
|
-
if (wave->grad_def[d] < 0 || wave->grad_def[d] >= desc->num_unique_grads)
|
|
193
|
-
continue;
|
|
194
|
-
gd = &desc->grad_definitions[wave->grad_def[d]];
|
|
195
|
-
if (gd->type != 0 && gd->unused_or_time_shape_id <= 0)
|
|
196
|
-
return 1;
|
|
197
|
-
}
|
|
198
|
-
return 0;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
183
|
static int float_cmp(const void *a, const void *b)
|
|
202
184
|
{
|
|
203
185
|
float fa = *(const float *)a;
|
|
@@ -211,7 +193,6 @@ typedef struct wave_grid
|
|
|
211
193
|
axis_corners axis[3];
|
|
212
194
|
float *t;
|
|
213
195
|
int n;
|
|
214
|
-
int centred; /* raster centres between two held edges */
|
|
215
196
|
} wave_grid;
|
|
216
197
|
|
|
217
198
|
static void wave_grid_free(wave_grid *g)
|
|
@@ -226,49 +207,6 @@ static void wave_grid_free(wave_grid *g)
|
|
|
226
207
|
g->n = 0;
|
|
227
208
|
}
|
|
228
209
|
|
|
229
|
-
/* 1 and the earliest start and latest end of the driven axes; 0 when none is. */
|
|
230
|
-
static int axes_span(const axis_corners axis[3], float *lo, float *hi)
|
|
231
|
-
{
|
|
232
|
-
int d, have = 0;
|
|
233
|
-
|
|
234
|
-
for (d = 0; d < 3; ++d)
|
|
235
|
-
{
|
|
236
|
-
if (axis[d].n < 1)
|
|
237
|
-
continue;
|
|
238
|
-
if (!have || axis[d].t[0] < *lo)
|
|
239
|
-
*lo = axis[d].t[0];
|
|
240
|
-
if (!have || axis[d].t[axis[d].n - 1] > *hi)
|
|
241
|
-
*hi = axis[d].t[axis[d].n - 1];
|
|
242
|
-
have = 1;
|
|
243
|
-
}
|
|
244
|
-
return have;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* The centres of the raster from the earliest start, rounded down onto it,
|
|
248
|
-
* to the latest end, and the two edges the wave holds its end values to. */
|
|
249
|
-
static int centre_grid(wave_grid *g, float raster)
|
|
250
|
-
{
|
|
251
|
-
float lo = 0.0f;
|
|
252
|
-
float hi = 0.0f;
|
|
253
|
-
int i, m;
|
|
254
|
-
|
|
255
|
-
if (!axes_span(g->axis, &lo, &hi) || hi <= lo || raster <= 0.0f)
|
|
256
|
-
return PULSEG_SUCCESS;
|
|
257
|
-
lo = (float)floor((double)(lo / raster) + 1e-6) * raster;
|
|
258
|
-
m = (int)ceil((double)((hi - lo) / raster) - 1e-6);
|
|
259
|
-
if (m < 1)
|
|
260
|
-
m = 1;
|
|
261
|
-
g->t = (float *)PULSEG_ALLOC((size_t)(m + 2) * sizeof(float));
|
|
262
|
-
if (!g->t)
|
|
263
|
-
return PULSEG_ERR_ALLOC_FAILED;
|
|
264
|
-
g->t[0] = lo;
|
|
265
|
-
for (i = 0; i < m; ++i)
|
|
266
|
-
g->t[i + 1] = lo + ((float)i + 0.5f) * raster;
|
|
267
|
-
g->t[m + 1] = lo + (float)m * raster;
|
|
268
|
-
g->n = m + 2;
|
|
269
|
-
return PULSEG_SUCCESS;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
210
|
/* Each axis is linear between its corners, so the union of the corner times
|
|
273
211
|
* carries the combination exactly. */
|
|
274
212
|
static int corner_grid(wave_grid *g)
|
|
@@ -307,27 +245,19 @@ static int wave_grid_build(
|
|
|
307
245
|
if (!axis_corners_build(desc, wave->grad_def[d], wave->shape_id[d], &g->axis[d]))
|
|
308
246
|
rc = PULSEG_ERR_ALLOC_FAILED;
|
|
309
247
|
if (PULSEG_SUCCEEDED(rc))
|
|
310
|
-
|
|
311
|
-
g->centred = wave_on_raster_centres(desc, wave);
|
|
312
|
-
rc = g->centred ? centre_grid(g, desc->grad_raster_us) : corner_grid(g);
|
|
313
|
-
}
|
|
248
|
+
rc = corner_grid(g);
|
|
314
249
|
if (PULSEG_FAILED(rc))
|
|
315
250
|
wave_grid_free(g);
|
|
316
251
|
return rc;
|
|
317
252
|
}
|
|
318
253
|
|
|
319
|
-
/* The combination on output axis @p out_axis at point @p i
|
|
320
|
-
* centres the edges hold the first and last centres. */
|
|
254
|
+
/* The combination on output axis @p out_axis at point @p i. */
|
|
321
255
|
static float wave_grid_value(const pulseg_wave *wave, const wave_grid *g, int out_axis, int i)
|
|
322
256
|
{
|
|
323
|
-
float x = g->t[i];
|
|
257
|
+
const float x = g->t[i];
|
|
324
258
|
float v = 0.0f;
|
|
325
259
|
int d;
|
|
326
260
|
|
|
327
|
-
if (g->centred && i == 0)
|
|
328
|
-
x = g->t[1];
|
|
329
|
-
else if (g->centred && i == g->n - 1)
|
|
330
|
-
x = g->t[g->n - 2];
|
|
331
261
|
for (d = 0; d < 3; ++d)
|
|
332
262
|
v += wave->rotation[out_axis * 3 + d] * wave->ratio[d] * axis_value_at(&g->axis[d], x);
|
|
333
263
|
return v;
|
|
@@ -656,6 +586,30 @@ int pulseg__block_combination(
|
|
|
656
586
|
return 1;
|
|
657
587
|
}
|
|
658
588
|
|
|
589
|
+
int pulseg__wave_board_axis(const pulseg_wave *wave, int out_axis, float direction[3])
|
|
590
|
+
{
|
|
591
|
+
float weight[3];
|
|
592
|
+
float largest = 0.0f;
|
|
593
|
+
int axis = -1;
|
|
594
|
+
int d;
|
|
595
|
+
|
|
596
|
+
for (d = 0; d < 3; ++d)
|
|
597
|
+
{
|
|
598
|
+
weight[d] = wave->rotation[out_axis * 3 + d] * wave->ratio[d];
|
|
599
|
+
direction[d] = 0.0f;
|
|
600
|
+
if ((float)fabs((double)weight[d]) > largest)
|
|
601
|
+
{
|
|
602
|
+
largest = (float)fabs((double)weight[d]);
|
|
603
|
+
axis = d;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
if (axis < 0)
|
|
607
|
+
return -1;
|
|
608
|
+
for (d = 0; d < 3; ++d)
|
|
609
|
+
direction[d] = weight[d] / weight[axis];
|
|
610
|
+
return axis;
|
|
611
|
+
}
|
|
612
|
+
|
|
659
613
|
/* The wave block-table entry @p block_idx plays, -1 where it plays none. */
|
|
660
614
|
static int block_wave_index(const pulseg_sequence_descriptor *desc, int block_idx)
|
|
661
615
|
{
|
|
@@ -673,9 +627,12 @@ void pulseg__block_wave(
|
|
|
673
627
|
int *wave_id,
|
|
674
628
|
float amp_hz_per_m[3])
|
|
675
629
|
{
|
|
630
|
+
const pulseg_block_table_element *bte;
|
|
676
631
|
const pulseg_wave *wave;
|
|
632
|
+
pulseg_wave played;
|
|
633
|
+
float direction[3];
|
|
677
634
|
float scale;
|
|
678
|
-
int
|
|
635
|
+
int o, k, w;
|
|
679
636
|
|
|
680
637
|
*wave_id = -1;
|
|
681
638
|
amp_hz_per_m[0] = 0.0f;
|
|
@@ -685,10 +642,19 @@ void pulseg__block_wave(
|
|
|
685
642
|
if (w < 0)
|
|
686
643
|
return;
|
|
687
644
|
|
|
688
|
-
|
|
645
|
+
bte = &desc->block_table[block_idx];
|
|
689
646
|
wave = &desc->waves[w];
|
|
690
|
-
|
|
691
|
-
|
|
647
|
+
if (!pulseg__block_combination(desc, bte, &played))
|
|
648
|
+
return;
|
|
649
|
+
scale = wave_scale(desc, bte);
|
|
650
|
+
for (o = 0; o < 3; ++o)
|
|
651
|
+
{
|
|
652
|
+
k = pulseg__wave_board_axis(wave, o, direction);
|
|
653
|
+
if (k < 0)
|
|
654
|
+
continue;
|
|
655
|
+
amp_hz_per_m[o] = scale * played.rotation[o * 3 + k] * played.ratio[k] /
|
|
656
|
+
(wave->rotation[o * 3 + k] * wave->ratio[k]) * wave->peak[o];
|
|
657
|
+
}
|
|
692
658
|
*wave_id = w;
|
|
693
659
|
}
|
|
694
660
|
|
|
@@ -24,11 +24,13 @@ namespace
|
|
|
24
24
|
{
|
|
25
25
|
|
|
26
26
|
/* What makes two blocks play the same wave: the definitions and shapes of
|
|
27
|
-
* their three axes,
|
|
28
|
-
* PULSEG_WAVE_RATIO_STEP.
|
|
27
|
+
* their three axes and, on each output axis, the direction of the weights
|
|
28
|
+
* the logical axes reach it with, to PULSEG_WAVE_RATIO_STEP. The rotation
|
|
29
|
+
* itself is not part of it: a turn that only rescales an output axis plays
|
|
30
|
+
* the same waveform there at another amplitude. */
|
|
29
31
|
struct WaveKey
|
|
30
32
|
{
|
|
31
|
-
int v[
|
|
33
|
+
int v[15];
|
|
32
34
|
bool operator==(const WaveKey &other) const
|
|
33
35
|
{
|
|
34
36
|
return std::memcmp(v, other.v, sizeof(v)) == 0;
|
|
@@ -40,7 +42,7 @@ struct WaveKeyHash
|
|
|
40
42
|
std::size_t operator()(const WaveKey &key) const
|
|
41
43
|
{
|
|
42
44
|
std::size_t h = 1469598103934665603ull;
|
|
43
|
-
for (int i = 0; i <
|
|
45
|
+
for (int i = 0; i < 15; ++i)
|
|
44
46
|
{
|
|
45
47
|
h ^= static_cast<std::size_t>(static_cast<unsigned>(key.v[i]));
|
|
46
48
|
h *= 1099511628211ull;
|
|
@@ -63,9 +65,15 @@ bool wave_of_block(
|
|
|
63
65
|
{
|
|
64
66
|
key.v[d] = wave.grad_def[d];
|
|
65
67
|
key.v[3 + d] = wave.shape_id[d];
|
|
66
|
-
key.v[7 + d] = static_cast<int>(std::lround(wave.ratio[d] / PULSEG_WAVE_RATIO_STEP));
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
+
for (int o = 0; o < 3; ++o)
|
|
70
|
+
{
|
|
71
|
+
float direction[3];
|
|
72
|
+
pulseg__wave_board_axis(&wave, o, direction);
|
|
73
|
+
for (int d = 0; d < 3; ++d)
|
|
74
|
+
key.v[6 + 3 * o + d] =
|
|
75
|
+
static_cast<int>(std::lround(direction[d] / PULSEG_WAVE_RATIO_STEP));
|
|
76
|
+
}
|
|
69
77
|
return true;
|
|
70
78
|
}
|
|
71
79
|
|
|
@@ -347,6 +347,7 @@ def packets(
|
|
|
347
347
|
one shot of ``shot`` seconds each, form a packet, the slices are dealt
|
|
348
348
|
round-robin into packets, and the last shot of a packet is padded to the
|
|
349
349
|
cycle on the block raster. Without a cycle one packet holds every slice.
|
|
350
|
+
Each cycle is a whole number of block rasters.
|
|
350
351
|
"""
|
|
351
352
|
per_packet = n_slices if cycle is None else max(1, int(cycle / shot + 1e-9))
|
|
352
353
|
count = -(-n_slices // per_packet)
|
|
@@ -354,7 +355,10 @@ def packets(
|
|
|
354
355
|
if cycle is None:
|
|
355
356
|
cycle = max(sizes) * shot
|
|
356
357
|
return sizes, [
|
|
357
|
-
|
|
358
|
+
pp.round_to_raster(
|
|
359
|
+
size * shot + pp.round_to_raster(cycle - size * shot, raster), raster
|
|
360
|
+
)
|
|
361
|
+
for size in sizes
|
|
358
362
|
]
|
|
359
363
|
|
|
360
364
|
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"""Small synthetic sequences for tests that need one readout geometry exactly."""
|
|
2
|
+
|
|
3
|
+
import math
|
|
4
|
+
|
|
5
|
+
import pypulseqpp as pp
|
|
6
|
+
|
|
7
|
+
SAMPLES = 32
|
|
8
|
+
DELTA_K = 5.0 # 1/m: a 0.2 m field of view
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def add_readout(seq, *labels, rotation=None, moving=True):
|
|
12
|
+
"""Append a symmetric readout along x, rewound on both sides so k returns to zero."""
|
|
13
|
+
system = pp.Opts()
|
|
14
|
+
gx = pp.make_trapezoid(
|
|
15
|
+
"x", flat_area=SAMPLES * DELTA_K, flat_time=3.2e-3, system=system
|
|
16
|
+
)
|
|
17
|
+
adc = pp.make_adc(
|
|
18
|
+
num_samples=SAMPLES, duration=3.2e-3, delay=gx.rise_time, system=system
|
|
19
|
+
)
|
|
20
|
+
if not moving:
|
|
21
|
+
seq.add_block(adc, *labels)
|
|
22
|
+
return
|
|
23
|
+
rewinder = pp.make_trapezoid("x", area=-gx.area / 2, duration=1e-3, system=system)
|
|
24
|
+
extra = () if rotation is None else (rotation,)
|
|
25
|
+
seq.add_block(rewinder, *extra)
|
|
26
|
+
seq.add_block(gx, adc, *labels, *extra)
|
|
27
|
+
seq.add_block(rewinder, *extra)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def write_swept_spokes(path, system, spokes=16):
|
|
31
|
+
"""Spokes turned about z, each with a y lobe of another shape under its x lobe.
|
|
32
|
+
|
|
33
|
+
Each turn mixes two shapes on each board, so every repetition plays a
|
|
34
|
+
waveform of its own there, and two slots per position hold less than all of
|
|
35
|
+
them.
|
|
36
|
+
"""
|
|
37
|
+
gx = pp.make_trapezoid("x", flat_area=64 / 0.22, flat_time=3.2e-3, system=system)
|
|
38
|
+
gy = pp.make_trapezoid(
|
|
39
|
+
"y", area=gx.area / 8, duration=pp.calc_duration(gx), system=system
|
|
40
|
+
)
|
|
41
|
+
adc = pp.make_adc(64, duration=3.2e-3, delay=gx.rise_time, system=system)
|
|
42
|
+
pulse = pp.make_block_pulse(
|
|
43
|
+
math.pi / 12, duration=1e-3, use="excitation", system=system
|
|
44
|
+
)
|
|
45
|
+
seq = pp.Sequence(system)
|
|
46
|
+
for spoke in range(spokes):
|
|
47
|
+
seq.add_block(pulse)
|
|
48
|
+
seq.add_block(gx, gy, adc, pp.make_rotation(math.pi * (spoke + 0.5) / spokes))
|
|
49
|
+
seq.add_block(pp.make_delay(2e-3))
|
|
50
|
+
seq.write(str(path))
|
|
@@ -8,6 +8,7 @@ from pathlib import Path
|
|
|
8
8
|
import numpy as np
|
|
9
9
|
import pypulseqpp as pp
|
|
10
10
|
import pytest
|
|
11
|
+
from _synthetic import write_swept_spokes
|
|
11
12
|
from conftest import LABELS, VENDOR
|
|
12
13
|
from pypulseqpp import sequences
|
|
13
14
|
|
|
@@ -582,11 +583,21 @@ def _vendor_cache(seq, budget):
|
|
|
582
583
|
)
|
|
583
584
|
|
|
584
585
|
|
|
585
|
-
|
|
586
|
+
def _swept(directory, mode):
|
|
587
|
+
"""Spokes whose waves memory holds at once, or must stream, and that memory."""
|
|
588
|
+
seq = directory / "swept_spokes.seq"
|
|
589
|
+
write_swept_spokes(seq, SYSTEM)
|
|
590
|
+
convert(seq, SYSTEM)
|
|
591
|
+
plan = ir.plan_waves(seq, ir.WaveBudget(10**6, 4.0))
|
|
592
|
+
budget = 10**6 if mode == "resident" else max(plan["streamed_samples"])
|
|
593
|
+
return seq, budget
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
@pytest.mark.parametrize("mode", ["resident", "streamed"])
|
|
586
597
|
def test_the_scanner_reader_reads_the_layout_the_host_gave_the_waves(
|
|
587
|
-
|
|
598
|
+
mode, tmp_path, scanner_reader
|
|
588
599
|
):
|
|
589
|
-
seq =
|
|
600
|
+
seq, max_samples = _swept(tmp_path, mode)
|
|
590
601
|
cache = _vendor_cache(seq, ir.WaveBudget(max_samples, 4.0))
|
|
591
602
|
printed = subprocess.run(
|
|
592
603
|
[
|
|
@@ -605,7 +616,7 @@ def test_the_scanner_reader_reads_the_layout_the_host_gave_the_waves(
|
|
|
605
616
|
# This build loads vendor-neutral caches alone.
|
|
606
617
|
convert(seq, SYSTEM)
|
|
607
618
|
plan = ir.plan_waves(seq, ir.WaveBudget(max_samples, 4.0))
|
|
608
|
-
assert plan["mode"] ==
|
|
619
|
+
assert plan["mode"] == mode
|
|
609
620
|
assert printed[first:last] == _plan_lines(plan)
|
|
610
621
|
|
|
611
622
|
|
|
@@ -637,11 +648,11 @@ def _playout_lines(record):
|
|
|
637
648
|
return lines
|
|
638
649
|
|
|
639
650
|
|
|
640
|
-
@pytest.mark.parametrize("
|
|
651
|
+
@pytest.mark.parametrize("mode", ["resident", "streamed"])
|
|
641
652
|
def test_the_scanner_reader_plays_the_waves_as_the_host_records_them(
|
|
642
|
-
|
|
653
|
+
mode, tmp_path, scanner_reader
|
|
643
654
|
):
|
|
644
|
-
seq =
|
|
655
|
+
seq, max_samples = _swept(tmp_path, mode)
|
|
645
656
|
cache = _vendor_cache(seq, ir.WaveBudget(max_samples, 4.0))
|
|
646
657
|
printed = subprocess.run(
|
|
647
658
|
[
|
|
@@ -659,7 +670,7 @@ def test_the_scanner_reader_plays_the_waves_as_the_host_records_them(
|
|
|
659
670
|
# This build loads vendor-neutral caches alone.
|
|
660
671
|
convert(seq, SYSTEM)
|
|
661
672
|
record = ir.playout(seq, ir.WaveBudget(max_samples, 4.0))
|
|
662
|
-
assert record["mode"] ==
|
|
673
|
+
assert record["mode"] == mode
|
|
663
674
|
assert printed[first:] == _playout_lines(record)
|
|
664
675
|
|
|
665
676
|
|
|
@@ -6,6 +6,7 @@ from pathlib import Path
|
|
|
6
6
|
import numpy as np
|
|
7
7
|
import pypulseqpp as pp
|
|
8
8
|
import pytest
|
|
9
|
+
from _synthetic import write_swept_spokes
|
|
9
10
|
|
|
10
11
|
from pulserver import ir
|
|
11
12
|
from pulserver.ir import Prescan, WaveBudget
|
|
@@ -25,13 +26,17 @@ SYSTEM = pp.Opts(
|
|
|
25
26
|
# A playout raster other than the files', as a scanner's may be.
|
|
26
27
|
RASTER_US = 4.0
|
|
27
28
|
LOTS = 10**6
|
|
28
|
-
#:
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
#: A sequence written by :func:`write_swept_spokes` rather than read from the fixtures.
|
|
30
|
+
SWEPT = "swept_spokes.seq"
|
|
31
|
+
#: Sequences whose waves a smaller memory streams.
|
|
32
|
+
WAVED = [SWEPT, "mprage_stack_of_spirals_3d.seq"]
|
|
33
|
+
NAMES = ["gre_2d_3sl.seq", "epi_2d_main.seq", "zte_3d.seq", *WAVED]
|
|
31
34
|
|
|
32
35
|
|
|
33
36
|
def _converted(name, directory):
|
|
34
37
|
shutil.copytree(FIXTURES, directory, dirs_exist_ok=True)
|
|
38
|
+
if name == SWEPT:
|
|
39
|
+
write_swept_spokes(directory / name, SYSTEM)
|
|
35
40
|
ir.convert(directory / name, SYSTEM)
|
|
36
41
|
return directory / name
|
|
37
42
|
|
|
@@ -200,9 +205,7 @@ def test_nothing_is_read_before_it_is_loaded_or_loaded_over_what_plays(played):
|
|
|
200
205
|
|
|
201
206
|
# Three slots per position of the stack of spirals take more memory than
|
|
202
207
|
# every wave at once, which is then how a playout holds them.
|
|
203
|
-
@pytest.mark.parametrize(
|
|
204
|
-
("name", "ring"), [(name, 2) for name in WAVED] + [("zte_3d.seq", 3)]
|
|
205
|
-
)
|
|
208
|
+
@pytest.mark.parametrize(("name", "ring"), [(name, 2) for name in WAVED] + [(SWEPT, 3)])
|
|
206
209
|
def test_the_instances_of_a_segment_play_the_slots_of_its_ring_in_turn(
|
|
207
210
|
name, ring, tmp_path
|
|
208
211
|
):
|
|
@@ -235,7 +238,7 @@ def test_the_instances_of_a_segment_play_the_slots_of_its_ring_in_turn(
|
|
|
235
238
|
def test_without_a_budget_the_playout_holds_the_waves_as_the_cache_lays_them_out(
|
|
236
239
|
tmp_path,
|
|
237
240
|
):
|
|
238
|
-
seq = _converted(
|
|
241
|
+
seq = _converted(SWEPT, tmp_path)
|
|
239
242
|
budget = _budgets(seq, 3)["streamed"]
|
|
240
243
|
ir.convert(seq, SYSTEM, wave_budget=budget)
|
|
241
244
|
stored = ir.playout(seq)
|
|
@@ -401,7 +404,7 @@ def test_the_prescan_waits_for_no_trigger_and_pulses_no_output(tmp_path):
|
|
|
401
404
|
def test_waves_that_cannot_be_loaded_in_time_are_refused_before_anything_plays(
|
|
402
405
|
tmp_path,
|
|
403
406
|
):
|
|
404
|
-
seq = _converted(
|
|
407
|
+
seq = _converted(SWEPT, tmp_path)
|
|
405
408
|
streamed = _budgets(seq)["streamed"]
|
|
406
409
|
slow = WaveBudget(streamed.max_samples, RASTER_US, load_us_per_sample=1e3)
|
|
407
410
|
with pytest.raises(ValueError, match="loading"):
|