pulserver 0.4.5__tar.gz → 0.4.7__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 (465) hide show
  1. {pulserver-0.4.5 → pulserver-0.4.7}/.gitignore +0 -2
  2. {pulserver-0.4.5 → pulserver-0.4.7}/PKG-INFO +2 -2
  3. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/ir.md +4 -2
  4. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/index.md +1 -1
  5. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/ir-cache.md +34 -13
  6. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/virtual-scanner.md +6 -22
  7. pulserver-0.4.7/docs/developer-guide/style.md +24 -0
  8. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/workflow.md +0 -1
  9. {pulserver-0.4.5 → pulserver-0.4.7}/pyproject.toml +1 -1
  10. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/cache/pulseg_cache.c +6 -1
  11. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_playout.h +48 -54
  12. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_types.h +7 -4
  13. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseq/pulseq_types.h +3 -0
  14. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/playout/pulseg_playout.c +263 -228
  15. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/pulseg_internal.h +10 -1
  16. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/structure/pulseg_getters.c +29 -0
  17. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/collection.cpp +3 -1
  18. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/dedup.cpp +1 -0
  19. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/from_libraries.cpp +1 -0
  20. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/module.cpp +30 -37
  21. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/playout.cpp +0 -1
  22. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/bssfp2d.py +4 -8
  23. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_service.py +12 -4
  24. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/__init__.py +10 -2
  25. pulserver-0.4.7/src/pulserver/ir/_calibration.py +328 -0
  26. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_playout.py +72 -31
  27. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_source.py +1 -0
  28. pulserver-0.4.7/tests/test_ir_prescan_tour.py +142 -0
  29. pulserver-0.4.7/tests/test_ir_receive_calibration.py +150 -0
  30. pulserver-0.4.5/.github/workflows/koma.yml +0 -65
  31. pulserver-0.4.5/docs/developer-guide/style.md +0 -43
  32. pulserver-0.4.5/tests/koma/Project.toml +0 -8
  33. pulserver-0.4.5/tests/koma/simulate.jl +0 -89
  34. pulserver-0.4.5/tests/test_ir_prescan_tour.py +0 -125
  35. pulserver-0.4.5/tests/test_koma.py +0 -163
  36. {pulserver-0.4.5 → pulserver-0.4.7}/.claude/skills/build-and-test/SKILL.md +0 -0
  37. {pulserver-0.4.5 → pulserver-0.4.7}/.claude/skills/write-documentation/SKILL.md +0 -0
  38. {pulserver-0.4.5 → pulserver-0.4.7}/.dockerignore +0 -0
  39. {pulserver-0.4.5 → pulserver-0.4.7}/.gitattributes +0 -0
  40. {pulserver-0.4.5 → pulserver-0.4.7}/.github/DISCUSSION_TEMPLATE/ideas.yml +0 -0
  41. {pulserver-0.4.5 → pulserver-0.4.7}/.github/DISCUSSION_TEMPLATE/q-a.yml +0 -0
  42. {pulserver-0.4.5 → pulserver-0.4.7}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  43. {pulserver-0.4.5 → pulserver-0.4.7}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  44. {pulserver-0.4.5 → pulserver-0.4.7}/.github/ISSUE_TEMPLATE/documentation.yml +0 -0
  45. {pulserver-0.4.5 → pulserver-0.4.7}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  46. {pulserver-0.4.5 → pulserver-0.4.7}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  47. {pulserver-0.4.5 → pulserver-0.4.7}/.github/dependabot.yml +0 -0
  48. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/codeql.yml +0 -0
  49. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/console.yml +0 -0
  50. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/docs.yml +0 -0
  51. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/fields.yml +0 -0
  52. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/image.yml +0 -0
  53. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/style.yml +0 -0
  54. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/tags-release.yml +0 -0
  55. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/test-ci.yml +0 -0
  56. {pulserver-0.4.5 → pulserver-0.4.7}/.github/workflows/wheels.yml +0 -0
  57. {pulserver-0.4.5 → pulserver-0.4.7}/.pre-commit-config.yaml +0 -0
  58. {pulserver-0.4.5 → pulserver-0.4.7}/AGENTS.md +0 -0
  59. {pulserver-0.4.5 → pulserver-0.4.7}/CMakeLists.txt +0 -0
  60. {pulserver-0.4.5 → pulserver-0.4.7}/CODE_OF_CONDUCT.md +0 -0
  61. {pulserver-0.4.5 → pulserver-0.4.7}/CONTRIBUTING.md +0 -0
  62. {pulserver-0.4.5 → pulserver-0.4.7}/LICENSE +0 -0
  63. {pulserver-0.4.5 → pulserver-0.4.7}/LICENSES/gadgetron-python-MIT.txt +0 -0
  64. {pulserver-0.4.5 → pulserver-0.4.7}/LICENSES/python-ismrmrd-server-MIT.txt +0 -0
  65. {pulserver-0.4.5 → pulserver-0.4.7}/NEXT.md +0 -0
  66. {pulserver-0.4.5 → pulserver-0.4.7}/README.md +0 -0
  67. {pulserver-0.4.5 → pulserver-0.4.7}/SECURITY.md +0 -0
  68. {pulserver-0.4.5 → pulserver-0.4.7}/SKILLS.md +0 -0
  69. {pulserver-0.4.5 → pulserver-0.4.7}/codecov.yml +0 -0
  70. {pulserver-0.4.5 → pulserver-0.4.7}/docker/Dockerfile +0 -0
  71. {pulserver-0.4.5 → pulserver-0.4.7}/docker/compose.yaml +0 -0
  72. {pulserver-0.4.5 → pulserver-0.4.7}/docker/entrypoint.sh +0 -0
  73. {pulserver-0.4.5 → pulserver-0.4.7}/docker/limits/limits.txt +0 -0
  74. {pulserver-0.4.5 → pulserver-0.4.7}/docker/smoke.py +0 -0
  75. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/architecture-dark.svg +0 -0
  76. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/architecture.svg +0 -0
  77. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/capabilities.js +0 -0
  78. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/context-dark.svg +0 -0
  79. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/context.svg +0 -0
  80. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulseg-dark.svg +0 -0
  81. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulseg.svg +0 -0
  82. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulserver-logo-dark.svg +0 -0
  83. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulserver-logo.svg +0 -0
  84. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulserver-mark-dark.svg +0 -0
  85. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulserver-mark.svg +0 -0
  86. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/pulserver.css +0 -0
  87. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/repetition-dark.svg +0 -0
  88. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/repetition.svg +0 -0
  89. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/safety-dark.svg +0 -0
  90. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/safety.svg +0 -0
  91. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/session-dark.svg +0 -0
  92. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/session.svg +0 -0
  93. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/virtual-dark.svg +0 -0
  94. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_static/virtual.svg +0 -0
  95. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_templates/autosummary/base.rst +0 -0
  96. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_templates/autosummary/class.rst +0 -0
  97. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_templates/autosummary/enum.rst +0 -0
  98. {pulserver-0.4.5 → pulserver-0.4.7}/docs/_templates/autosummary/function.rst +0 -0
  99. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/design.md +0 -0
  100. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/host.md +0 -0
  101. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/index.md +0 -0
  102. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/mrd.md +0 -0
  103. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/protocol.md +0 -0
  104. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/proxy.md +0 -0
  105. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/recon.md +0 -0
  106. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/validate.md +0 -0
  107. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api/virtual.md +0 -0
  108. {pulserver-0.4.5 → pulserver-0.4.7}/docs/api_objects.py +0 -0
  109. {pulserver-0.4.5 → pulserver-0.4.7}/docs/colab.py +0 -0
  110. {pulserver-0.4.5 → pulserver-0.4.7}/docs/conf.py +0 -0
  111. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/documentation.md +0 -0
  112. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/installation.md +0 -0
  113. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/calibration.md +0 -0
  114. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/index.md +0 -0
  115. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/protocol-wire.md +0 -0
  116. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/reconstruction-proxy.md +0 -0
  117. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/internals/sar-ratios.md +0 -0
  118. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/releases.md +0 -0
  119. {pulserver-0.4.5 → pulserver-0.4.7}/docs/developer-guide/terminology.md +0 -0
  120. {pulserver-0.4.5 → pulserver-0.4.7}/docs/examples/course.md +0 -0
  121. {pulserver-0.4.5 → pulserver-0.4.7}/docs/examples/index.md +0 -0
  122. {pulserver-0.4.5 → pulserver-0.4.7}/docs/examples/tours.md +0 -0
  123. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/architecture.md +0 -0
  124. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/index.md +0 -0
  125. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/protocol.md +0 -0
  126. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/raw-data.md +0 -0
  127. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/reconstruction-session.md +0 -0
  128. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/reconstruction.md +0 -0
  129. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/safety-checks.md +0 -0
  130. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/scanner-representation.md +0 -0
  131. {pulserver-0.4.5 → pulserver-0.4.7}/docs/explanations/virtual-scanner.md +0 -0
  132. {pulserver-0.4.5 → pulserver-0.4.7}/docs/figure_style.py +0 -0
  133. {pulserver-0.4.5 → pulserver-0.4.7}/docs/index.md +0 -0
  134. {pulserver-0.4.5 → pulserver-0.4.7}/docs/misc/contributors.md +0 -0
  135. {pulserver-0.4.5 → pulserver-0.4.7}/docs/misc/index.md +0 -0
  136. {pulserver-0.4.5 → pulserver-0.4.7}/docs/misc/license.md +0 -0
  137. {pulserver-0.4.5 → pulserver-0.4.7}/docs/misc/related.md +0 -0
  138. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/index.md +0 -0
  139. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/reconstruction-client.md +0 -0
  140. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/reconstruction-plugins.md +0 -0
  141. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/running.md +0 -0
  142. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/scanner-sequences.md +0 -0
  143. {pulserver-0.4.5 → pulserver-0.4.7}/docs/user-guide/virtual-scanner.md +0 -0
  144. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/01_protocol_to_image.py +0 -0
  145. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/02_sequence_plugin.py +0 -0
  146. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/03_scanner_representation.py +0 -0
  147. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/04_reconstruction_plugin.py +0 -0
  148. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/05_recon_plugin.py +0 -0
  149. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/06_testing_on_the_virtual_scanner.py +0 -0
  150. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/README.rst +0 -0
  151. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/01-course/_gallery_header.md +0 -0
  152. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/02-tours/01_protocol_resolution.py +0 -0
  153. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/02-tours/02_segmentation.py +0 -0
  154. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/02-tours/03_fov_offset_enrichment.py +0 -0
  155. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/02-tours/README.rst +0 -0
  156. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/02-tours/_gallery_header.md +0 -0
  157. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/README.rst +0 -0
  158. {pulserver-0.4.5 → pulserver-0.4.7}/gallery/_gallery_header.md +0 -0
  159. {pulserver-0.4.5 → pulserver-0.4.7}/scripts/build_docs.sh +0 -0
  160. {pulserver-0.4.5 → pulserver-0.4.7}/scripts/check_throughput.py +0 -0
  161. {pulserver-0.4.5 → pulserver-0.4.7}/scripts/format_and_lint.sh +0 -0
  162. {pulserver-0.4.5 → pulserver-0.4.7}/scripts/make_artwork.py +0 -0
  163. {pulserver-0.4.5 → pulserver-0.4.7}/scripts/publish_docs.py +0 -0
  164. {pulserver-0.4.5 → pulserver-0.4.7}/setup.py +0 -0
  165. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/CMakeLists.txt +0 -0
  166. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/core/pulseg_core.c +0 -0
  167. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/core/pulseg_error.c +0 -0
  168. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/core/pulseg_math.c +0 -0
  169. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg.h +0 -0
  170. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_cache.h +0 -0
  171. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_collection.h +0 -0
  172. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_config.h +0 -0
  173. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_errors.h +0 -0
  174. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_io.h +0 -0
  175. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseg/pulseg_protocol.h +0 -0
  176. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseq/pulseq.h +0 -0
  177. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/include/pulseq/pulseq_config.h +0 -0
  178. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/io/pulseg_opts.c +0 -0
  179. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/io/pulseg_protocol.c +0 -0
  180. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/pulseq/pulseq_internal.h +0 -0
  181. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/pulseq/pulseq_shape.c +0 -0
  182. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/structure/pulseg_descriptor.c +0 -0
  183. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/structure/pulseg_repetition.c +0 -0
  184. {pulserver-0.4.5 → pulserver-0.4.7}/src/c/structure/pulseg_waves.c +0 -0
  185. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/fourier/bindings.cpp +0 -0
  186. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/fourier/bindings.hpp +0 -0
  187. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/fourier/parallel.hpp +0 -0
  188. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/fourier/timeline.cpp +0 -0
  189. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/fourier/timeline.hpp +0 -0
  190. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/from_libraries.hpp +0 -0
  191. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/gradient_stretch.cpp +0 -0
  192. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/pulseg_convert.h +0 -0
  193. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/pulseq_file.cpp +0 -0
  194. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/pulseq_file.h +0 -0
  195. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/structure.cpp +0 -0
  196. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/wave_plan.cpp +0 -0
  197. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/ir/waves.cpp +0 -0
  198. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/native.hpp +0 -0
  199. {pulserver-0.4.5 → pulserver-0.4.7}/src/cpp/playout.hpp +0 -0
  200. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/__init__.py +0 -0
  201. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_accelerators.py +0 -0
  202. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_cli.py +0 -0
  203. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_labels.py +0 -0
  204. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_logs.py +0 -0
  205. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_memory.py +0 -0
  206. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_plugins.py +0 -0
  207. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/__init__.py +0 -0
  208. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_evaluation.py +0 -0
  209. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_inversion.py +0 -0
  210. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_pmc.py +0 -0
  211. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_saturation.py +0 -0
  212. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_slab.py +0 -0
  213. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/_user.py +0 -0
  214. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/epi.py +0 -0
  215. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/nufft.py +0 -0
  216. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/nufft_train.py +0 -0
  217. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/pics.py +0 -0
  218. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/pics_train.py +0 -0
  219. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/recon/pmc.py +0 -0
  220. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/bssfp3d.py +0 -0
  221. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/epi2d.py +0 -0
  222. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/epi3d.py +0 -0
  223. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/fse3d.py +0 -0
  224. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre2d.py +0 -0
  225. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre3d.py +0 -0
  226. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_multiecho2d.py +0 -0
  227. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_multiecho3d.py +0 -0
  228. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_propeller2d.py +0 -0
  229. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_radial2d.py +0 -0
  230. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_spiral2d.py +0 -0
  231. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_stack_of_blades3d.py +0 -0
  232. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_stack_of_spirals3d.py +0 -0
  233. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/gre_stack_of_stars3d.py +0 -0
  234. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/mprage3d.py +0 -0
  235. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/mprage_stack_of_spirals3d.py +0 -0
  236. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/mprage_stack_of_stars3d.py +0 -0
  237. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se2d.py +0 -0
  238. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se3d.py +0 -0
  239. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_epi_propeller2d.py +0 -0
  240. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_propeller2d.py +0 -0
  241. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_radial2d.py +0 -0
  242. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_spiral2d.py +0 -0
  243. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_stack_of_blades3d.py +0 -0
  244. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_stack_of_spirals3d.py +0 -0
  245. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/se_stack_of_stars3d.py +0 -0
  246. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/_zoo/sequences/zte3d.py +0 -0
  247. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/design/__init__.py +0 -0
  248. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/design/_entries.py +0 -0
  249. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/design/_options.py +0 -0
  250. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/design/_plugin.py +0 -0
  251. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/design/_rf.py +0 -0
  252. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/__init__.py +0 -0
  253. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/__main__.py +0 -0
  254. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_blocks.py +0 -0
  255. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_command.py +0 -0
  256. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_limits.py +0 -0
  257. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_push.py +0 -0
  258. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_server.py +0 -0
  259. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/host/_store.py +0 -0
  260. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_checks.py +0 -0
  261. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_convert.py +0 -0
  262. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_vendor.py +0 -0
  263. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/ir/_waves.py +0 -0
  264. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/__init__.py +0 -0
  265. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/_acquisitions.py +0 -0
  266. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/_header.py +0 -0
  267. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/_images.py +0 -0
  268. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/_metadata.py +0 -0
  269. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/mrd/_sequence.py +0 -0
  270. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/protocol/__init__.py +0 -0
  271. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/protocol/_keys.py +0 -0
  272. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/protocol/_prescription.py +0 -0
  273. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/protocol/_schema.py +0 -0
  274. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/protocol/_wire.py +0 -0
  275. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/__init__.py +0 -0
  276. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/__main__.py +0 -0
  277. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_designs.py +0 -0
  278. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_enrich.py +0 -0
  279. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_held.py +0 -0
  280. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_intake.py +0 -0
  281. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_local.py +0 -0
  282. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_motion.py +0 -0
  283. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_proxy.py +0 -0
  284. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_queue.py +0 -0
  285. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_receiver.py +0 -0
  286. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_seqdesc.py +0 -0
  287. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/proxy/_workers.py +0 -0
  288. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/__init__.py +0 -0
  289. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/__main__.py +0 -0
  290. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_buffers.py +0 -0
  291. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_calibration.py +0 -0
  292. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_correct.py +0 -0
  293. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_exam_image.py +0 -0
  294. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_figure.py +0 -0
  295. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_loader.py +0 -0
  296. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_replay.py +0 -0
  297. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/__init__.py +0 -0
  298. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/application.py +0 -0
  299. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/concurrency.py +0 -0
  300. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/connection.py +0 -0
  301. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/constants.py +0 -0
  302. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/exam.py +0 -0
  303. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/mrd2dicom.py +0 -0
  304. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/offline.py +0 -0
  305. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/readers.py +0 -0
  306. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_runtime/writers.py +0 -0
  307. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/_units.py +0 -0
  308. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/gadgets.py +0 -0
  309. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/__init__.py +0 -0
  310. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/epi.py +0 -0
  311. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/nufft.py +0 -0
  312. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/nufft_train.py +0 -0
  313. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/pics.py +0 -0
  314. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/pics_train.py +0 -0
  315. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/handlers/pmc.py +0 -0
  316. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/recon/plugin.py +0 -0
  317. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/validate/__init__.py +0 -0
  318. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/validate/_command.py +0 -0
  319. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/validate/_compare.py +0 -0
  320. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/validate/_validate.py +0 -0
  321. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/validate/_xml.py +0 -0
  322. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/__init__.py +0 -0
  323. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_brainweb.py +0 -0
  324. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_client.py +0 -0
  325. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_coils.py +0 -0
  326. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_command.py +0 -0
  327. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_console.py +0 -0
  328. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_export.py +0 -0
  329. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_fourier.py +0 -0
  330. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_girf.py +0 -0
  331. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_localizer.py +0 -0
  332. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_motion.py +0 -0
  333. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_phantom.py +0 -0
  334. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_stream.py +0 -0
  335. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_timeline.py +0 -0
  336. {pulserver-0.4.5 → pulserver-0.4.7}/src/pulserver/virtual/_tissue.py +0 -0
  337. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_analytic.py +0 -0
  338. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_host.py +0 -0
  339. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_seqtext.py +0 -0
  340. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_synthetic.py +0 -0
  341. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_virtual.py +0 -0
  342. {pulserver-0.4.5 → pulserver-0.4.7}/tests/_zoo.py +0 -0
  343. {pulserver-0.4.5 → pulserver-0.4.7}/tests/conftest.py +0 -0
  344. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/bssfp.npy +0 -0
  345. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/epi_2d_main.npy +0 -0
  346. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/gre_2d_3sl.npy +0 -0
  347. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_dess_hard_0hz.npy +0 -0
  348. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_dess_hard_30hz.npy +0 -0
  349. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_echo_hard_0hz.npy +0 -0
  350. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_echo_hard_30hz.npy +0 -0
  351. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_echo_selective_0hz.npy +0 -0
  352. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/bloch/steady_fid_hard_0hz.npy +0 -0
  353. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/dedup_gre_pair.seq +0 -0
  354. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/dedup_gre_pair_b.seq +0 -0
  355. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/epi_2d_main.seq +0 -0
  356. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/gre_2d_3sl.seq +0 -0
  357. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/mprage_stack_of_spirals_3d.seq +0 -0
  358. {pulserver-0.4.5 → pulserver-0.4.7}/tests/fixtures/sequences/zte_3d.seq +0 -0
  359. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/check_initializers.c +0 -0
  360. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/print_wave_samples.c +0 -0
  361. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/read_cache_summary.c +0 -0
  362. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/read_rf_definitions.c +0 -0
  363. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/read_rf_timing.c +0 -0
  364. {pulserver-0.4.5 → pulserver-0.4.7}/tests/native/replay_an_instance.c +0 -0
  365. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/crash.py +0 -0
  366. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/gre2d.py +0 -0
  367. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/gre2d_raw.py +0 -0
  368. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/rf_train.py +0 -0
  369. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/stall.py +0 -0
  370. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/strong.py +0 -0
  371. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/tiny.py +0 -0
  372. {pulserver-0.4.5 → pulserver-0.4.7}/tests/plugins/typed.py +0 -0
  373. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_app.py +0 -0
  374. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_buffers.py +0 -0
  375. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_calibration.py +0 -0
  376. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_coil_compression.py +0 -0
  377. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_connection.py +0 -0
  378. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_correct.py +0 -0
  379. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_epi.py +0 -0
  380. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_exam_image.py +0 -0
  381. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_flags.py +0 -0
  382. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_gadgets.py +0 -0
  383. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_handlers.py +0 -0
  384. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_images.py +0 -0
  385. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_loader.py +0 -0
  386. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_mrd2dicom.py +0 -0
  387. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_nufft.py +0 -0
  388. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_pics.py +0 -0
  389. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_pmc.py +0 -0
  390. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_prewhiten.py +0 -0
  391. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_readers_writers.py +0 -0
  392. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_slots.py +0 -0
  393. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon/test_units.py +0 -0
  394. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/children.py +0 -0
  395. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/crash.py +0 -0
  396. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/device.py +0 -0
  397. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/exam.py +0 -0
  398. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/gre2d.py +0 -0
  399. {pulserver-0.4.5 → pulserver-0.4.7}/tests/recon_plugins/pose.py +0 -0
  400. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_console.py +0 -0
  401. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_console_sequences.py +0 -0
  402. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_design_push.py +0 -0
  403. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_design_server.py +0 -0
  404. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_design_service.py +0 -0
  405. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_docs.py +0 -0
  406. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_docstring_defaults.py +0 -0
  407. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_docstrings.py +0 -0
  408. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_enrich.py +0 -0
  409. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_exam_artifacts.py +0 -0
  410. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_exam_calibration.py +0 -0
  411. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_exam_sharing.py +0 -0
  412. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_host_slots.py +0 -0
  413. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_image.py +0 -0
  414. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir.py +0 -0
  415. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_checks.py +0 -0
  416. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_designed.py +0 -0
  417. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_extensions.py +0 -0
  418. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_gradient_stretch.py +0 -0
  419. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_grouping.py +0 -0
  420. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_labels.py +0 -0
  421. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_playout.py +0 -0
  422. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_prescan.py +0 -0
  423. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_profile.py +0 -0
  424. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_repetition.py +0 -0
  425. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_rf.py +0 -0
  426. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_rf_freq.py +0 -0
  427. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_segments.py +0 -0
  428. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_source.py +0 -0
  429. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_steady_excitation.py +0 -0
  430. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_timing.py +0 -0
  431. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_vendor.py +0 -0
  432. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_ir_waves.py +0 -0
  433. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_keys.py +0 -0
  434. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_limits.py +0 -0
  435. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_logs.py +0 -0
  436. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_memory.py +0 -0
  437. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_motion.py +0 -0
  438. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_mrd_images.py +0 -0
  439. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_mrd_sequence.py +0 -0
  440. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_plugin_options.py +0 -0
  441. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_plugins.py +0 -0
  442. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_protocol.py +0 -0
  443. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_proxy.py +0 -0
  444. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_publish_docs.py +0 -0
  445. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_resolution.py +0 -0
  446. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_rf_layout.py +0 -0
  447. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_scan_command.py +0 -0
  448. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_seqdesc.py +0 -0
  449. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_sequence_plugin.py +0 -0
  450. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_smoke.py +0 -0
  451. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_validate.py +0 -0
  452. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual.py +0 -0
  453. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_brainweb.py +0 -0
  454. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_clock.py +0 -0
  455. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_coils.py +0 -0
  456. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_export.py +0 -0
  457. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_fourier.py +0 -0
  458. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_localizer.py +0 -0
  459. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_virtual_sequences.py +0 -0
  460. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_wire.py +0 -0
  461. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_zoo_defaults.py +0 -0
  462. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_zoo_evaluation.py +0 -0
  463. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_zoo_fov_offset.py +0 -0
  464. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_zoo_mrd_labels.py +0 -0
  465. {pulserver-0.4.5 → pulserver-0.4.7}/tests/test_zoo_wave.py +0 -0
@@ -34,5 +34,3 @@ docs/generated/
34
34
  # Written into the source directory as the pages are built.
35
35
  docs/api_objects.rst
36
36
  docs/sg_execution_times.rst
37
- # Resolved by `Pkg.instantiate()`, for the Julia version that ran it.
38
- tests/koma/Manifest.toml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pulserver
3
- Version: 0.4.5
3
+ Version: 0.4.7
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.51
24
+ Requires-Dist: pypulseqpp>=0.0.53
25
25
  Requires-Dist: numpy>=2.2.6
26
26
  Requires-Dist: ismrmrd>=1.15.0
27
27
  Requires-Dist: pydicom>=3.0.2
@@ -40,8 +40,10 @@ the cache layout in {doc}`../developer-guide/internals/ir-cache`.
40
40
  | {obj}`~pulserver.ir.Format` | Whether a quantity is stored as a float in its SI unit or as an integer. |
41
41
  | {obj}`~pulserver.ir.sample_wave` | A cache's wave on a playout's gradient raster, as loaded into a region of its waveform memory. |
42
42
  | {obj}`~pulserver.ir.playout` | Both stages of a segmented playout of a cache, the scan or its receive-gain prescan, recorded: what each position prepares, the registers of each block, what each wave reads from waveform memory and, on request, the waveforms each block plays. |
43
- | {obj}`~pulserver.ir.Prescan` | The receive-gain calibration a playout plays instead of the scan: one subsequence, to the instance completing its readouts, opened by the pTx tour on request. |
44
- | {obj}`~pulserver.ir.prescan_tour` | The pTx prescan tour of a cache: the segment instance holding each channel's largest drive of every parallel-transmit RF definition. |
43
+ | {obj}`~pulserver.ir.Prescan` | The receive-gain calibration a playout plays instead of the scan: one subsequence, to the instance completing its readouts, after a prescan-only subsequence other than it. |
44
+ | {obj}`~pulserver.ir.channel_drives` | The largest drive each transmit channel receives in the scan, or in a prescan: what tells whether a prescan has driven every channel as hard as the scan. |
45
+ | {obj}`~pulserver.ir.receive_calibration` | The subsequence a prescan calibrates the receive gain on: the generated, prescan-only one where the cache holds it, else the only one that reads out. |
46
+ | {obj}`~pulserver.ir.receive_calibration_sequence` | The receive-gain calibration generated from a chain whose start does not stand for the rest: the excitation that bounds its signal, played twice from relaxed magnetization. |
45
47
  | {obj}`~pulserver.ir.gradient_stretch` | The gradients of a subsequence's hyper-repetition-long stretch of most gradient energy, or of the one from its heaviest repetition, as corner points and on a raster: what a scanner's heating model is evaluated on. |
46
48
  | {obj}`~pulserver.ir.chain` | Files of the `NextSequence` chain starting at a sequence file, in play order. |
47
49
  | {obj}`~pulserver.ir.cache_path` | Cache file of a sequence file. |
@@ -7,7 +7,7 @@ conventions, and the implementation design behind the explanations.
7
7
  | --- | --- |
8
8
  | {doc}`installation` | Prerequisites, the editable installation, pre-commit hooks and the documentation build |
9
9
  | {doc}`workflow` | Forks, branches, pull requests, continuous integration and the code of conduct |
10
- | {doc}`style` | Ruff, tests, C89 and code conventions; KomaMRI simulation |
10
+ | {doc}`style` | Ruff, tests, C89 and code conventions |
11
11
  | {doc}`documentation` | Documentation types and scientific writing |
12
12
  | {doc}`terminology` | Scanner, protocol, Pulseq and MRD terminology, units and layers |
13
13
  | {doc}`internals/index` | IR cache, protocol text blocks, reconstruction proxy, calibration, SAR ratios, virtual scanner |
@@ -216,19 +216,40 @@ repetition, as the gradient flags are, and reported on the block instance
216
216
  cache, the field-of-view offset included, so the mean is the centre of the
217
217
  positioned stack.
218
218
 
219
- A parallel-transmit sequence can open its prescan with the pTx tour
220
- (`pulseg_get_prescan_tour`): for every channel of every parallel-transmit RF
221
- definition of every subsequence, the segment instance holding the largest
222
- drive that channel receives, the RF amplitude times the channel's shim
223
- magnitude, or the amplitude alone for a pulse with a waveform per channel.
224
- Each instance is visited once, under the prescan's rules, whether or not it
225
- reads out; the tour either acquires its readouts, counted on top of the
226
- calibration's, or plays them unacquired. A playout reaches each visit by
227
- seeking the cursor to its first block (`pulseg_cursor_seek`). A visit plays
228
- part of one occurrence of its subsequence's repetition, each pulse at its
229
- largest, so resting after it until it has lasted the time per occurrence the
230
- scan's RF is costed at keeps its average power within the scan's; the rest is
231
- the interpreter's, from the visit's duration.
219
+ A scanner sets one receive gain for the whole scan from what its prescan
220
+ acquires, and on a parallel-transmit system a channel must be driven as hard
221
+ as the scan drives it before the scan. Both come from one subsequence the host
222
+ generates (`ir.receive_calibration_sequence`) and appends to the chain after
223
+ the user's files, which keep their indices. The cache marks it `prescan_only`
224
+ (`pulseg_subseq_info.prescan_only`): a playout plays it in the prescan and
225
+ never in the scan.
226
+
227
+ In a parallel-transmit chain it opens with a tour: for every transmit channel,
228
+ the RF block that drives it hardest anywhere in the chain (the RF amplitude
229
+ times the channel's waveform peak and shim magnitude; a single waveform with no
230
+ shim drives every channel), with its blocks up to the next RF pulse, its
231
+ readouts under `NOPRESCAN`, then a rest until it has lasted the shortest
232
+ interval at which its file plays that pulse. Where exactly one file reads out
233
+ and it repeats with the same RF amplitudes, the prescan then calibrates on that
234
+ file from its start, the scan's own steady state, and the subsequence is the
235
+ tour alone, or is not generated without parallel transmit. Otherwise no
236
+ repetition stands for the scan, and the tour is followed by the calibration:
237
+ the excitation scoring highest on the sine of its flip angle, capped at 90
238
+ degrees, times the thickness it excites (the RF bandwidth over the slice-select
239
+ gradient, a head coil's 0.3 m without one), with its blocks up to the next
240
+ excitation, every gradient that varies across the file's repetitions at zero,
241
+ played twice, each after a 3 s rest. From relaxed magnetization a readout
242
+ carries at least the signal of any readout of the scan its excitation
243
+ outscores, since a steady state, spoiled or balanced, never exceeds the
244
+ equilibrium magnetization times the sine of its flip.
245
+
246
+ Every block of the subsequence is one the scan plays, at the scan's amplitude,
247
+ so it drives no channel harder than the scan, and it is checked and costed like
248
+ any subsequence. `pulseg_get_receive_calibration` names the subsequence a
249
+ prescan calibrates on and the prescan-only one it plays first, if any;
250
+ `pulseg_get_channel_drives` reports the largest drive each transmit channel
251
+ receives in the scan or in a prescan, so a playout can check that its prescan
252
+ drives every channel as hard as the scan and none harder.
232
253
 
233
254
  Waveform memory holds samples of the type and scale a scanner build defines
234
255
  before it includes the library: `PULSEG_WAVE_SAMPLE`, the type;
@@ -377,9 +377,9 @@ the images whatever its samples.
377
377
 
378
378
  ## External simulators
379
379
 
380
- A Bloch simulator that reads Pulseq files, KomaMRI for example, integrates the
381
- Bloch equation through every RF pulse, which the Fourier engine reduces to a
382
- rotation at its centre. A simulation of the design would test
380
+ A Bloch simulator that reads Pulseq files integrates the Bloch equation
381
+ through every RF pulse, which the Fourier engine reduces to a rotation at its
382
+ centre. A simulation of the design would test
383
383
  the design alone; {func}`~pulserver.virtual.export` writes the blocks the
384
384
  cache plays instead, so that a simulation of the file tests the IR as the
385
385
  virtual interpreter does. Each played block becomes one block of a Pulseq
@@ -391,10 +391,8 @@ virtual interpreter does. Each played block becomes one block of a Pulseq
391
391
  are summed, as at unit, in-phase sensitivity. A simulator reads the pulse as
392
392
  it reads the design's, and applies the offsets as it applies a design's. In
393
393
  Pulseq, a frequency offset and the same phase ramp written into the samples
394
- play one pulse; KomaMRI simulates the offset in the pulse's rotating frame
395
- but takes the samples' phase in the opposite sense of rotation, so from the
396
- ramp it would excite the mirror image of an offset slice. It refers the
397
- offset's phase to the pulse's centre, which the file therefore records.
394
+ play one pulse; the file keeps the offset apart, its phase referred to the
395
+ pulse's centre, which the file therefore records.
398
396
  - The gradients along the physical axes: those the cache plays, the block's
399
397
  rotation in them, turned by $R$ except in blocks labelled `NOROT`, as the
400
398
  virtual interpreter turns them. A time-shaped gradient through the corners of all three axes
@@ -404,8 +402,7 @@ virtual interpreter does. Each played block becomes one block of a Pulseq
404
402
  - The ADC window without its offsets. The receiver phase $\theta$ of every
405
403
  sample is returned instead, and the simulated samples are demodulated by it
406
404
  as the playout demodulates. The offsets act on the samples alone, so no
407
- simulator has to apply them; KomaMRI applies an ADC's phase offset but
408
- neither its frequency offset nor a phase modulation.
405
+ simulator has to apply them.
409
406
 
410
407
  The file holds the standard sections alone. The text format writes a
411
408
  gradient's amplitude to six significant figures, and a turned gradient's
@@ -413,16 +410,6 @@ amplitude is written as the rotation leaves it, so the k-space of a file
413
410
  exported under an oblique prescription agrees with the played trajectory to a
414
411
  relative $10^{-5}$ of its extent.
415
412
 
416
- A job run every night and on demand simulates every fixture and every sequence
417
- pypulseqpp ships with KomaMRI, over one phantom whose density, relaxation times
418
- and off-resonance vary across it: as designed, and as exported from its cache.
419
- KomaMRI drops the ppm term of an offset, so a design file carrying one is given
420
- to it as Pulseq 1.4.1, whose writer resolves the term; and its rotation of a
421
- block can drop a corner a gradient holds twice, such as the peak of a trapezoid
422
- without a flat top, so the job turns a design's gradients itself. The two
423
- simulations then differ only where the cache plays something other than the
424
- design, or by the rounding of the text format.
425
-
426
413
  ## Test coverage
427
414
 
428
415
  - The trajectory the cache plays is the one each file designs, for the
@@ -486,9 +473,6 @@ design, or by the rounding of the text format.
486
473
  integrated by pypulseqpp, has the trajectory the cache plays, under an
487
474
  axial, an oblique and a reflected prescription, and holds each RF pulse with
488
475
  the samples, offsets, centre and use of the design's.
489
- - In the scheduled KomaMRI job, the signal simulated from the exported file of
490
- every fixture and every shipped sequence is the one simulated from its
491
- design, to the rounding of the text format.
492
476
 
493
477
  (vs-coils-from-field-maps)=
494
478
  ## Coils from field maps
@@ -0,0 +1,24 @@
1
+ # Coding style
2
+
3
+ ## Formatting and tests
4
+
5
+ Ruff formats and lints the Python sources; its configuration and pinned
6
+ version are in `pyproject.toml`. Before you report a change complete, run:
7
+
8
+ ```bash
9
+ bash scripts/format_and_lint.sh
10
+ pytest -q
11
+ ```
12
+
13
+ Tests are pytest functions and fixtures, never `unittest.TestCase`, and a test
14
+ name states the invariant it protects. Numerical code that can run on CPU and
15
+ CUDA is parametrised over both with the `device` fixture, whose CUDA leg skips
16
+ without a device.
17
+
18
+ ## Code conventions
19
+
20
+ `src/c/` is linked into the scanner interpreter and is ANSI C (C89). It calls
21
+ nothing in `src/cpp/`, whose passes run only on the host. Docstrings are NumPy
22
+ style, and comments and docstrings describe the code as it is, not its
23
+ history. `AGENTS.md` states these rules in full.
24
+
@@ -29,7 +29,6 @@ behaviour comes with a regression test where practical.
29
29
  | Console | pull requests that change `docker/`, the console or the proxy | one exam scanned through the virtual scanner's console, the proxy and Gadgetron in Docker Compose |
30
30
  | Image | pull requests that change `docker/`, `src/` or the build, `main` | the Docker image, scanned through its own console; published from `main` |
31
31
  | Fields | on demand | the virtual coils' field maps and VOPs, solved with mariepy and published as an image |
32
- | KomaMRI | nightly, on demand | the KomaMRI simulation ({doc}`style`) |
33
32
  | CodeQL | every pull request, `main` | static analysis |
34
33
  | Release | release tags | wheels, PyPI and the GitHub release ({doc}`releases`) |
35
34
 
@@ -24,7 +24,7 @@ classifiers = [
24
24
  ]
25
25
 
26
26
  dependencies = [
27
- "pypulseqpp>=0.0.51",
27
+ "pypulseqpp>=0.0.53",
28
28
  "numpy>=2.2.6",
29
29
  "ismrmrd>=1.15.0",
30
30
  "pydicom>=3.0.2",
@@ -33,7 +33,7 @@
33
33
  /* The full (major, minor, revision) triple must match exactly on read: a
34
34
  * cache at any other revision is rejected outright and the .seq is
35
35
  * re-parsed, never partially or heuristically read. */
36
- #define PULSEG_CACHE_VERSION_REVISION 6
36
+ #define PULSEG_CACHE_VERSION_REVISION 7
37
37
 
38
38
  /* Per-consumer sections. Each carries its own distinct payload.
39
39
  * COMMON establishes the collection + descriptor framing; the others
@@ -390,6 +390,8 @@ static int write_common(FILE *f, const pulseg_sequence_descriptor *d)
390
390
  return 0;
391
391
  if (!pulseg__write4(f, &d->spl_average_dba, 1))
392
392
  return 0;
393
+ if (!pulseg__write4(f, &d->prescan_only, 1))
394
+ return 0;
393
395
  if (!pulseg__write4(f, d->fov, 3))
394
396
  return 0;
395
397
  if (!pulseg__write4(f, d->matrix, 3))
@@ -930,12 +932,15 @@ static int read_common(FILE *f, pulseg_sequence_descriptor *d, int do_swap)
930
932
  return 0;
931
933
  if (!pulseg__read4(f, &d->spl_average_dba, 1))
932
934
  return 0;
935
+ if (!pulseg__read4(f, &d->prescan_only, 1))
936
+ return 0;
933
937
  if (do_swap)
934
938
  {
935
939
  pulseg__swap4(&d->vop_sar_ratio);
936
940
  pulseg__swap4(&d->vop_global_sar_ratio);
937
941
  pulseg__swap4(&d->spl_peak_db);
938
942
  pulseg__swap4(&d->spl_average_dba);
943
+ pulseg__swap4(&d->prescan_only);
939
944
  }
940
945
  if (!pulseg__read4(f, d->fov, 3))
941
946
  return 0;
@@ -54,8 +54,6 @@ extern "C"
54
54
  int slot; /**< the slot of its positions' rings it plays,
55
55
  @c instance modulo the plan's slots; -1
56
56
  unless the waves are streamed */
57
- int visit; /**< the prescan tour's visit it plays, -1
58
- outside the tour */
59
57
  } pulseg_playout_segment;
60
58
 
61
59
  /**
@@ -176,75 +174,71 @@ extern "C"
176
174
  */
177
175
  typedef struct pulseg_playout_options
178
176
  {
179
- int prescan_subsequence; /**< -1 plays the scan; otherwise the
177
+ int prescan_subsequence; /**< -1 plays the scan, which plays no
178
+ prescan-only subsequence; otherwise the
180
179
  receive-gain calibration prescan on
181
180
  this subsequence */
182
181
  int prescan_readouts; /**< readouts after which the prescan ends,
183
182
  with the instance that completes them;
184
183
  0 takes the subsequence's
185
184
  num_gain_cal_readouts, at least 1 */
186
- int tour; /**< PULSEG_TOUR_*: whether the prescan
187
- plays the pTx tour first, and whether
188
- it acquires the tour's readouts */
189
185
  } pulseg_playout_options;
190
186
 
191
- /** The prescan plays no tour. */
192
- #define PULSEG_TOUR_NONE 0
193
- /** The prescan plays the tour first and acquires none of its readouts. */
194
- #define PULSEG_TOUR_PLAYED 1
195
- /** The prescan plays the tour first, acquires its readouts and counts them
196
- * on top of the calibration's. */
197
- #define PULSEG_TOUR_ACQUIRED 2
198
-
199
187
  /* clang-format off */
200
- #define PULSEG_PLAYOUT_OPTIONS_INIT {-1, 0, PULSEG_TOUR_NONE}
188
+ #define PULSEG_PLAYOUT_OPTIONS_INIT {-1, 0}
201
189
  /* clang-format on */
202
190
 
203
191
  /**
204
- * @brief One segment instance of the pTx prescan tour.
192
+ * @brief The receive-gain calibration a prescan plays.
205
193
  *
206
- * The instance of its subsequence that holds the largest drive one
207
- * channel of a parallel-transmit RF definition receives: the RF
208
- * amplitude times the channel's shim magnitude, or the amplitude alone
209
- * for a pulse with a waveform per channel, whose channels all peak at
210
- * the instance of largest amplitude.
194
+ * The subsequence the host generated for it, which only a prescan plays
195
+ * (pulseg_subseq_info.prescan_only), where the cache holds one that
196
+ * reads out. Otherwise, where exactly one subsequence reads out, that
197
+ * subsequence from its start, after the generated subsequence where the
198
+ * cache holds one that does not read out: a pTx tour, every channel
199
+ * driven at the scan's largest before the calibration.
211
200
  */
212
- typedef struct pulseg_prescan_visit
201
+ typedef struct pulseg_receive_calibration
213
202
  {
214
- int subsequence; /**< subsequence it plays in */
215
- int segment; /**< global segment index */
216
- int first_position; /**< execution-stream position of its first
217
- block */
218
- int num_blocks; /**< its blocks */
219
- int rf_definition; /**< the subsequence's RF definition whose
220
- largest drive it plays */
221
- int channels; /**< channels whose largest drive it plays */
222
- float drive_hz; /**< the largest of those drives, in Hz */
223
- long duration_us; /**< its duration */
224
- int rf_pulses; /**< RF blocks it plays */
225
- int readouts; /**< readouts it acquires outside prescan that
226
- NOPRESCAN does not exempt */
227
- } pulseg_prescan_visit;
203
+ int generated; /**< 1 for the generated, prescan-only subsequence */
204
+ int lead; /**< the prescan-only subsequence played before
205
+ @c subsequence, -1 for none */
206
+ int subsequence; /**< subsequence a prescan calibrates on, -1 where
207
+ neither holds */
208
+ int readouts; /**< readouts it calibrates on */
209
+ } pulseg_receive_calibration;
228
210
 
229
211
  /**
230
- * @brief The pTx prescan tour: one segment instance per largest channel
231
- * drive of every parallel-transmit RF definition.
212
+ * @brief Find the receive-gain calibration of a collection.
232
213
  *
233
- * An RF definition is parallel-transmit where it plays a waveform per
234
- * channel, or plays under an RF shim of more than one channel. Visits
235
- * are listed by subsequence, then by first position; one instance that
236
- * holds the largest drive of several channels, or of several
237
- * definitions, is listed once, for the first definition, with the
238
- * channels of all of them counted. A sequence with no
239
- * parallel-transmit RF has no tour.
214
+ * @return PULSEG_SUCCESS, or a negative error code.
215
+ */
216
+ int pulseg_get_receive_calibration(const pulseg_collection *coll, pulseg_receive_calibration *out);
217
+
218
+ /**
219
+ * @brief The largest drive each transmit channel receives in the scan, or
220
+ * in a prescan.
240
221
  *
241
- * Needs the execution stream and the instance tables, as the scan does.
222
+ * A drive is the RF amplitude times the channel's waveform peak, times
223
+ * the channel's shim magnitude under a shim; in a parallel-transmit
224
+ * collection a single waveform with no shim drives every channel. With
225
+ * @p options NULL or naming no prescan subsequence, over every block of
226
+ * the scan, prescan-only subsequences left out; otherwise over what that
227
+ * prescan plays: a prescan-only subsequence it plays first, then the
228
+ * calibration from the subsequence's start to the instance completing
229
+ * its readouts. Comparing the two says
230
+ * whether a prescan drives every channel as hard as the scan does.
242
231
  *
243
- * @param[out] out_visits Set to an array the caller releases with
244
- * PULSEG_FREE(), or NULL for no visit.
245
- * @return The number of visits (>= 0), or a negative error code.
232
+ * @param[out] drive_hz Per channel, in Hz; @p max_channels entries are
233
+ * written, 0 beyond the collection's channels.
234
+ * @return The collection's transmit channels (1 without
235
+ * parallel-transmit RF), or a negative error code.
246
236
  */
247
- int pulseg_get_prescan_tour(const pulseg_collection *coll, pulseg_prescan_visit **out_visits);
237
+ int pulseg_get_channel_drives(
238
+ const pulseg_collection *coll,
239
+ const pulseg_playout_options *options,
240
+ float *drive_hz,
241
+ int max_channels);
248
242
 
249
243
  /**
250
244
  * @brief The first stage: prepare every segment and load resident waves.
@@ -273,10 +267,10 @@ extern "C"
273
267
  * while the instances before it play.
274
268
  *
275
269
  * The prescan plays one subsequence from its start and ends with the
276
- * instance that completes its readouts. With a tour it plays every
277
- * visit of pulseg_get_prescan_tour() first, each once, under the same
278
- * rules; PULSEG_TOUR_ACQUIRED adds the visits' readouts to those it ends
279
- * after, PULSEG_TOUR_PLAYED neither acquires nor counts them. It waits
270
+ * instance that completes its readouts, after the whole of a
271
+ * prescan-only subsequence other than it, once, under the same rules,
272
+ * whose readouts are NOPRESCAN. The scan plays no prescan-only
273
+ * subsequence. It waits
280
274
  * for no trigger, drives
281
275
  * no digital output, plays at zero every gradient whose amplitude varies
282
276
  * across repetitions, and a wave any of whose logical axes varies, and
@@ -654,7 +654,7 @@ typedef struct pulseg_cursor_info
654
654
  */
655
655
  typedef struct pulseg_scan_time_info
656
656
  {
657
- float total_duration_us; /**< total sequence duration (us) */
657
+ float total_duration_us; /**< scan duration (us), prescan-only subsequences left out */
658
658
  int total_segment_boundaries; /**< total segment boundary count */
659
659
  } pulseg_scan_time_info;
660
660
 
@@ -695,8 +695,8 @@ typedef struct pulseg_collection_info
695
695
  int num_subsequences; /**< number of subsequences */
696
696
  int num_segments; /**< total unique segments */
697
697
  int max_adc_samples; /**< max sample count across all ADCs */
698
- int total_readouts; /**< total ADC readout events */
699
- float total_duration_us; /**< total sequence duration (us) */
698
+ int total_readouts; /**< ADC readout events of the scan, prescan-only subsequences left out */
699
+ float total_duration_us; /**< scan duration (us), prescan-only subsequences left out */
700
700
  } pulseg_collection_info;
701
701
 
702
702
  /* clang-format off */
@@ -760,12 +760,15 @@ typedef struct pulseg_subseq_info
760
760
  /** The raster the file's gradient shapes are sampled on, in us: its
761
761
  * GradientRasterTime, or the conversion's where it declares none. */
762
762
  float grad_raster_us;
763
+ /** 1 for the receive calibration the host generated: played only by a
764
+ * prescan, never by the scan. */
765
+ int prescan_only;
763
766
  } pulseg_subseq_info;
764
767
 
765
768
  /* clang-format off */
766
769
  #define PULSEG_SUBSEQ_INFO_INIT \
767
770
  { \
768
- 0.0f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0.0f, 0.0f, -1.0f, -1.0f, 0.0f \
771
+ 0.0f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0.0f, 0.0f, -1.0f, -1.0f, 0.0f, 0 \
769
772
  }
770
773
  /* clang-format on */
771
774
 
@@ -280,6 +280,9 @@ typedef struct pulseq_reserved_definitions
280
280
  * counted from the first block, as pypulseqpp's Sequence.repetition
281
281
  * finds it; the whole table when the sequence does not repeat. */
282
282
  int repetition_size;
283
+ /** Computed by the host, not declared by the file: 1 for the receive
284
+ * calibration the host generates, which only a prescan plays. */
285
+ int prescan_only;
283
286
  } pulseq_reserved_definitions;
284
287
 
285
288
  /** @brief One RF_SHIMS library entry (parallel-transmit channel weights). */