Closed jizhang02 closed 7 months ago
I need to check in more detail, but I think your DigitizerProjectionActor is not hooked up correctly. Shouldn't its mother be the DigitizerEnergyWindowsActor?
proj.mother = ew.name
You are setting the mother to hc.mother, which points to the crystal volume.
Again, I have not tried to reproduce your error yet, just glanced over your simulation script.
I need to check in more detail, but I think your DigitizerProjectionActor is not hooked up correctly. Shouldn't its mother be the DigitizerEnergyWindowsActor?
proj.mother = ew.name
You are setting the mother to hc.mother, which points to the crystal volume.
Again, I have not tried to reproduce your error yet, just glanced over your simulation script.
Hi, I tried to change the mother, but it still didn't work.
Exception: Cannot find volume EnergyWindows. Volumes included in this simulation are: dict_keys(['world', 'pet', 'pet_ring', 'pet_block', 'pet_crystal', 'ct'])
I think all "mother" must be "crystal.name" here. However, the error says that pet_block is not a volume, while it is defined in the add_pet, so something is weird.
Hello,
I commented out:
#proj.mother = crystal.name
Then it works, thank you!
Hello,
I'm using the Gate beta07 version to simulate a pet image. Everything works fine except for adding a![image](https://github.com/OpenGATE/opengate/assets/46089068/fafb7625-155b-4fcd-9448-533f8622b4bb)
DigitizerProjectionActor
. The output is like this:Does anyone have a clue about it? Thanks a lot.
Here is my code: