pulserver 0.4.25__tar.gz → 0.4.26__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. {pulserver-0.4.25 → pulserver-0.4.26}/PKG-INFO +1 -1
  2. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/mrd.md +1 -0
  3. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/reconstruction-plugins.md +1 -1
  4. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/__init__.py +2 -0
  5. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/_metadata.py +6 -0
  6. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_enrich.py +65 -2
  7. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/epi.py +47 -2
  8. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_epi.py +33 -0
  9. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_enrich.py +37 -0
  10. {pulserver-0.4.25 → pulserver-0.4.26}/.claude/skills/build-and-test/SKILL.md +0 -0
  11. {pulserver-0.4.25 → pulserver-0.4.26}/.claude/skills/write-documentation/SKILL.md +0 -0
  12. {pulserver-0.4.25 → pulserver-0.4.26}/.dockerignore +0 -0
  13. {pulserver-0.4.25 → pulserver-0.4.26}/.gitattributes +0 -0
  14. {pulserver-0.4.25 → pulserver-0.4.26}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
  15. {pulserver-0.4.25 → pulserver-0.4.26}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
  16. {pulserver-0.4.25 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  17. {pulserver-0.4.25 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  18. {pulserver-0.4.25 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
  19. {pulserver-0.4.25 → pulserver-0.4.26}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  20. {pulserver-0.4.25 → pulserver-0.4.26}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  21. {pulserver-0.4.25 → pulserver-0.4.26}/.github/dependabot.yml +0 -0
  22. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/codeql.yml +0 -0
  23. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/console.yml +0 -0
  24. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/docs.yml +0 -0
  25. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/fields.yml +0 -0
  26. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/image.yml +0 -0
  27. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/style.yml +0 -0
  28. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/tag.yml +0 -0
  29. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/tags-release.yml +0 -0
  30. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/test-ci.yml +0 -0
  31. {pulserver-0.4.25 → pulserver-0.4.26}/.github/workflows/wheels.yml +0 -0
  32. {pulserver-0.4.25 → pulserver-0.4.26}/.gitignore +0 -0
  33. {pulserver-0.4.25 → pulserver-0.4.26}/.pre-commit-config.yaml +0 -0
  34. {pulserver-0.4.25 → pulserver-0.4.26}/AGENTS.md +0 -0
  35. {pulserver-0.4.25 → pulserver-0.4.26}/CMakeLists.txt +0 -0
  36. {pulserver-0.4.25 → pulserver-0.4.26}/CODE_OF_CONDUCT.md +0 -0
  37. {pulserver-0.4.25 → pulserver-0.4.26}/CONTRIBUTING.md +0 -0
  38. {pulserver-0.4.25 → pulserver-0.4.26}/LICENSE +0 -0
  39. {pulserver-0.4.25 → pulserver-0.4.26}/LICENSES/gadgetron-python-MIT.txt +0 -0
  40. {pulserver-0.4.25 → pulserver-0.4.26}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
  41. {pulserver-0.4.25 → pulserver-0.4.26}/NEXT.md +0 -0
  42. {pulserver-0.4.25 → pulserver-0.4.26}/README.md +0 -0
  43. {pulserver-0.4.25 → pulserver-0.4.26}/SECURITY.md +0 -0
  44. {pulserver-0.4.25 → pulserver-0.4.26}/SKILLS.md +0 -0
  45. {pulserver-0.4.25 → pulserver-0.4.26}/codecov.yml +0 -0
  46. {pulserver-0.4.25 → pulserver-0.4.26}/docker/Dockerfile +0 -0
  47. {pulserver-0.4.25 → pulserver-0.4.26}/docker/compose.yaml +0 -0
  48. {pulserver-0.4.25 → pulserver-0.4.26}/docker/entrypoint.sh +0 -0
  49. {pulserver-0.4.25 → pulserver-0.4.26}/docker/limits/limits.txt +0 -0
  50. {pulserver-0.4.25 → pulserver-0.4.26}/docker/smoke.py +0 -0
  51. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/architecture-dark.svg +0 -0
  52. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/architecture.svg +0 -0
  53. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/capabilities.js +0 -0
  54. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/context-dark.svg +0 -0
  55. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/context.svg +0 -0
  56. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulseg-dark.svg +0 -0
  57. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulseg.svg +0 -0
  58. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulserver-logo-dark.svg +0 -0
  59. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulserver-logo.svg +0 -0
  60. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulserver-mark-dark.svg +0 -0
  61. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulserver-mark.svg +0 -0
  62. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/pulserver.css +0 -0
  63. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/repetition-dark.svg +0 -0
  64. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/repetition.svg +0 -0
  65. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/safety-dark.svg +0 -0
  66. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/safety.svg +0 -0
  67. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/session-dark.svg +0 -0
  68. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/session.svg +0 -0
  69. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/virtual-dark.svg +0 -0
  70. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_static/virtual.svg +0 -0
  71. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_templates/autosummary/base.rst +0 -0
  72. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_templates/autosummary/class.rst +0 -0
  73. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_templates/autosummary/enum.rst +0 -0
  74. {pulserver-0.4.25 → pulserver-0.4.26}/docs/_templates/autosummary/function.rst +0 -0
  75. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/design.md +0 -0
  76. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/host.md +0 -0
  77. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/index.md +0 -0
  78. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/ir.md +0 -0
  79. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/protocol.md +0 -0
  80. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/proxy.md +0 -0
  81. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/recon.md +0 -0
  82. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/validate.md +0 -0
  83. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api/virtual.md +0 -0
  84. {pulserver-0.4.25 → pulserver-0.4.26}/docs/api_objects.py +0 -0
  85. {pulserver-0.4.25 → pulserver-0.4.26}/docs/colab.py +0 -0
  86. {pulserver-0.4.25 → pulserver-0.4.26}/docs/conf.py +0 -0
  87. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/documentation.md +0 -0
  88. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/index.md +0 -0
  89. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/installation.md +0 -0
  90. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/calibration.md +0 -0
  91. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/index.md +0 -0
  92. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/ir-cache.md +0 -0
  93. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/protocol-wire.md +0 -0
  94. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
  95. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/sar-ratios.md +0 -0
  96. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/sequence-definitions.md +0 -0
  97. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/internals/virtual-scanner.md +0 -0
  98. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/releases.md +0 -0
  99. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/style.md +0 -0
  100. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/terminology.md +0 -0
  101. {pulserver-0.4.25 → pulserver-0.4.26}/docs/developer-guide/workflow.md +0 -0
  102. {pulserver-0.4.25 → pulserver-0.4.26}/docs/examples/course.md +0 -0
  103. {pulserver-0.4.25 → pulserver-0.4.26}/docs/examples/index.md +0 -0
  104. {pulserver-0.4.25 → pulserver-0.4.26}/docs/examples/tours.md +0 -0
  105. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/architecture.md +0 -0
  106. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/index.md +0 -0
  107. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/protocol.md +0 -0
  108. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/raw-data.md +0 -0
  109. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/reconstruction-session.md +0 -0
  110. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/reconstruction.md +0 -0
  111. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/safety-checks.md +0 -0
  112. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/scanner-representation.md +0 -0
  113. {pulserver-0.4.25 → pulserver-0.4.26}/docs/explanations/virtual-scanner.md +0 -0
  114. {pulserver-0.4.25 → pulserver-0.4.26}/docs/figure_style.py +0 -0
  115. {pulserver-0.4.25 → pulserver-0.4.26}/docs/index.md +0 -0
  116. {pulserver-0.4.25 → pulserver-0.4.26}/docs/misc/contributors.md +0 -0
  117. {pulserver-0.4.25 → pulserver-0.4.26}/docs/misc/index.md +0 -0
  118. {pulserver-0.4.25 → pulserver-0.4.26}/docs/misc/license.md +0 -0
  119. {pulserver-0.4.25 → pulserver-0.4.26}/docs/misc/related.md +0 -0
  120. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/index.md +0 -0
  121. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/reconstruction-client.md +0 -0
  122. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/running.md +0 -0
  123. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/scanner-sequences.md +0 -0
  124. {pulserver-0.4.25 → pulserver-0.4.26}/docs/user-guide/virtual-scanner.md +0 -0
  125. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/01_protocol_to_image.py +0 -0
  126. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/02_sequence_plugin.py +0 -0
  127. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/03_scanner_representation.py +0 -0
  128. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/04_reconstruction_plugin.py +0 -0
  129. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/05_recon_plugin.py +0 -0
  130. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
  131. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/README.rst +0 -0
  132. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/01-course/_gallery_header.md +0 -0
  133. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/02-tours/01_protocol_resolution.py +0 -0
  134. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/02-tours/02_segmentation.py +0 -0
  135. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
  136. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/02-tours/README.rst +0 -0
  137. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/02-tours/_gallery_header.md +0 -0
  138. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/README.rst +0 -0
  139. {pulserver-0.4.25 → pulserver-0.4.26}/gallery/_gallery_header.md +0 -0
  140. {pulserver-0.4.25 → pulserver-0.4.26}/pyproject.toml +0 -0
  141. {pulserver-0.4.25 → pulserver-0.4.26}/scripts/build_docs.sh +0 -0
  142. {pulserver-0.4.25 → pulserver-0.4.26}/scripts/check_throughput.py +0 -0
  143. {pulserver-0.4.25 → pulserver-0.4.26}/scripts/format_and_lint.sh +0 -0
  144. {pulserver-0.4.25 → pulserver-0.4.26}/scripts/make_artwork.py +0 -0
  145. {pulserver-0.4.25 → pulserver-0.4.26}/scripts/publish_docs.py +0 -0
  146. {pulserver-0.4.25 → pulserver-0.4.26}/setup.py +0 -0
  147. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/CMakeLists.txt +0 -0
  148. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/cache/pulseg_cache.c +0 -0
  149. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/core/pulseg_core.c +0 -0
  150. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/core/pulseg_error.c +0 -0
  151. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/core/pulseg_math.c +0 -0
  152. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg.h +0 -0
  153. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_cache.h +0 -0
  154. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_collection.h +0 -0
  155. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_config.h +0 -0
  156. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_errors.h +0 -0
  157. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_io.h +0 -0
  158. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_playout.h +0 -0
  159. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_protocol.h +0 -0
  160. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseg/pulseg_types.h +0 -0
  161. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseq/pulseq.h +0 -0
  162. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseq/pulseq_config.h +0 -0
  163. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/include/pulseq/pulseq_types.h +0 -0
  164. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/io/pulseg_opts.c +0 -0
  165. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/io/pulseg_protocol.c +0 -0
  166. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/playout/pulseg_playout.c +0 -0
  167. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/pulseg_internal.h +0 -0
  168. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/pulseq/pulseq_internal.h +0 -0
  169. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/pulseq/pulseq_shape.c +0 -0
  170. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/structure/pulseg_descriptor.c +0 -0
  171. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/structure/pulseg_getters.c +0 -0
  172. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/structure/pulseg_repetition.c +0 -0
  173. {pulserver-0.4.25 → pulserver-0.4.26}/src/c/structure/pulseg_waves.c +0 -0
  174. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/fourier/bindings.cpp +0 -0
  175. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/fourier/bindings.hpp +0 -0
  176. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/fourier/parallel.hpp +0 -0
  177. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/fourier/timeline.cpp +0 -0
  178. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/fourier/timeline.hpp +0 -0
  179. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/collection.cpp +0 -0
  180. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/dedup.cpp +0 -0
  181. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/from_libraries.cpp +0 -0
  182. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/from_libraries.hpp +0 -0
  183. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/gradient_stretch.cpp +0 -0
  184. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/pulseg_convert.h +0 -0
  185. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/pulseq_file.cpp +0 -0
  186. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/pulseq_file.h +0 -0
  187. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/structure.cpp +0 -0
  188. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/wave_plan.cpp +0 -0
  189. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/ir/waves.cpp +0 -0
  190. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/module.cpp +0 -0
  191. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/native.hpp +0 -0
  192. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/playout.cpp +0 -0
  193. {pulserver-0.4.25 → pulserver-0.4.26}/src/cpp/playout.hpp +0 -0
  194. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/__init__.py +0 -0
  195. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_accelerators.py +0 -0
  196. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_cli.py +0 -0
  197. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_labels.py +0 -0
  198. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_logs.py +0 -0
  199. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_memory.py +0 -0
  200. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_plugins.py +0 -0
  201. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_site_packages.py +0 -0
  202. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/__init__.py +0 -0
  203. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_evaluation.py +0 -0
  204. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_fse.py +0 -0
  205. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_inversion.py +0 -0
  206. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_pmc.py +0 -0
  207. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_saturation.py +0 -0
  208. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_segmented.py +0 -0
  209. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_slab.py +0 -0
  210. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/_user.py +0 -0
  211. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/cine.py +0 -0
  212. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/coronary.py +0 -0
  213. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/epi.py +0 -0
  214. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/nufft.py +0 -0
  215. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
  216. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/phase_cycles.py +0 -0
  217. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pics.py +0 -0
  218. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pics_train.py +0 -0
  219. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/pmc.py +0 -0
  220. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/recon/qsm.py +0 -0
  221. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/bssfp2d.py +0 -0
  222. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
  223. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/coronary_mra3d.py +0 -0
  224. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/epi2d.py +0 -0
  225. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/epi3d.py +0 -0
  226. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/fse3d.py +0 -0
  227. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/fse_pd3d.py +0 -0
  228. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
  229. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
  230. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
  231. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
  232. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
  233. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
  234. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
  235. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
  236. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
  237. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
  238. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/inflow_mra3d.py +0 -0
  239. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
  240. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
  241. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
  242. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se2d.py +0 -0
  243. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se3d.py +0 -0
  244. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
  245. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
  246. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
  247. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
  248. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
  249. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
  250. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
  251. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
  252. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/__init__.py +0 -0
  253. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/_entries.py +0 -0
  254. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/_options.py +0 -0
  255. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/_plugin.py +0 -0
  256. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/_recon_parameters.py +0 -0
  257. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/design/_rf.py +0 -0
  258. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/__init__.py +0 -0
  259. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/__main__.py +0 -0
  260. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_blocks.py +0 -0
  261. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_command.py +0 -0
  262. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_limits.py +0 -0
  263. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_memo.py +0 -0
  264. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_push.py +0 -0
  265. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_server.py +0 -0
  266. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_service.py +0 -0
  267. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_slew.py +0 -0
  268. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/host/_store.py +0 -0
  269. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/__init__.py +0 -0
  270. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_calibration.py +0 -0
  271. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_checks.py +0 -0
  272. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_convert.py +0 -0
  273. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_playout.py +0 -0
  274. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_source.py +0 -0
  275. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_vendor.py +0 -0
  276. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/ir/_waves.py +0 -0
  277. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/_acquisitions.py +0 -0
  278. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/_header.py +0 -0
  279. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/_images.py +0 -0
  280. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/mrd/_sequence.py +0 -0
  281. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/protocol/__init__.py +0 -0
  282. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/protocol/_keys.py +0 -0
  283. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/protocol/_prescription.py +0 -0
  284. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/protocol/_schema.py +0 -0
  285. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/protocol/_wire.py +0 -0
  286. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/__init__.py +0 -0
  287. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/__main__.py +0 -0
  288. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_designs.py +0 -0
  289. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_held.py +0 -0
  290. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_intake.py +0 -0
  291. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_local.py +0 -0
  292. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_motion.py +0 -0
  293. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_proxy.py +0 -0
  294. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_queue.py +0 -0
  295. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_receiver.py +0 -0
  296. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_seqdesc.py +0 -0
  297. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/proxy/_workers.py +0 -0
  298. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/__init__.py +0 -0
  299. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/__main__.py +0 -0
  300. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_buffers.py +0 -0
  301. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_calibration.py +0 -0
  302. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_correct.py +0 -0
  303. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_exam_image.py +0 -0
  304. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_figure.py +0 -0
  305. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_loader.py +0 -0
  306. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_replay.py +0 -0
  307. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/__init__.py +0 -0
  308. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/application.py +0 -0
  309. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/concurrency.py +0 -0
  310. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/connection.py +0 -0
  311. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/constants.py +0 -0
  312. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/exam.py +0 -0
  313. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
  314. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/offline.py +0 -0
  315. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/readers.py +0 -0
  316. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_runtime/writers.py +0 -0
  317. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/_units.py +0 -0
  318. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/gadgets.py +0 -0
  319. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/__init__.py +0 -0
  320. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/cine.py +0 -0
  321. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/coronary.py +0 -0
  322. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/nufft.py +0 -0
  323. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/nufft_train.py +0 -0
  324. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/phase_cycles.py +0 -0
  325. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/pics.py +0 -0
  326. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/pics_train.py +0 -0
  327. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/pmc.py +0 -0
  328. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/handlers/qsm.py +0 -0
  329. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/recon/plugin.py +0 -0
  330. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/validate/__init__.py +0 -0
  331. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/validate/_command.py +0 -0
  332. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/validate/_compare.py +0 -0
  333. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/validate/_validate.py +0 -0
  334. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/validate/_xml.py +0 -0
  335. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/__init__.py +0 -0
  336. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_brainweb.py +0 -0
  337. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_client.py +0 -0
  338. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_coils.py +0 -0
  339. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_command.py +0 -0
  340. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_console.py +0 -0
  341. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_export.py +0 -0
  342. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_fourier.py +0 -0
  343. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_girf.py +0 -0
  344. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_localizer.py +0 -0
  345. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_motion.py +0 -0
  346. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_phantom.py +0 -0
  347. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_stream.py +0 -0
  348. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_timeline.py +0 -0
  349. {pulserver-0.4.25 → pulserver-0.4.26}/src/pulserver/virtual/_tissue.py +0 -0
  350. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_analytic.py +0 -0
  351. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_cine.py +0 -0
  352. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_host.py +0 -0
  353. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_seqtext.py +0 -0
  354. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_synthetic.py +0 -0
  355. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_virtual.py +0 -0
  356. {pulserver-0.4.25 → pulserver-0.4.26}/tests/_zoo.py +0 -0
  357. {pulserver-0.4.25 → pulserver-0.4.26}/tests/conftest.py +0 -0
  358. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/bssfp.npy +0 -0
  359. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
  360. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
  361. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
  362. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
  363. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
  364. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
  365. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
  366. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
  367. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
  368. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
  369. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
  370. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
  371. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
  372. {pulserver-0.4.25 → pulserver-0.4.26}/tests/fixtures/sequences/zte_3d.seq +0 -0
  373. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/check_initializers.c +0 -0
  374. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/check_segment_plays.c +0 -0
  375. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/print_wave_samples.c +0 -0
  376. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/read_cache_summary.c +0 -0
  377. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/read_rf_definitions.c +0 -0
  378. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/read_rf_timing.c +0 -0
  379. {pulserver-0.4.25 → pulserver-0.4.26}/tests/native/replay_an_instance.c +0 -0
  380. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/crash.py +0 -0
  381. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/gre2d.py +0 -0
  382. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/gre2d_raw.py +0 -0
  383. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/rf_train.py +0 -0
  384. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/stall.py +0 -0
  385. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/strong.py +0 -0
  386. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/tiny.py +0 -0
  387. {pulserver-0.4.25 → pulserver-0.4.26}/tests/plugins/typed.py +0 -0
  388. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_app.py +0 -0
  389. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_buffers.py +0 -0
  390. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_calibration.py +0 -0
  391. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_cine.py +0 -0
  392. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_coil_compression.py +0 -0
  393. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_connection.py +0 -0
  394. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_coronary.py +0 -0
  395. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_correct.py +0 -0
  396. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_epi_solve.py +0 -0
  397. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_exam_image.py +0 -0
  398. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_flags.py +0 -0
  399. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_gadgets.py +0 -0
  400. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_handlers.py +0 -0
  401. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_images.py +0 -0
  402. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_intensity_correction.py +0 -0
  403. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_loader.py +0 -0
  404. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_mrd2dicom.py +0 -0
  405. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_nufft.py +0 -0
  406. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_phase_cycles.py +0 -0
  407. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_pics.py +0 -0
  408. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_pmc.py +0 -0
  409. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_prewhiten.py +0 -0
  410. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_qsm.py +0 -0
  411. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_qsm_first_echo_maps.py +0 -0
  412. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_readers_writers.py +0 -0
  413. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_slots.py +0 -0
  414. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon/test_units.py +0 -0
  415. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/children.py +0 -0
  416. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/crash.py +0 -0
  417. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/device.py +0 -0
  418. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/exam.py +0 -0
  419. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/gre2d.py +0 -0
  420. {pulserver-0.4.25 → pulserver-0.4.26}/tests/recon_plugins/pose.py +0 -0
  421. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_any_rotation.py +0 -0
  422. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_console.py +0 -0
  423. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_console_sequences.py +0 -0
  424. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_design_memo.py +0 -0
  425. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_design_push.py +0 -0
  426. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_design_server.py +0 -0
  427. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_design_service.py +0 -0
  428. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_docs.py +0 -0
  429. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_docstring_defaults.py +0 -0
  430. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_docstrings.py +0 -0
  431. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_exam_artifacts.py +0 -0
  432. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_exam_calibration.py +0 -0
  433. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_exam_sharing.py +0 -0
  434. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_host_slots.py +0 -0
  435. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_image.py +0 -0
  436. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir.py +0 -0
  437. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_checks.py +0 -0
  438. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_designed.py +0 -0
  439. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_extensions.py +0 -0
  440. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_gradient_stretch.py +0 -0
  441. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_grouping.py +0 -0
  442. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_labels.py +0 -0
  443. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_playout.py +0 -0
  444. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_prescan.py +0 -0
  445. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_prescan_tour.py +0 -0
  446. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_profile.py +0 -0
  447. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_receive_calibration.py +0 -0
  448. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_repetition.py +0 -0
  449. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_rf.py +0 -0
  450. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_rf_freq.py +0 -0
  451. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_segments.py +0 -0
  452. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_source.py +0 -0
  453. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_steady_excitation.py +0 -0
  454. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_timing.py +0 -0
  455. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_vendor.py +0 -0
  456. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_ir_waves.py +0 -0
  457. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_keys.py +0 -0
  458. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_limits.py +0 -0
  459. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_logs.py +0 -0
  460. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_memory.py +0 -0
  461. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_motion.py +0 -0
  462. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_mrd_images.py +0 -0
  463. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_mrd_sequence.py +0 -0
  464. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_played_time.py +0 -0
  465. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_plugin_options.py +0 -0
  466. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_plugins.py +0 -0
  467. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_protocol.py +0 -0
  468. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_proxy.py +0 -0
  469. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_publish_docs.py +0 -0
  470. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_resolution.py +0 -0
  471. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_rf_layout.py +0 -0
  472. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_scan_command.py +0 -0
  473. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_scan_time.py +0 -0
  474. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_seqdesc.py +0 -0
  475. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_sequence_plugin.py +0 -0
  476. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_site_packages.py +0 -0
  477. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_slew_derate.py +0 -0
  478. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_smoke.py +0 -0
  479. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_validate.py +0 -0
  480. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual.py +0 -0
  481. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_brainweb.py +0 -0
  482. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_clock.py +0 -0
  483. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_coils.py +0 -0
  484. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_export.py +0 -0
  485. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_fourier.py +0 -0
  486. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_localizer.py +0 -0
  487. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_virtual_sequences.py +0 -0
  488. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_wire.py +0 -0
  489. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_zoo_defaults.py +0 -0
  490. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_zoo_evaluation.py +0 -0
  491. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_zoo_fov_offset.py +0 -0
  492. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_zoo_mrd_labels.py +0 -0
  493. {pulserver-0.4.25 → pulserver-0.4.26}/tests/test_zoo_wave.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulserver
3
- Version: 0.4.25
3
+ Version: 0.4.26
4
4
  Summary: Orchestrator for MR acquisitions: sequence design, scanner preparation and reconstruction.
5
5
  Keywords: mri,pulseq,mrd,ismrmrd,reconstruction,scanner
6
6
  Author-Email: Matteo Cencini <matteo.cencini@gmail.com>
@@ -34,6 +34,7 @@ stream from (see {doc}`../explanations/raw-data`).
34
34
  | {obj}`~pulserver.mrd.user_parameter` | A header user parameter by name. |
35
35
  | {obj}`~pulserver.mrd.max_stored_value` | Largest pixel value of the header's stored bit depth. |
36
36
  | {obj}`~pulserver.mrd.diffusion_table` | The b-value and logical direction of each volume, as the proxy states them. |
37
+ | {obj}`~pulserver.mrd.ACCELERATION_PER_SOLVE` | Name of the user parameter string the acceleration per joint solve is stated in. |
37
38
  | {obj}`~pulserver.mrd.DIFFUSION_TABLE` | Name of the user parameter string the diffusion table is stated in. |
38
39
 
39
40
  ## Images
@@ -597,7 +597,7 @@ PLUGIN = PicsRecon(intensity_correction=False)
597
597
  | `pics_train` | `pics`'s images from readouts that number their place in an echo train or an inversion shot (`contrast`, `ECO`), merged so that the readouts of every place fill one image; its channels are compressed a unit at a time, as a train mixes calibration and imaging lines |
598
598
  | `nufft` | The images of `pics` for a radial, spiral, PROPELLER or zero-echo-time trajectory or a stack of them, each solved as `bart pics -t -R W` over `bart nlinv --phase-pole 0 -t` sensitivities of the unit's samples near the k-space centre. The readouts of every segment of a unit, the blades of a PROPELLER scan or the shells of a zero-echo-time one, enter one solve; a trajectory that encodes the partition direction without a partition axis is solved as one volume |
599
599
  | `nufft_train` | `nufft`'s images from readouts that number their place in a train of excitations (`contrast`, `ECO`), merged so that the readouts of every place fill one image |
600
- | `epi` | Images from EPI readouts, each whitened, projected onto the virtual channels (`CompressChannels`), resampled off its ramps onto the matrix along its k-space trajectory and corrected for its odd/even phase as it arrives, against the blip-free reference train or the shot's navigator (`bart` ramp operator, `estimate_epi_echo_phase`, `estimate_epi_phase`). The first reference or navigator also gives the read-gradient delay, by which every later readout's trajectory is delayed before it is resampled. The coil sensitivities of the whole stack are estimated once, as one volume, from the calibration the scan opens with (FLEET's EPI shots, each polarity's maps unfolding the images of its set, or a gradient echo's lines), and serve every image; from a single-band slice's full-k phase reference on, the slice takes maps drawn from that reference, which holds the sensitivities of the signal where the field piles it up at the scan's echo time. A fully sampled unit is the least-squares SENSE combination of its coils, an undersampled one a wavelet-regularised SENSE solve whose maps carry the smooth phase of a conjugate-gradient SENSE image, so the off-resonance phase of a long echo time does not ring under the prior (with `wavelet=0`, the conjugate-gradient image itself), and a partial-Fourier one is solved for a real image times a known phase: that of the full-k phase reference volume of its slice (set 4, at the scan's echo time, reconstructed and sent as no image) times the smooth drift of the unit against it, or without a reference the unit's own smooth phase, as a spin echo's; a unit whose image that phase does not describe is left zero-filled with a warning. A unit whose lines come from several segments (`SEG`), the shots of a segmented scan, is solved with the phase each shot adds to the image (MUSE, Chen et al. 2013): each shot's phase relative to the first's, a sum of Legendre polynomials of degree `SHOT_PHASE_ORDER` in plane per partition (per band), is fitted by Gauss-Newton against an image of the unit, tried in turn: the slice's full-k phase reference; for a forward-encoded unit, the forward planes of its field pair (so a full-k reference read in several shots is fitted against the pair); and for at most `SHOT_PHASE_SEARCH_SHOTS` shots, the unit solved with the best of `SHOT_PHASE_CONSTANTS` constant phases per shot (how the field pair itself is fitted). From each, the fit alternates with the joint solve that encodes each shot's lines from the image times its phase (`bartorch.linop.FieldCorrected` with given coefficients) until the data residual settles (`SHOT_PHASE_TOLERANCE`, at most `SHOT_PHASE_ITERATIONS`); every template is tried, the constant search only where no template lowers the residual by more than `SHOT_PHASE_CLEAR_GAIN`, and the phases leaving the least residual are kept if they lower it at all, else the unit is solved as one and the log says so (the fits, solves and residuals on the reconstruction's device), and the partial-Fourier and wavelet solves take the phases. A segmented single-band full-k reference is unfolded by its calibration maps and its own maps are drawn from its coil images with the shot phases removed (`EpiRecon(shot_phase=False)` solves every unit as one). A multiband unit is solved as one volume of its bands, a partition each with the blipped-CAIPI encode of its lines, unfolded by its bands' slices' maps, so its in-plane and band aliases are unfolded together by every virtual channel; where its bands lie on calibrated slices it is solved at the multiband wavelet weight (`EPI_WAVELET_MULTIBAND`), or at the slice's (`EPI_WAVELET_SLICE`) where it is read in several shots and its in-plane line step times its bands, per shot, is at most `EPI_WAVELET_SEGMENTED_ACCELERATION` (2: R2 x MB2 in 2 or 3 shots), and each band is filtered and corrected as the slice it is. The phase-encode-reversed reference set is reconstructed and sent as no image. With PyHySCO installed (GPL-3.0, not a dependency; the Docker image carries it), one displacement field is estimated from the field pair the scan opens with (set 2 forward, set 3 reversed, both reconstructed and sent as no image; a gradient-echo pair at the scan's echo time for a gradient-echo scan, a spin-echo pair for a spin-echo scan), and every image is corrected by it, interpolated between the pair's planes (so a 3D slab takes the field of the 2D pair over it); the field is kept for the exam and a later series without a pair takes it where it shares the pair's slice direction, in-plane matrix and field of view, dwell time and phase-encode line step; history `HYSCO`, logged as the corrections are; an image left uncorrected, for want of PyHySCO or of the field pair, is logged with the reason as a warning |
600
+ | `epi` | Images from EPI readouts, each whitened, projected onto the virtual channels (`CompressChannels`, `EPI_VIRTUAL_COILS_ACCELERATED` of them where the header's acceleration per joint solve, in-plane line step times partition step times bands divided by shots, is at least `EPI_ACCELERATED_SOLVE`), resampled off its ramps onto the matrix along its k-space trajectory and corrected for its odd/even phase as it arrives, against the blip-free reference train or the shot's navigator (`bart` ramp operator, `estimate_epi_echo_phase`, `estimate_epi_phase`). The first reference or navigator also gives the read-gradient delay, by which every later readout's trajectory is delayed before it is resampled. The coil sensitivities of the whole stack are estimated once, as one volume, from the calibration the scan opens with (FLEET's EPI shots, each polarity's maps unfolding the images of its set, or a gradient echo's lines), and serve every image; from a single-band slice's full-k phase reference on, the slice takes maps drawn from that reference, which holds the sensitivities of the signal where the field piles it up at the scan's echo time. A fully sampled unit is the least-squares SENSE combination of its coils, an undersampled one a wavelet-regularised SENSE solve whose maps carry the smooth phase of a conjugate-gradient SENSE image, so the off-resonance phase of a long echo time does not ring under the prior (with `wavelet=0`, the conjugate-gradient image itself), and a partial-Fourier one is solved for a real image times a known phase: that of the full-k phase reference volume of its slice (set 4, at the scan's echo time, reconstructed and sent as no image) times the smooth drift of the unit against it, or without a reference the unit's own smooth phase, as a spin echo's; a unit whose image that phase does not describe is left zero-filled with a warning. A unit whose lines come from several segments (`SEG`), the shots of a segmented scan, is solved with the phase each shot adds to the image (MUSE, Chen et al. 2013): each shot's phase relative to the first's, a sum of Legendre polynomials of degree `SHOT_PHASE_ORDER` in plane per partition (per band), is fitted by Gauss-Newton against an image of the unit, tried in turn: the slice's full-k phase reference; for a forward-encoded unit, the forward planes of its field pair (so a full-k reference read in several shots is fitted against the pair); and for at most `SHOT_PHASE_SEARCH_SHOTS` shots, the unit solved with the best of `SHOT_PHASE_CONSTANTS` constant phases per shot (how the field pair itself is fitted). From each, the fit alternates with the joint solve that encodes each shot's lines from the image times its phase (`bartorch.linop.FieldCorrected` with given coefficients) until the data residual settles (`SHOT_PHASE_TOLERANCE`, at most `SHOT_PHASE_ITERATIONS`); every template is tried, the constant search only where no template lowers the residual by more than `SHOT_PHASE_CLEAR_GAIN`, and the phases leaving the least residual are kept if they lower it at all, else the unit is solved as one and the log says so (the fits, solves and residuals on the reconstruction's device), and the partial-Fourier and wavelet solves take the phases. A segmented single-band full-k reference is unfolded by its calibration maps and its own maps are drawn from its coil images with the shot phases removed (`EpiRecon(shot_phase=False)` solves every unit as one). A multiband unit is solved as one volume of its bands, a partition each with the blipped-CAIPI encode of its lines, unfolded by its bands' slices' maps, so its in-plane and band aliases are unfolded together by every virtual channel; where its bands lie on calibrated slices it is solved at the multiband wavelet weight (`EPI_WAVELET_MULTIBAND`), or at the slice's (`EPI_WAVELET_SLICE`) where it is read in several shots and its in-plane line step times its bands, per shot, is at most `EPI_WAVELET_SEGMENTED_ACCELERATION` (2: R2 x MB2 in 2 or 3 shots), and each band is filtered and corrected as the slice it is. The phase-encode-reversed reference set is reconstructed and sent as no image. With PyHySCO installed (GPL-3.0, not a dependency; the Docker image carries it), one displacement field is estimated from the field pair the scan opens with (set 2 forward, set 3 reversed, both reconstructed and sent as no image; a gradient-echo pair at the scan's echo time for a gradient-echo scan, a spin-echo pair for a spin-echo scan), and every image is corrected by it, interpolated between the pair's planes (so a 3D slab takes the field of the 2D pair over it); the field is kept for the exam and a later series without a pair takes it where it shares the pair's slice direction, in-plane matrix and field of view, dwell time and phase-encode line step; history `HYSCO`, logged as the corrections are; an image left uncorrected, for want of PyHySCO or of the field pair, is logged with the reason as a warning |
601
601
  | `qsm` | A multi-echo 3D gradient echo: the echoes themselves are not sent. `pics` makes each echo; once the last echo of a volume is in, fast-qsm (an optional dependency; without it the root sum of squares alone) makes, each its own series: the root sum of squares over the echoes' intensity-corrected magnitudes (3) and T2* of the whole object (4) for every anatomy; then for the `QsmAnatomy` recon parameter 0 (phantom) QSM by PDF and MEDI+0 referenced to the water (5), 1 (brain) QSM by V-SHARP and iLSQR inside the SynthStrip brain mask (5; FreeSurfer's weights at `share/fastqsm/synthstrip.1.pt` in the site library or the environment, or the file `FASTQSM_SYNTHSTRIP_WEIGHTS` names), the minimum intensity projection of SWI (6) from the echo nearest `SWI_TE_3T` scaled by 3 T / B0, and the DECOMPOSE paramagnetic (8) and diamagnetic (9) component susceptibilities, 2 (body) QSM by mask-free total field inversion (5) and SWI (6) as for the brain. The maps are sent in the order of their series, so a GE system, which numbers series by arrival from `100 × measurementID + 1`, numbers a map alike for every scan of one anatomy. A single-echo scan is `pics`'s magnitude image. A partial-Fourier axis makes the echoes real, without the field's phase: QSM scans sample all of k-space |
602
602
  | `pmc` | `pics_train`'s images, and a pose from each three-plane navigator (`NAV` or `RTFEEDBACK` readouts): planes gridded with Pipe-Menon density compensation on one thread, coils combined by root sum of squares, registered against the first navigator and filtered by an extended Kalman filter. The pose is published to the scan when its design sets `EnablePmc`; the navigators are not corrected |
603
603
 
@@ -4,6 +4,7 @@ from ._acquisitions import AcquisitionBucket, AcquisitionBucketStats, Acquisitio
4
4
  from ._header import LOOP_COUNTERS, EncodingSpace
5
5
  from ._images import as_numpy, center_crop, coil_combine
6
6
  from ._metadata import (
7
+ ACCELERATION_PER_SOLVE,
7
8
  DIFFUSION_TABLE,
8
9
  MrdMetadata,
9
10
  acquisition_label,
@@ -16,6 +17,7 @@ from ._metadata import (
16
17
  from ._sequence import ReadoutTable, SequenceDefinitions, read_chain
17
18
 
18
19
  __all__ = [
20
+ "ACCELERATION_PER_SOLVE",
19
21
  "DIFFUSION_TABLE",
20
22
  "LOOP_COUNTERS",
21
23
  "AcquisitionBucket",
@@ -13,6 +13,7 @@ import numpy as np
13
13
  from .._labels import MRD_FLAGS, canonical_label
14
14
 
15
15
  __all__ = [
16
+ "ACCELERATION_PER_SOLVE",
16
17
  "DIFFUSION_TABLE",
17
18
  "MrdMetadata",
18
19
  "acquisition_label",
@@ -61,6 +62,11 @@ def user_parameter(metadata: Any, name: str, default: Any = None) -> Any:
61
62
  return default
62
63
 
63
64
 
65
+ #: User parameter string holding the acceleration per joint solve of the main
66
+ #: sequence: the in-plane line step times the partition step times the bands,
67
+ #: divided by the shots of one imaging unit.
68
+ ACCELERATION_PER_SOLVE = "pulserver_acceleration_per_solve"
69
+
64
70
  #: User parameter string an MRD header states a diffusion table in: one
65
71
  #: ``x y z b`` row per line.
66
72
  DIFFUSION_TABLE = "diffusion_table"
@@ -11,6 +11,7 @@ __all__ = [
11
11
  "ENRICHED",
12
12
  "SequenceTable",
13
13
  "TableSpace",
14
+ "acceleration_per_solve",
14
15
  "enrich_acquisition",
15
16
  "enrich_header",
16
17
  "is_enriched",
@@ -30,7 +31,7 @@ from .._accelerators import require
30
31
  from .._labels import MRD_COUNTERS, MRD_FLAGS
31
32
  from ..design._recon_parameters import RECON_PARAMETERS
32
33
  from ..mrd._acquisitions import AcquisitionFlag
33
- from ..mrd._metadata import DIFFUSION_TABLE, user_parameter
34
+ from ..mrd._metadata import ACCELERATION_PER_SOLVE, DIFFUSION_TABLE, user_parameter
34
35
  from ..mrd._sequence import ReadoutTable, SequenceDefinitions, read_chain
35
36
 
36
37
  _F = AcquisitionFlag
@@ -105,6 +106,9 @@ class TableSpace:
105
106
  Whether the space's readouts are sampled on the ramps of their
106
107
  trapezoid, so that a Cartesian readout still carries its k as a 1D
107
108
  trajectory.
109
+ bands
110
+ Slices one excitation of the space's readouts excites: the
111
+ ``MultibandFactor`` of a multiband stack, 1 elsewhere.
108
112
  """
109
113
 
110
114
  subsequence: int
@@ -116,6 +120,7 @@ class TableSpace:
116
120
  centre_partition: int | None = None
117
121
  readout_samples: int | None = None
118
122
  ramp_sampled: bool = False
123
+ bands: int = 1
119
124
 
120
125
 
121
126
  @dataclass(frozen=True, eq=False)
@@ -408,6 +413,57 @@ def _diffusion(seq: Any) -> tuple[np.ndarray, np.ndarray] | None:
408
413
  ENRICHED = "pulserver_enriched"
409
414
 
410
415
 
416
+ def acceleration_per_solve(table: SequenceTable) -> float:
417
+ """Return the in-plane line step times the partition step times the bands, divided by the shots, of the main sequence's imaging unit.
418
+
419
+ The unit is the first slice group and repetition of the set that has the
420
+ most readouts in the last imaging space of the chain; its line and
421
+ partition steps are the most common spacings of its ``LIN`` and ``PAR``
422
+ counters, and its shots the ``SEG`` values it spans. A unit that varies
423
+ along no counter has an acceleration of 1.
424
+
425
+ Parameters
426
+ ----------
427
+ table : SequenceTable
428
+ The chain's readouts.
429
+
430
+ Returns
431
+ -------
432
+ float
433
+ The acceleration per joint solve; 1 where the chain has no imaging
434
+ space.
435
+ """
436
+ imaging = [i for i, space in enumerate(table.spaces) if not space.navigator]
437
+ if not imaging:
438
+ return 1.0
439
+ members = table.encoding_space == imaging[-1]
440
+ counters = {name: values[members] for name, values in table.counters.items()}
441
+ count = int(members.sum())
442
+ if count == 0:
443
+ return 1.0
444
+
445
+ def counter(name: str) -> np.ndarray:
446
+ return counters.get(name, np.zeros(count, dtype=np.int32))
447
+
448
+ sets = counter("SET")
449
+ chosen = np.argmax(np.bincount(sets - sets.min())) + sets.min()
450
+ unit = sets == chosen
451
+ for name in ("SLC", "REP"):
452
+ values = counter(name)
453
+ unit &= values == values[unit][0]
454
+
455
+ def step(name: str) -> int:
456
+ distinct = np.unique(counter(name)[unit])
457
+ if distinct.size < 2:
458
+ return 1
459
+ return int(np.bincount(np.diff(distinct)).argmax())
460
+
461
+ bands = table.spaces[imaging[-1]].bands
462
+ partition_step = 1 if bands > 1 else step("PAR")
463
+ shots = np.unique(counter("SEG")[unit]).size
464
+ return step("LIN") * partition_step * bands / max(shots, 1)
465
+
466
+
411
467
  def is_enriched(header: Any) -> bool:
412
468
  """Whether :func:`enrich_header` has written this header."""
413
469
  return user_parameter(header, ENRICHED) is not None
@@ -455,9 +511,13 @@ def enrich_header(header: Any, table: SequenceTable) -> None:
455
511
  parameters the table holds replace the header's, and its diffusion table
456
512
  becomes the ``diffusion_table`` user parameter string, one ``x y z b`` row
457
513
  per volume (:func:`pulserver.mrd.diffusion_table`). Each recon parameter
458
- of the table becomes a user parameter string of its name.
514
+ of the table becomes a user parameter string of its name, and
515
+ :func:`acceleration_per_solve` the ``ACCELERATION_PER_SOLVE`` one.
459
516
  """
460
517
  _set_user_string(header, ENRICHED, "1")
518
+ _set_user_string(
519
+ header, ACCELERATION_PER_SOLVE, f"{acceleration_per_solve(table):g}"
520
+ )
461
521
  for name, value in table.recon_parameters.items():
462
522
  _set_user_string(header, name, value)
463
523
  parameters = header.sequenceParameters
@@ -707,6 +767,9 @@ def _map_readouts(
707
767
  and _ramp_sampled(
708
768
  readouts, int(np.argmax(members)) if navigates else 0
709
769
  ),
770
+ bands=definitions.multiband
771
+ if bands is not None and not is_navigator
772
+ else 1,
710
773
  )
711
774
  )
712
775
 
@@ -15,7 +15,12 @@ import time
15
15
  import numpy as np
16
16
 
17
17
  from ...mrd._header import EncodingSpace
18
- from ...mrd._metadata import acquisition_label, has_acquisition_flag
18
+ from ...mrd._metadata import (
19
+ ACCELERATION_PER_SOLVE,
20
+ acquisition_label,
21
+ has_acquisition_flag,
22
+ user_parameter,
23
+ )
19
24
  from .._buffers import ReconData, discards, echo_centre
20
25
  from .._calibration import (
21
26
  MissingCalibration,
@@ -538,7 +543,10 @@ class EpiRecon(PicsRecon):
538
543
  Tikhonov weight ``lambda`` of the conjugate-gradient solve, on data
539
544
  scaled as ``pics`` scales them.
540
545
  virtual_coils : int | None, default=VIRTUAL_COILS
541
- As :class:`~pulserver.recon.handlers.pics.PicsRecon`.
546
+ As :class:`~pulserver.recon.handlers.pics.PicsRecon`, raised to
547
+ ``EPI_VIRTUAL_COILS_ACCELERATED`` where the header's acceleration per
548
+ joint solve (``ACCELERATION_PER_SOLVE``) is at least
549
+ ``EPI_ACCELERATED_SOLVE``. Compression stays first in the chain.
542
550
  kspace_filter, gradient_unwarp, intensity_correction : bool, default=True
543
551
  As :class:`~pulserver.recon.handlers.pics.PicsRecon`.
544
552
  shot_phase : bool, default=True
@@ -589,6 +597,12 @@ class EpiRecon(PicsRecon):
589
597
  def startup(self, context):
590
598
  super().startup(context)
591
599
  self.gadget(EpiPhaseCorrection).ramp = self.gadget(RampSampling)
600
+ if self.virtual_coils is not None:
601
+ self.virtual_coils = virtual_coils_for(
602
+ self.virtual_coils,
603
+ float(user_parameter(context.header, ACCELERATION_PER_SOLVE, 1.0)),
604
+ )
605
+ self.gadget(CompressChannels).n_virtual = self.virtual_coils
592
606
  self.calibrations = {}
593
607
  self.slice_calibrations = []
594
608
  self.own_maps = {}
@@ -1384,6 +1398,14 @@ EPI_WAVELET_SLICE = 0.003
1384
1398
  #: the multiband weight against its aliases.
1385
1399
  EPI_WAVELET_SEGMENTED_ACCELERATION = 2.0
1386
1400
 
1401
+ #: Acceleration per joint solve (in-plane line step times partition step times
1402
+ #: bands, divided by shots) from which a stream is compressed to
1403
+ #: ``EPI_VIRTUAL_COILS_ACCELERATED`` virtual channels instead of
1404
+ #: ``virtual_coils``: a solve that unfolds this much needs more of the array's
1405
+ #: sensitivity variation than the first six compressed channels carry.
1406
+ EPI_ACCELERATED_SOLVE = 6.0
1407
+ EPI_VIRTUAL_COILS_ACCELERATED = 12
1408
+
1387
1409
  #: Sobolev weight of the EPI coil maps on their calibration grid. Below
1388
1410
  #: BART's, the maps follow the steep sensitivity next to the coil elements:
1389
1411
  #: along the scalp of a close-fitting array, where the scalp is far brighter
@@ -1677,6 +1699,29 @@ def _along_slice(acquisition) -> float:
1677
1699
  return float(position @ normal)
1678
1700
 
1679
1701
 
1702
+ def virtual_coils_for(virtual_coils: int, acceleration: float) -> int:
1703
+ """Return the virtual channels a stream is compressed to at an acceleration per joint solve.
1704
+
1705
+ Parameters
1706
+ ----------
1707
+ virtual_coils : int
1708
+ Channels kept below ``EPI_ACCELERATED_SOLVE``.
1709
+ acceleration : float
1710
+ In-plane line step times partition step times bands, divided by the
1711
+ shots of one imaging unit.
1712
+
1713
+ Returns
1714
+ -------
1715
+ int
1716
+ ``EPI_VIRTUAL_COILS_ACCELERATED`` where ``acceleration`` is at least
1717
+ ``EPI_ACCELERATED_SOLVE`` and more than ``virtual_coils``,
1718
+ ``virtual_coils`` otherwise.
1719
+ """
1720
+ if acceleration >= EPI_ACCELERATED_SOLVE:
1721
+ return max(virtual_coils, EPI_VIRTUAL_COILS_ACCELERATED)
1722
+ return virtual_coils
1723
+
1724
+
1680
1725
  def _line_step(volume) -> int:
1681
1726
  """Return the most common step between the phase-encode lines ``(coils, z, y, x)`` k-space holds, on any partition; 1 where it holds fewer than two."""
1682
1727
  magnitude = volume.abs().cpu().numpy() if hasattr(volume, "cpu") else np.abs(volume)
@@ -855,3 +855,36 @@ def test_a_forward_or_single_plane_unit_keeps_its_own_set_for_its_maps():
855
855
 
856
856
  assert _polarity_of(forward, np.zeros((2, 4, 8, 8))) is forward
857
857
  assert _polarity_of(plane, np.zeros((2, 1, 8, 8))) is plane
858
+
859
+
860
+ @pytest.mark.parametrize(
861
+ ("acceleration", "expected"),
862
+ [(1.0, 6), (4.0, 6), (5.9, 6), (6.0, 12), (8.0, 12)],
863
+ )
864
+ def test_twelve_virtual_channels_serve_a_solve_of_six_fold_acceleration_or_more(
865
+ acceleration, expected
866
+ ):
867
+ from pulserver.recon.handlers.epi import virtual_coils_for
868
+
869
+ assert virtual_coils_for(6, acceleration) == expected
870
+
871
+
872
+ def test_a_stream_of_a_highly_accelerated_header_compresses_to_twelve_channels_first():
873
+ from pulserver.mrd import ACCELERATION_PER_SOLVE
874
+ from pulserver.recon.gadgets import CompressChannels
875
+ from pulserver.recon.handlers.epi import EpiRecon
876
+
877
+ header = SimpleNamespace(
878
+ userParameters=SimpleNamespace(
879
+ userParameterLong=[],
880
+ userParameterDouble=[],
881
+ userParameterString=[
882
+ SimpleNamespace(name=ACCELERATION_PER_SOLVE, value="6")
883
+ ],
884
+ )
885
+ )
886
+ recon = EpiRecon()
887
+ recon.startup(SimpleNamespace(header=header, exam={}))
888
+
889
+ assert recon.gadgets[1] is recon.gadget(CompressChannels)
890
+ assert recon.gadget(CompressChannels).n_virtual == recon.virtual_coils == 12
@@ -842,3 +842,40 @@ def test_a_stack_excited_one_slice_at_a_time_keeps_one_slice_per_space(tmp_path)
842
842
  np.testing.assert_allclose(
843
843
  table.slice_offset_m[imaging], positions[table.counters["SLC"][imaging]]
844
844
  )
845
+
846
+
847
+ @pytest.mark.parametrize(
848
+ ("lines", "segments", "expected"),
849
+ [
850
+ ([0, 3, 6, 9], [0, 0, 0, 0], 3.0),
851
+ ([0, 2, 4, 6], [0, 1, 0, 1], 1.0),
852
+ ([0, 1, 2, 3], [0, 0, 0, 0], 1.0),
853
+ ],
854
+ )
855
+ def test_the_acceleration_per_solve_is_the_line_step_divided_by_the_shots(
856
+ tmp_path, lines, segments, expected
857
+ ):
858
+ from pulserver.proxy._enrich import acceleration_per_solve
859
+
860
+ seq = pp.Sequence(pp.Opts())
861
+ for lin, seg in zip(lines, segments, strict=True):
862
+ add_readout(
863
+ seq,
864
+ pp.make_label("LIN", "SET", lin),
865
+ pp.make_label("SEG", "SET", seg),
866
+ )
867
+
868
+ assert acceleration_per_solve(written(seq, tmp_path)) == expected
869
+
870
+
871
+ def test_the_header_states_the_acceleration_per_solve_of_the_main_sequence(tmp_path):
872
+ from pulserver.mrd import ACCELERATION_PER_SOLVE, user_parameter
873
+
874
+ seq = pp.Sequence(pp.Opts())
875
+ for lin in (0, 3, 6, 9):
876
+ add_readout(seq, pp.make_label("LIN", "SET", lin))
877
+ enriched = header()
878
+
879
+ enrich_header(enriched, written(seq, tmp_path))
880
+
881
+ assert float(user_parameter(enriched, ACCELERATION_PER_SOLVE)) == 3.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes