dose3d / g4rt

1 stars 1 forks source link

22 tool for custom plan dat files generation from rt plan #23

Closed barachwal closed 4 months ago

barachwal commented 4 months ago

The implemented tool is as new app, with command line options:

(g4rt) geant4@brachwal-aghpc:~/workspace/github/g4rt/build$ ./app/g4rt_dcm2dat --help
Initializing CT scaner.

[2024-07-08 13:35:23.472] [info] [main.cc:20] Wellcome G4RT!
Text UI mode - command line options
Usage:
  ./app/g4rt_dcm2dat [OPTION...]

      --help     Print help
      --version  Application version

 Application run mode options:
  -b, --nBeams N        Number of beams (default value ALL)
  -c, --nCtrlPts N      Number of control points (default value ALL)
      --nParticles N    Number of particles to be set in the plan (default
                        value 1e3) (default: 1000)
  -f, --File FILE       Specify RT-Plan file
      --fieldCentre     Perform Field centralization in AB sides
  -o, --OutputDir PATH  Specify output directory