Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digitizer macro files are not compatible with GATE 9.3 or newer versions #98

Open
imbeatriz opened this issue Oct 3, 2024 · 1 comment

Comments

@imbeatriz
Copy link

imbeatriz commented Oct 3, 2024

I solved this problem in the digitizer macro files by converting them to commands supported by GATE 9.3. I altered scripts for the main digitizer in GATESubMacros and for each scanner in the ExampleScanners folder.

Also, you have to go to MainGATE.mac and change this:

DIGITISER

/control/execute GATESubMacros/[Name of the new digitizer mac located in GATESubMacros. Ex: NewDigitizer.mac]

Here are the scripts I did for the Digitizer. I had to put in .txt format because for some reason it doesn't let me upload .mac scripts here, but don't forget to change to that format.

NewDigitizer_D690.txt
NewDigitizer.txt
NewDiditizer_mMR.txt

@imbeatriz
Copy link
Author

imbeatriz commented Oct 3, 2024

Now, I got this error:

This took 0.33s CPU time.
Sinogram saved as ./Output/Unlisted/UnlistedSinograms/Sino_Sim_1.Coincidences_S1R1

STIR-GATE-Connection Unlisting ROOT data script
Unlisting Output/Sim_1.Delayed.root
Unlisting with EXCLUDESCATTER = 0
Unlisting with EXCLUDERANDOM = 0
No AcceptanceProb given, unlist all using standard to lm_to_projdata

WARNING: KeyParser warning: unrecognized keyword: seed

WARNING: KeyParser warning: unrecognized keyword: offset (num of detectors)

ERROR: Error opening file Output/Sim_1.Delayed.root

terminate called after throwing an instance of 'std::runtime_error'
what(): Error opening file Output/Sim_1.Delayed.root

./SubScripts/UnlistRoot.sh: line 155: 10817 Aborted (core dumped) lm_to_projdata ${LM_TO_PROJDATA_PAR_PATH}
ERROR in ./SubScripts/UnlistRoot.sh
ERROR in ./ExampleSTIR-GATE.sh

Could anyone explain to me? I have STIR version 6.0.0, is that a reason why it may not be recognizing seed and offset?

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

No branches or pull requests

1 participant