Repository navigation
Docs: plugins page and proton CT plugin reference - #987
Merged
Merged
Conversation
…RE.bib - docs/user-guide/plugins.md: what plugins are, building them (TIGRE_PLUGINS, Compile <Name> / all), where they live, and how to add one (build, test skip pattern, docs). - User guide index: a Plugins section with plugins and proton-ct. - API reference: Python and MATLAB plugin pages (pCTCubicSpline); the compiled _pct module is mocked for autodoc. - proton-ct.md: links to the plugins page, the API and the paper; parallel beam is the checked mode. - TIGRE.bib (both): Kaser et al. 2023 and Collins-Fekete et al. 2016. - AGENTS.md: where plugins live. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6n1VHyq4uNorM3CAiBUPo
AnderBiguri
marked this pull request as ready for review
November 28, 2026 18:12
Plugins are not built on pull requests (building takes long), so the release workflow builds TIGRE with TIGRE_PLUGINS=all and imports each compiled plugin. It does not block attaching the wheels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6n1VHyq4uNorM3CAiBUPo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documentation for TIGRE plugins in general and the proton CT plugin in particular. Stacked on #986 (base
plugins/pct-python), which is stacked on #985, so the three can be reviewed and merged together. Retarget tomasterafter them.docs/user-guide/plugins.md: what plugins are and why (optional parts outside core, same names in both languages), a table of plugins, building them (TIGRE_PLUGINS=<name>|allin Python,Compile <Name>/Compile allin MATLAB; release wheels have no compiled plugins), where they live, and how to add one: code layout,Compile.mandsetup.pyhooks, theImportErrorpattern, the test-skip pattern (pytest 9'simportorskipdoes not skip the plugin's ownImportError, see c4c3556 in Python proton CT plugin: tigre.plugins.pct.pCTCubicSpline #986), docs and demos.pCTCubicSpline;tigre.plugins.pct._pctadded toautodoc_mock_imports, and the MATLAB API generator gets apluginsgroup.proton-ct.md: links to the plugins page, the API pages and the paper (cite it); parallel beam is the checked mode, cone exists but is unchecked.TIGRE.bib(both): Kaser et al. 2023 (Z Med Phys, the plugin) underpCTCubicSpline, sociteme('pCTCubicSpline')works, and Collins-Fekete et al. 2016 (the cubic-spline method).AGENTS.md: where plugins live and a link to the page.Tests
None (docs only).
What was and was not tested
Written by an AI agent (Claude).
sphinx-build -W --keep-going -b html docs ...passes with no warnings; checked that the Python and MATLAB plugin API pages renderpCTCubicSplineand the user guide shows the Plugins section.citeme('pCTCubicSpline')not run in MATLAB.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6n1VHyq4uNorM3CAiBUPo