Skip to content

pctweplfit update#81

Open
acoussat wants to merge 6 commits into
RTKConsortium:mainfrom
acoussat:pctweplfit-update
Open

pctweplfit update#81
acoussat wants to merge 6 commits into
RTKConsortium:mainfrom
acoussat:pctweplfit-update

Conversation

@acoussat
Copy link
Copy Markdown
Collaborator

@acoussat acoussat commented Apr 27, 2026

Several small updates concerning pctweplfit:

  • Update GATE code of pctweplfit in order to properly handle opengate>=10.1.0
  • Define an upper bound for phantom thickness, otherwise for large detectors pctweplfit was trying to shoot protons through a quantity of water larger than the proton range, resulting in empty ROOT files and messing up the fit
  • Add a test for pctweplfit
  • Fix a mistake in the documentation
  • Clean up a bit the output files for pctweplfit

@acoussat acoussat force-pushed the pctweplfit-update branch from 0ccd1b9 to 941e110 Compare April 27, 2026 11:02
Comment thread .github/workflows/build-test-package.yml
@acoussat acoussat force-pushed the pctweplfit-update branch 2 times, most recently from 73ea09d to ed30b3e Compare April 27, 2026 13:07
@acoussat acoussat requested a review from SimonRit April 27, 2026 14:14
@SimonRit
Copy link
Copy Markdown
Collaborator

To be rebased on main after #80 is merged and test renamed accordingly.

@acoussat acoussat force-pushed the pctweplfit-update branch 2 times, most recently from 4907eaf to e1564b9 Compare May 7, 2026 08:33
acoussat added 6 commits May 7, 2026 10:34
The previous behavior allowed to have values for phantom thickness larger than the proton range in water, which caused issues because no protons could traverse the phantom.
Now, the maximum thickness is given by the approximate proton range in water, which is of about 26 cm.
The parameter --phantom-length-samples defines the (evenly spaced) number of thicknesses to compute between 0 and the minimum between the proton range and the spacing between the detectors.
The text claimed that the examples uses energy-loss fit, whereas the command used TOF fit.
@acoussat acoussat force-pushed the pctweplfit-update branch from e1564b9 to 3307df3 Compare May 7, 2026 08:34
@acoussat acoussat removed the request for review from SimonRit May 13, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants