pulserver 0.4.22__tar.gz → 0.4.24__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.
Files changed (493) hide show
  1. {pulserver-0.4.22 → pulserver-0.4.24}/PKG-INFO +2 -2
  2. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/ir-cache.md +21 -11
  3. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/reconstruction-plugins.md +3 -0
  4. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/scanner-sequences.md +76 -20
  5. {pulserver-0.4.22 → pulserver-0.4.24}/pyproject.toml +1 -1
  6. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_types.h +5 -3
  7. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/pulseg_internal.h +25 -13
  8. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/structure/pulseg_waves.c +43 -77
  9. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/waves.cpp +14 -6
  10. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/__init__.py +4 -2
  11. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_evaluation.py +5 -1
  12. pulserver-0.4.24/src/pulserver/_zoo/_segmented.py +137 -0
  13. pulserver-0.4.24/src/pulserver/_zoo/recon/cine.py +3 -0
  14. pulserver-0.4.24/src/pulserver/_zoo/recon/coronary.py +3 -0
  15. pulserver-0.4.24/src/pulserver/_zoo/recon/phase_cycles.py +3 -0
  16. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/bssfp2d.py +132 -28
  17. pulserver-0.4.24/src/pulserver/_zoo/sequences/coronary_mra3d.py +109 -0
  18. pulserver-0.4.24/src/pulserver/_zoo/sequences/inflow_mra3d.py +174 -0
  19. pulserver-0.4.24/src/pulserver/recon/handlers/cine.py +723 -0
  20. pulserver-0.4.24/src/pulserver/recon/handlers/coronary.py +237 -0
  21. pulserver-0.4.24/src/pulserver/recon/handlers/phase_cycles.py +139 -0
  22. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/pics.py +3 -2
  23. pulserver-0.4.24/tests/_cine.py +353 -0
  24. {pulserver-0.4.22 → pulserver-0.4.24}/tests/_host.py +2 -0
  25. pulserver-0.4.24/tests/_synthetic.py +50 -0
  26. pulserver-0.4.24/tests/recon/test_cine.py +404 -0
  27. pulserver-0.4.24/tests/recon/test_coronary.py +124 -0
  28. pulserver-0.4.24/tests/recon/test_phase_cycles.py +118 -0
  29. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_pics.py +1 -1
  30. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir.py +19 -8
  31. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_playout.py +11 -8
  32. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_waves.py +91 -4
  33. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_zoo_evaluation.py +180 -8
  34. pulserver-0.4.22/tests/_synthetic.py +0 -25
  35. {pulserver-0.4.22 → pulserver-0.4.24}/.claude/skills/build-and-test/SKILL.md +0 -0
  36. {pulserver-0.4.22 → pulserver-0.4.24}/.claude/skills/write-documentation/SKILL.md +0 -0
  37. {pulserver-0.4.22 → pulserver-0.4.24}/.dockerignore +0 -0
  38. {pulserver-0.4.22 → pulserver-0.4.24}/.gitattributes +0 -0
  39. {pulserver-0.4.22 → pulserver-0.4.24}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
  40. {pulserver-0.4.22 → pulserver-0.4.24}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
  41. {pulserver-0.4.22 → pulserver-0.4.24}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  42. {pulserver-0.4.22 → pulserver-0.4.24}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  43. {pulserver-0.4.22 → pulserver-0.4.24}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
  44. {pulserver-0.4.22 → pulserver-0.4.24}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  45. {pulserver-0.4.22 → pulserver-0.4.24}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  46. {pulserver-0.4.22 → pulserver-0.4.24}/.github/dependabot.yml +0 -0
  47. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/codeql.yml +0 -0
  48. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/console.yml +0 -0
  49. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/docs.yml +0 -0
  50. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/fields.yml +0 -0
  51. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/image.yml +0 -0
  52. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/style.yml +0 -0
  53. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/tag.yml +0 -0
  54. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/tags-release.yml +0 -0
  55. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/test-ci.yml +0 -0
  56. {pulserver-0.4.22 → pulserver-0.4.24}/.github/workflows/wheels.yml +0 -0
  57. {pulserver-0.4.22 → pulserver-0.4.24}/.gitignore +0 -0
  58. {pulserver-0.4.22 → pulserver-0.4.24}/.pre-commit-config.yaml +0 -0
  59. {pulserver-0.4.22 → pulserver-0.4.24}/AGENTS.md +0 -0
  60. {pulserver-0.4.22 → pulserver-0.4.24}/CMakeLists.txt +0 -0
  61. {pulserver-0.4.22 → pulserver-0.4.24}/CODE_OF_CONDUCT.md +0 -0
  62. {pulserver-0.4.22 → pulserver-0.4.24}/CONTRIBUTING.md +0 -0
  63. {pulserver-0.4.22 → pulserver-0.4.24}/LICENSE +0 -0
  64. {pulserver-0.4.22 → pulserver-0.4.24}/LICENSES/gadgetron-python-MIT.txt +0 -0
  65. {pulserver-0.4.22 → pulserver-0.4.24}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
  66. {pulserver-0.4.22 → pulserver-0.4.24}/NEXT.md +0 -0
  67. {pulserver-0.4.22 → pulserver-0.4.24}/README.md +0 -0
  68. {pulserver-0.4.22 → pulserver-0.4.24}/SECURITY.md +0 -0
  69. {pulserver-0.4.22 → pulserver-0.4.24}/SKILLS.md +0 -0
  70. {pulserver-0.4.22 → pulserver-0.4.24}/codecov.yml +0 -0
  71. {pulserver-0.4.22 → pulserver-0.4.24}/docker/Dockerfile +0 -0
  72. {pulserver-0.4.22 → pulserver-0.4.24}/docker/compose.yaml +0 -0
  73. {pulserver-0.4.22 → pulserver-0.4.24}/docker/entrypoint.sh +0 -0
  74. {pulserver-0.4.22 → pulserver-0.4.24}/docker/limits/limits.txt +0 -0
  75. {pulserver-0.4.22 → pulserver-0.4.24}/docker/smoke.py +0 -0
  76. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/architecture-dark.svg +0 -0
  77. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/architecture.svg +0 -0
  78. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/capabilities.js +0 -0
  79. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/context-dark.svg +0 -0
  80. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/context.svg +0 -0
  81. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulseg-dark.svg +0 -0
  82. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulseg.svg +0 -0
  83. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulserver-logo-dark.svg +0 -0
  84. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulserver-logo.svg +0 -0
  85. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulserver-mark-dark.svg +0 -0
  86. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulserver-mark.svg +0 -0
  87. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/pulserver.css +0 -0
  88. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/repetition-dark.svg +0 -0
  89. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/repetition.svg +0 -0
  90. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/safety-dark.svg +0 -0
  91. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/safety.svg +0 -0
  92. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/session-dark.svg +0 -0
  93. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/session.svg +0 -0
  94. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/virtual-dark.svg +0 -0
  95. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_static/virtual.svg +0 -0
  96. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_templates/autosummary/base.rst +0 -0
  97. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_templates/autosummary/class.rst +0 -0
  98. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_templates/autosummary/enum.rst +0 -0
  99. {pulserver-0.4.22 → pulserver-0.4.24}/docs/_templates/autosummary/function.rst +0 -0
  100. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/design.md +0 -0
  101. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/host.md +0 -0
  102. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/index.md +0 -0
  103. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/ir.md +0 -0
  104. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/mrd.md +0 -0
  105. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/protocol.md +0 -0
  106. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/proxy.md +0 -0
  107. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/recon.md +0 -0
  108. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/validate.md +0 -0
  109. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api/virtual.md +0 -0
  110. {pulserver-0.4.22 → pulserver-0.4.24}/docs/api_objects.py +0 -0
  111. {pulserver-0.4.22 → pulserver-0.4.24}/docs/colab.py +0 -0
  112. {pulserver-0.4.22 → pulserver-0.4.24}/docs/conf.py +0 -0
  113. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/documentation.md +0 -0
  114. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/index.md +0 -0
  115. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/installation.md +0 -0
  116. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/calibration.md +0 -0
  117. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/index.md +0 -0
  118. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/protocol-wire.md +0 -0
  119. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
  120. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/sar-ratios.md +0 -0
  121. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/sequence-definitions.md +0 -0
  122. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/internals/virtual-scanner.md +0 -0
  123. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/releases.md +0 -0
  124. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/style.md +0 -0
  125. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/terminology.md +0 -0
  126. {pulserver-0.4.22 → pulserver-0.4.24}/docs/developer-guide/workflow.md +0 -0
  127. {pulserver-0.4.22 → pulserver-0.4.24}/docs/examples/course.md +0 -0
  128. {pulserver-0.4.22 → pulserver-0.4.24}/docs/examples/index.md +0 -0
  129. {pulserver-0.4.22 → pulserver-0.4.24}/docs/examples/tours.md +0 -0
  130. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/architecture.md +0 -0
  131. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/index.md +0 -0
  132. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/protocol.md +0 -0
  133. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/raw-data.md +0 -0
  134. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/reconstruction-session.md +0 -0
  135. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/reconstruction.md +0 -0
  136. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/safety-checks.md +0 -0
  137. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/scanner-representation.md +0 -0
  138. {pulserver-0.4.22 → pulserver-0.4.24}/docs/explanations/virtual-scanner.md +0 -0
  139. {pulserver-0.4.22 → pulserver-0.4.24}/docs/figure_style.py +0 -0
  140. {pulserver-0.4.22 → pulserver-0.4.24}/docs/index.md +0 -0
  141. {pulserver-0.4.22 → pulserver-0.4.24}/docs/misc/contributors.md +0 -0
  142. {pulserver-0.4.22 → pulserver-0.4.24}/docs/misc/index.md +0 -0
  143. {pulserver-0.4.22 → pulserver-0.4.24}/docs/misc/license.md +0 -0
  144. {pulserver-0.4.22 → pulserver-0.4.24}/docs/misc/related.md +0 -0
  145. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/index.md +0 -0
  146. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/reconstruction-client.md +0 -0
  147. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/running.md +0 -0
  148. {pulserver-0.4.22 → pulserver-0.4.24}/docs/user-guide/virtual-scanner.md +0 -0
  149. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/01_protocol_to_image.py +0 -0
  150. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/02_sequence_plugin.py +0 -0
  151. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/03_scanner_representation.py +0 -0
  152. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/04_reconstruction_plugin.py +0 -0
  153. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/05_recon_plugin.py +0 -0
  154. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
  155. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/README.rst +0 -0
  156. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/01-course/_gallery_header.md +0 -0
  157. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/02-tours/01_protocol_resolution.py +0 -0
  158. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/02-tours/02_segmentation.py +0 -0
  159. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
  160. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/02-tours/README.rst +0 -0
  161. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/02-tours/_gallery_header.md +0 -0
  162. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/README.rst +0 -0
  163. {pulserver-0.4.22 → pulserver-0.4.24}/gallery/_gallery_header.md +0 -0
  164. {pulserver-0.4.22 → pulserver-0.4.24}/scripts/build_docs.sh +0 -0
  165. {pulserver-0.4.22 → pulserver-0.4.24}/scripts/check_throughput.py +0 -0
  166. {pulserver-0.4.22 → pulserver-0.4.24}/scripts/format_and_lint.sh +0 -0
  167. {pulserver-0.4.22 → pulserver-0.4.24}/scripts/make_artwork.py +0 -0
  168. {pulserver-0.4.22 → pulserver-0.4.24}/scripts/publish_docs.py +0 -0
  169. {pulserver-0.4.22 → pulserver-0.4.24}/setup.py +0 -0
  170. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/CMakeLists.txt +0 -0
  171. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/cache/pulseg_cache.c +0 -0
  172. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/core/pulseg_core.c +0 -0
  173. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/core/pulseg_error.c +0 -0
  174. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/core/pulseg_math.c +0 -0
  175. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg.h +0 -0
  176. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_cache.h +0 -0
  177. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_collection.h +0 -0
  178. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_config.h +0 -0
  179. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_errors.h +0 -0
  180. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_io.h +0 -0
  181. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_playout.h +0 -0
  182. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseg/pulseg_protocol.h +0 -0
  183. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseq/pulseq.h +0 -0
  184. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseq/pulseq_config.h +0 -0
  185. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/include/pulseq/pulseq_types.h +0 -0
  186. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/io/pulseg_opts.c +0 -0
  187. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/io/pulseg_protocol.c +0 -0
  188. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/playout/pulseg_playout.c +0 -0
  189. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/pulseq/pulseq_internal.h +0 -0
  190. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/pulseq/pulseq_shape.c +0 -0
  191. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/structure/pulseg_descriptor.c +0 -0
  192. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/structure/pulseg_getters.c +0 -0
  193. {pulserver-0.4.22 → pulserver-0.4.24}/src/c/structure/pulseg_repetition.c +0 -0
  194. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/fourier/bindings.cpp +0 -0
  195. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/fourier/bindings.hpp +0 -0
  196. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/fourier/parallel.hpp +0 -0
  197. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/fourier/timeline.cpp +0 -0
  198. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/fourier/timeline.hpp +0 -0
  199. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/collection.cpp +0 -0
  200. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/dedup.cpp +0 -0
  201. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/from_libraries.cpp +0 -0
  202. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/from_libraries.hpp +0 -0
  203. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/gradient_stretch.cpp +0 -0
  204. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/pulseg_convert.h +0 -0
  205. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/pulseq_file.cpp +0 -0
  206. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/pulseq_file.h +0 -0
  207. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/structure.cpp +0 -0
  208. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/ir/wave_plan.cpp +0 -0
  209. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/module.cpp +0 -0
  210. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/native.hpp +0 -0
  211. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/playout.cpp +0 -0
  212. {pulserver-0.4.22 → pulserver-0.4.24}/src/cpp/playout.hpp +0 -0
  213. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/__init__.py +0 -0
  214. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_accelerators.py +0 -0
  215. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_cli.py +0 -0
  216. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_labels.py +0 -0
  217. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_logs.py +0 -0
  218. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_memory.py +0 -0
  219. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_plugins.py +0 -0
  220. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_site_packages.py +0 -0
  221. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_fse.py +0 -0
  222. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_inversion.py +0 -0
  223. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_pmc.py +0 -0
  224. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_saturation.py +0 -0
  225. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_slab.py +0 -0
  226. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/_user.py +0 -0
  227. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/epi.py +0 -0
  228. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/nufft.py +0 -0
  229. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
  230. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/pics.py +0 -0
  231. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/pics_train.py +0 -0
  232. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/pmc.py +0 -0
  233. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/recon/qsm.py +0 -0
  234. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
  235. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/epi2d.py +0 -0
  236. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/epi3d.py +0 -0
  237. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/fse3d.py +0 -0
  238. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/fse_pd3d.py +0 -0
  239. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
  240. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
  241. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
  242. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
  243. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
  244. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
  245. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
  246. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
  247. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
  248. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
  249. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
  250. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
  251. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
  252. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se2d.py +0 -0
  253. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se3d.py +0 -0
  254. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
  255. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
  256. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
  257. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
  258. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
  259. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
  260. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
  261. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
  262. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/__init__.py +0 -0
  263. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/_entries.py +0 -0
  264. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/_options.py +0 -0
  265. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/_plugin.py +0 -0
  266. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/_recon_parameters.py +0 -0
  267. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/design/_rf.py +0 -0
  268. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/__init__.py +0 -0
  269. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/__main__.py +0 -0
  270. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_blocks.py +0 -0
  271. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_command.py +0 -0
  272. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_limits.py +0 -0
  273. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_memo.py +0 -0
  274. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_push.py +0 -0
  275. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_server.py +0 -0
  276. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_service.py +0 -0
  277. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_slew.py +0 -0
  278. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/host/_store.py +0 -0
  279. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/__init__.py +0 -0
  280. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_calibration.py +0 -0
  281. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_checks.py +0 -0
  282. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_convert.py +0 -0
  283. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_playout.py +0 -0
  284. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_source.py +0 -0
  285. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_vendor.py +0 -0
  286. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/ir/_waves.py +0 -0
  287. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/__init__.py +0 -0
  288. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/_acquisitions.py +0 -0
  289. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/_header.py +0 -0
  290. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/_images.py +0 -0
  291. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/_metadata.py +0 -0
  292. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/mrd/_sequence.py +0 -0
  293. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/protocol/__init__.py +0 -0
  294. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/protocol/_keys.py +0 -0
  295. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/protocol/_prescription.py +0 -0
  296. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/protocol/_schema.py +0 -0
  297. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/protocol/_wire.py +0 -0
  298. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/__init__.py +0 -0
  299. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/__main__.py +0 -0
  300. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_designs.py +0 -0
  301. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_enrich.py +0 -0
  302. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_held.py +0 -0
  303. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_intake.py +0 -0
  304. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_local.py +0 -0
  305. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_motion.py +0 -0
  306. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_proxy.py +0 -0
  307. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_queue.py +0 -0
  308. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_receiver.py +0 -0
  309. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_seqdesc.py +0 -0
  310. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/proxy/_workers.py +0 -0
  311. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/__init__.py +0 -0
  312. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/__main__.py +0 -0
  313. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_buffers.py +0 -0
  314. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_calibration.py +0 -0
  315. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_correct.py +0 -0
  316. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_exam_image.py +0 -0
  317. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_figure.py +0 -0
  318. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_loader.py +0 -0
  319. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_replay.py +0 -0
  320. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/__init__.py +0 -0
  321. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/application.py +0 -0
  322. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/concurrency.py +0 -0
  323. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/connection.py +0 -0
  324. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/constants.py +0 -0
  325. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/exam.py +0 -0
  326. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
  327. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/offline.py +0 -0
  328. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/readers.py +0 -0
  329. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_runtime/writers.py +0 -0
  330. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/_units.py +0 -0
  331. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/gadgets.py +0 -0
  332. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/__init__.py +0 -0
  333. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/epi.py +0 -0
  334. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/nufft.py +0 -0
  335. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/nufft_train.py +0 -0
  336. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/pics_train.py +0 -0
  337. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/pmc.py +0 -0
  338. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/handlers/qsm.py +0 -0
  339. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/recon/plugin.py +0 -0
  340. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/validate/__init__.py +0 -0
  341. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/validate/_command.py +0 -0
  342. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/validate/_compare.py +0 -0
  343. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/validate/_validate.py +0 -0
  344. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/validate/_xml.py +0 -0
  345. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/__init__.py +0 -0
  346. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_brainweb.py +0 -0
  347. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_client.py +0 -0
  348. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_coils.py +0 -0
  349. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_command.py +0 -0
  350. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_console.py +0 -0
  351. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_export.py +0 -0
  352. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_fourier.py +0 -0
  353. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_girf.py +0 -0
  354. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_localizer.py +0 -0
  355. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_motion.py +0 -0
  356. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_phantom.py +0 -0
  357. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_stream.py +0 -0
  358. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_timeline.py +0 -0
  359. {pulserver-0.4.22 → pulserver-0.4.24}/src/pulserver/virtual/_tissue.py +0 -0
  360. {pulserver-0.4.22 → pulserver-0.4.24}/tests/_analytic.py +0 -0
  361. {pulserver-0.4.22 → pulserver-0.4.24}/tests/_seqtext.py +0 -0
  362. {pulserver-0.4.22 → pulserver-0.4.24}/tests/_virtual.py +0 -0
  363. {pulserver-0.4.22 → pulserver-0.4.24}/tests/_zoo.py +0 -0
  364. {pulserver-0.4.22 → pulserver-0.4.24}/tests/conftest.py +0 -0
  365. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/bssfp.npy +0 -0
  366. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
  367. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
  368. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
  369. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
  370. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
  371. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
  372. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
  373. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
  374. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
  375. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
  376. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
  377. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
  378. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
  379. {pulserver-0.4.22 → pulserver-0.4.24}/tests/fixtures/sequences/zte_3d.seq +0 -0
  380. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/check_initializers.c +0 -0
  381. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/check_segment_plays.c +0 -0
  382. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/print_wave_samples.c +0 -0
  383. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/read_cache_summary.c +0 -0
  384. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/read_rf_definitions.c +0 -0
  385. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/read_rf_timing.c +0 -0
  386. {pulserver-0.4.22 → pulserver-0.4.24}/tests/native/replay_an_instance.c +0 -0
  387. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/crash.py +0 -0
  388. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/gre2d.py +0 -0
  389. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/gre2d_raw.py +0 -0
  390. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/rf_train.py +0 -0
  391. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/stall.py +0 -0
  392. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/strong.py +0 -0
  393. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/tiny.py +0 -0
  394. {pulserver-0.4.22 → pulserver-0.4.24}/tests/plugins/typed.py +0 -0
  395. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_app.py +0 -0
  396. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_buffers.py +0 -0
  397. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_calibration.py +0 -0
  398. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_coil_compression.py +0 -0
  399. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_connection.py +0 -0
  400. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_correct.py +0 -0
  401. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_epi.py +0 -0
  402. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_exam_image.py +0 -0
  403. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_flags.py +0 -0
  404. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_gadgets.py +0 -0
  405. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_handlers.py +0 -0
  406. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_images.py +0 -0
  407. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_intensity_correction.py +0 -0
  408. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_loader.py +0 -0
  409. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_mrd2dicom.py +0 -0
  410. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_nufft.py +0 -0
  411. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_pmc.py +0 -0
  412. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_prewhiten.py +0 -0
  413. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_qsm.py +0 -0
  414. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_qsm_first_echo_maps.py +0 -0
  415. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_readers_writers.py +0 -0
  416. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_slots.py +0 -0
  417. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon/test_units.py +0 -0
  418. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/children.py +0 -0
  419. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/crash.py +0 -0
  420. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/device.py +0 -0
  421. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/exam.py +0 -0
  422. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/gre2d.py +0 -0
  423. {pulserver-0.4.22 → pulserver-0.4.24}/tests/recon_plugins/pose.py +0 -0
  424. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_any_rotation.py +0 -0
  425. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_console.py +0 -0
  426. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_console_sequences.py +0 -0
  427. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_design_memo.py +0 -0
  428. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_design_push.py +0 -0
  429. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_design_server.py +0 -0
  430. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_design_service.py +0 -0
  431. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_docs.py +0 -0
  432. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_docstring_defaults.py +0 -0
  433. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_docstrings.py +0 -0
  434. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_enrich.py +0 -0
  435. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_exam_artifacts.py +0 -0
  436. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_exam_calibration.py +0 -0
  437. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_exam_sharing.py +0 -0
  438. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_host_slots.py +0 -0
  439. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_image.py +0 -0
  440. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_checks.py +0 -0
  441. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_designed.py +0 -0
  442. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_extensions.py +0 -0
  443. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_gradient_stretch.py +0 -0
  444. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_grouping.py +0 -0
  445. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_labels.py +0 -0
  446. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_prescan.py +0 -0
  447. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_prescan_tour.py +0 -0
  448. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_profile.py +0 -0
  449. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_receive_calibration.py +0 -0
  450. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_repetition.py +0 -0
  451. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_rf.py +0 -0
  452. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_rf_freq.py +0 -0
  453. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_segments.py +0 -0
  454. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_source.py +0 -0
  455. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_steady_excitation.py +0 -0
  456. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_timing.py +0 -0
  457. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_ir_vendor.py +0 -0
  458. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_keys.py +0 -0
  459. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_limits.py +0 -0
  460. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_logs.py +0 -0
  461. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_memory.py +0 -0
  462. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_motion.py +0 -0
  463. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_mrd_images.py +0 -0
  464. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_mrd_sequence.py +0 -0
  465. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_played_time.py +0 -0
  466. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_plugin_options.py +0 -0
  467. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_plugins.py +0 -0
  468. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_protocol.py +0 -0
  469. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_proxy.py +0 -0
  470. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_publish_docs.py +0 -0
  471. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_resolution.py +0 -0
  472. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_rf_layout.py +0 -0
  473. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_scan_command.py +0 -0
  474. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_scan_time.py +0 -0
  475. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_seqdesc.py +0 -0
  476. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_sequence_plugin.py +0 -0
  477. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_site_packages.py +0 -0
  478. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_slew_derate.py +0 -0
  479. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_smoke.py +0 -0
  480. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_validate.py +0 -0
  481. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual.py +0 -0
  482. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_brainweb.py +0 -0
  483. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_clock.py +0 -0
  484. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_coils.py +0 -0
  485. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_export.py +0 -0
  486. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_fourier.py +0 -0
  487. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_localizer.py +0 -0
  488. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_virtual_sequences.py +0 -0
  489. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_wire.py +0 -0
  490. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_zoo_defaults.py +0 -0
  491. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_zoo_fov_offset.py +0 -0
  492. {pulserver-0.4.22 → pulserver-0.4.24}/tests/test_zoo_mrd_labels.py +0 -0
  493. {pulserver-0.4.22 → pulserver-0.4.24}/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.22
3
+ Version: 0.4.24
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,7 +21,7 @@ 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.68
24
+ Requires-Dist: pypulseqpp>=0.0.70
25
25
  Requires-Dist: numpy>=2.2.6
26
26
  Requires-Dist: packaging>=24
27
27
  Requires-Dist: ismrmrd>=1.15.0
@@ -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 R_{od}\, a_d\, w_d(t) = m \sum_d R_{od}\, \frac{a_d}{m}\, w_d(t),
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 largest
127
- magnitude of one, and $m$ the $a_d$ of largest magnitude, sign included. The
128
- sum on the right is fixed by the events' definitions and shapes, the rotation
129
- and the amplitude ratios $a_d/m$; an instance only scales it by $m$. The
130
- conversion keeps each distinct sum once per subsequence, with ratios that
131
- round to the same multiple of $10^{-4}$ taken as equal, normalised on each
132
- axis to a largest magnitude of one. Blocks that differ in amplitude or
133
- polarity alone share one wave.
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, at $m$
138
- times the wave's largest magnitude there, and the scanner applies the
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
@@ -590,6 +590,9 @@ PLUGIN = PicsRecon(intensity_correction=False)
590
590
  | Plugin | Reconstructs |
591
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. Each image is then completed by homodyne over every partial-Fourier axis together, which makes it real. 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; without partial Fourier they keep the phase. A unit of calibration readouts only makes no image and stores its maps |
593
+ | `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
+ | `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
+ | `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 |
593
596
  | `pics_train` | `pics`'s images from readouts that number their place in an echo train or an inversion shot (`contrast`, `ECO`), merged so that the readouts of every place fill one image; its channels are compressed a unit at a time, as a train mixes calibration and imaging lines |
594
597
  | `nufft` | The images of `pics` for a radial, spiral, PROPELLER or zero-echo-time trajectory or a stack of them, each solved as `bart pics -t -R W` over `bart nlinv --phase-pole 0 -t` sensitivities of the unit's samples near the k-space centre. The readouts of every segment of a unit, the blades of a PROPELLER scan or the shells of a zero-echo-time one, enter one solve; a trajectory that encodes the partition direction without a partition axis is solved as one volume |
595
598
  | `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 |
@@ -408,7 +408,10 @@ every `--plugins` directory, so a file of the same name there replaces it:
408
408
 
409
409
  | Plugin | Paired reconstruction |
410
410
  | --- | --- |
411
- | `gre2d`, `se2d`, `bssfp2d`, `gre_multiecho2d`, `gre3d`, `se3d`, `bssfp3d` | `pics` |
411
+ | `gre2d`, `se2d`, `gre_multiecho2d`, `gre3d`, `se3d` | `pics` |
412
+ | `bssfp3d`, `inflow_mra3d` | `phase_cycles` |
413
+ | `coronary_mra3d` | `coronary` |
414
+ | `bssfp2d` | `cine` |
412
415
  | `gre_multiecho3d` | `qsm` |
413
416
  | `fse3d`, `fse_pd3d`, `mprage3d` | `pmc` |
414
417
  | `gre_radial2d`, `gre_spiral2d`, `se_radial2d`, `se_spiral2d`, `gre_propeller2d`, `se_propeller2d`, `se_epi_propeller2d`, `zte3d` | `nufft` |
@@ -442,27 +445,79 @@ function takes, at the same user entry in every plugin, each as a
442
445
  | `user35` | TTL output per volume: 0, the default, off; 1 plays a digital output on trigger channel `ext1`, 1 ms or the excitation if shorter, at the first excitation of every volume of the time series, dummy volumes included, and none in the reference volume or the calibration (`epi2d`, `epi3d`) |
443
446
 
444
447
  `bssfp3d` takes its number of phase cycles, each a train with its own RF phase
445
- increment, as `user12`.
448
+ increment, as `user12`. Its reconstruction, `phase_cycles`, combines the cycles
449
+ into one image whose off-resonance bands are filled in: two cycles by their
450
+ larger magnitude, which is CISS, and more by their root sum of squares.
451
+
452
+ `coronary_mra3d` and `inflow_mra3d` play the 3D balanced SSFP in segments, one
453
+ per trigger. Each segment opens from rest with its preparations and a catalyst
454
+ of ten excitations whose flip angle ramps up to the one prescribed, then reads
455
+ its share of the views: they are dealt to the segments by angle in the ky-kz
456
+ plane and each segment reads its wedge from the k-space centre outwards, so the
457
+ centre is read right after the preparations. The scan lasts its number of
458
+ segments times the nominal trigger period, which the console states as the
459
+ heart rate or the breathing rate, and a segment longer than that period is
460
+ refused. The RF the console checks is that of one trigger period.
461
+
462
+ | Plugin | Trigger | Preparations | Segment (`user12`) |
463
+ | --- | --- | --- | --- |
464
+ | `coronary_mra3d` | ECG; the trigger delay places the segment in mid-diastole | T2 preparation (preparation time), fat saturation | Views per heartbeat |
465
+ | `inflow_mra3d` | Respiratory | Slab-selective adiabatic inversion, then fat saturation; the inversion time nulls venous blood at the scanner's B0, `ln 2` times the T1 of blood (`BLOOD_T1_S`), unless `user15` is off and the preparation time sets it | Views per breath; `user13` and `user14` the inversion slab's thickness and offset along the readout, in mm; `user15` the venous null |
466
+
467
+ The coronary scan's catalyst reads neighbouring lines of the central partition,
468
+ an image navigator: the projection of the slab along the partition axis, from
469
+ which the `coronary` reconstruction measures each segment's respiratory
470
+ displacement and undoes it. Prescribe a coronal slab with the readout
471
+ superior–inferior, so the navigator resolves the motion along it; motion along
472
+ the partition axis is not measured. The `navigator` option turns the navigator
473
+ off. Where the peak B1 is too low for the T2 preparation's adiabatic pulses at
474
+ their own adiabaticity, they are designed at a lower one, above an
475
+ inversion's. The inflow scan inverts a slab over the imaged volume and the veins
476
+ on one side of it: arterial blood that flows in from the other side during the
477
+ inversion time is bright against the suppressed background and veins. The PSD maps every trigger to the ECG input,
478
+ so `inflow_mra3d` needs a respiratory trigger on the scanner side before it can
479
+ run there.
446
480
 
447
481
  `bssfp2d` takes its frames from the console's number of frames. Ungated, each
448
482
  slice's k-space is acquired that many times back to back, a free-running series
449
- that keeps its steady state from one frame to the next and is reconstructed as
450
- one image per frame; under prospective ECG gating they are the cardiac phases of
451
- each heartbeat, and retrospective gating sets its own from the heart rate.
452
- Each slice opens with a catalyst, its first dummies ramping the flip angle
453
- linearly up to the one prescribed, and its default dummies bring the steady
454
- state within 5 %. Ungated, each slice is two files of the chain, its catalyst
455
- and dummies and then its frames, and every repetition rests at its ends: the
456
- scanner plays one repetition per segment, the same segment for every line of
457
- every frame, and adds its segment start time to every repetition time alike,
458
- so the played TR, which validation reports, is longer than the designed one
459
- but the same throughout and the steady state is undisturbed. Under prospective
460
- gating each slice's first excitation waits for one trigger, and the slice then
461
- runs free at the heart rate entered: every gated slice is one train with no rest in it, and repetitions
462
- that do not acquire fill the trigger delay and each heartbeat after its
463
- cardiac phases. The train waits for its trigger itself, so the scanner sets
464
- the whole slice up before the trigger arrives rather than in the time between
465
- the trigger and the train.
483
+ that keeps its steady state from one frame to the next; under prospective
484
+ gating they are the cardiac phases of each heartbeat, and under retrospective
485
+ gating the cardiac phases the reconstruction bins. Each slice opens with a
486
+ catalyst, its first dummies ramping the flip angle linearly up to the one
487
+ prescribed, and its default dummies bring the steady state within 5 %.
488
+ Ungated, each slice is two files of the chain, its catalyst and dummies and
489
+ then its frames, and every repetition rests at its ends: the scanner plays one
490
+ repetition per segment, the same segment for every line of every frame, and
491
+ adds its segment start time to every repetition time alike, so the played TR,
492
+ which validation reports, is longer than the designed one but the same
493
+ throughout and the steady state is undisturbed.
494
+
495
+ The cine has three timings, which the trigger type, the `retrospective` option
496
+ and the trigger window select:
497
+
498
+ | Trigger | Option | Acquisition | Reconstruction (`cine`) |
499
+ |---|---|---|---|
500
+ | None | `ordering` `"sequential"` | Every frame in k-space order | One image per frame |
501
+ | None | `ordering` `"golden"` | Every line of the grid once a frame, in golden-ratio order, so any run of readouts is an undersampled frame | Real-time frames of an eighth of the lines; or, with `binning`, cardiac phases from the recorded ECG or pulse |
502
+ | None | `ordering` `"interleaved"` | The central phase resolution (`user12`, `REALTIME_PHASE_RESOLUTION` by default) of the lines, every `Ry`-th a frame from the frame number modulo `Ry`, so `Ry` frames sample every line once | Real-time frames, solved together with the coil maps of the time-averaged k-space and a temporal total variation |
503
+ | ECG | `retrospective` on | Each segment cycled over `RETROSPECTIVE_WINDOW` heartbeats at the heart rate entered, so a line spans a whole beat a fifth longer than the nominal one | Each readout placed in its beat by the recorded triggers, each line interpolated to every cardiac phase |
504
+ | ECG, respiratory | `retrospective` off, window 0 | Each slice's first excitation waits for one trigger; the slice then runs free at the heart rate entered | One image per cardiac phase |
505
+ | ECG, respiratory | `retrospective` off, window > 0 | Every heartbeat (breath) waits for its own trigger, opens with the catalyst and dummies again, and leaves the trigger window free for the next trigger | One image per cardiac phase |
506
+
507
+ Under a respiratory trigger each breath acquires one segment of every cardiac
508
+ phase, timed to 15 breaths a minute with at least 1.5 s left for the next
509
+ trigger. A gated slice is one train with no rest in it between its triggers,
510
+ and repetitions that do not acquire fill the trigger delay and each nominal
511
+ heartbeat after its cardiac phases. The train waits for its trigger itself, so
512
+ the scanner sets the whole slice up before the trigger arrives rather than in
513
+ the time between the trigger and the train. Retrospective and golden binned
514
+ cines need the physiological record (`opuser1`): the reconstruction places
515
+ each readout in its beat by the recorded triggers and rejects beats whose
516
+ interval differs from the median by more than `ARRHYTHMIA_REJECTION` of it,
517
+ filling from them only the cardiac phases of a line no regular beat reaches;
518
+ where the record is there, a prospective cine stretches such a beat to the
519
+ median beat and drops its readouts played after the next trigger. No timing re-acquires a rejected beat, so an arrhythmia costs image
520
+ quality rather than scan time.
466
521
 
467
522
  ### Console controls
468
523
 
@@ -545,7 +600,8 @@ GE scanner:
545
600
  | `gre_multiecho3d` | `sampling` | `user12` | `"lattice"`, the CAIPIRINHA lattice, the default; or `"poisson"`: a variable-density Poisson-disc draw at the undersampling `ry * rz`, for the compressed-sensing `pics` solve | None |
546
601
  | `zte3d` | `scheme` | `user43` | Spokes ordered `"spiral"`, at a constant step across many rings; `"meridian"`; or `"quiet"`, the default: the spiral's directions in steps about a ring gap long, every other shell played backwards | None |
547
602
  | `epi2d`, `epi3d` | `calibration` | `user12` | `"fleet"` (0, the default): the central `n_acs_y` lines read by `n_shots * ry` interleaved EPI shots with the imaging train's read lobe, blip, echo spacing and echo time, a slice's (`epi3d`: a partition's) shots in rapid succession at 10 degrees, once in each phase-encode polarity, so each polarity of the EPI is unfolded by coil sensitivities distorted as its image is (Polimeni et al., Magn Reson Med 2016); `"gre"` (1): a gradient echo per line, undistorted | None |
548
- | `bssfp2d` | `retrospective` | `user44` | ECG gating: off, prospective, each slice triggered once and every heartbeat of the heart rate entered acquired once per cardiac phase; on, retrospective, each segment cycled over a heartbeat and binned into cardiac phases by the reconstruction | None |
603
+ | `bssfp2d` | `retrospective` | `user44` | ECG gating: off, prospective, each slice triggered once, or every heartbeat with a trigger window, and acquired once per cardiac phase; on, retrospective, each segment cycled over `RETROSPECTIVE_WINDOW` heartbeats and binned into cardiac phases by the reconstruction | None |
604
+ | `bssfp2d` | `ordering` | `user39` | Ungated: `"sequential"`, every frame in k-space order, `"golden"`, every line once a frame in golden-ratio order, for real-time or binned frames, or `"interleaved"`, the scanner's real-time cine at reduced phase resolution, every `Ry`-th line a frame | None |
549
605
  | `gre_spiral2d`, `se_spiral2d`, `gre_stack_of_spirals3d`, `se_stack_of_spirals3d`, `mprage_stack_of_spirals3d` | `variable_density` | `user42` | Variable-density spirals | `user12`: periphery undersampling |
550
606
 
551
607
  Every 3D FSE train is packed: the read prephaser shares the excitation block
@@ -24,7 +24,7 @@ classifiers = [
24
24
  ]
25
25
 
26
26
  dependencies = [
27
- "pypulseqpp>=0.0.68",
27
+ "pypulseqpp>=0.0.70",
28
28
  "numpy>=2.2.6",
29
29
  "packaging>=24",
30
30
  "ismrmrd>=1.15.0",
@@ -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 logical amplitude of largest magnitude,
582
- * with its sign, times the wave's peak on that axis. The rotation matrix
583
- * above is then already in the wave. wave_id is -1 elsewhere, and the
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 rotation[o][d] * a_d * w_d(t): the block's three
362
- * normalised waveforms w_d, combined, with the identity for a block without
363
- * one. With m the a_d of largest magnitude,
364
- * sign included, and ratio[d] = a_d / m, that is
365
- * m * sum_d rotation[o][d] * ratio[d] * w_d(t), so the combination is fixed by
366
- * the definitions, the shapes, the rotation and the ratios, and an instance
367
- * only scales it, its polarity included. A playout loads the combination
368
- * normalised to unit peak and plays it at m * peak[o].
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
- * One record per distinct (definitions, shapes, rotation, ratios), ratios
371
- * compared to PULSEG_WAVE_RATIO_STEP. Every field is 4 bytes, so the records
372
- * serialize as a packed word array. */
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
- /* Amplitude ratios this close are one wave. */
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; on raster
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 d, w;
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
- scale = wave_scale(desc, &desc->block_table[block_idx]);
645
+ bte = &desc->block_table[block_idx];
689
646
  wave = &desc->waves[w];
690
- for (d = 0; d < 3; ++d)
691
- amp_hz_per_m[d] = scale * wave->peak[d];
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, their rotation, and their amplitude ratios to
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[10];
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 < 10; ++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
- key.v[6] = wave.rotation_id;
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
 
@@ -4,8 +4,10 @@
4
4
  #: scanner-sequence plugin with when a scan names none. The stored design and
5
5
  #: the reconstruction proxy do not read it.
6
6
  ZOO_PAIRS: dict[str, str] = {
7
- "bssfp2d": "pics",
8
- "bssfp3d": "pics",
7
+ "bssfp2d": "cine",
8
+ "bssfp3d": "phase_cycles",
9
+ "coronary_mra3d": "coronary",
10
+ "inflow_mra3d": "phase_cycles",
9
11
  "epi2d": "epi",
10
12
  "epi3d": "epi",
11
13
  "fse3d": "pmc",
@@ -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
- size * shot + pp.round_to_raster(cycle - size * shot, raster) for size in sizes
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