GGEMS Community

General Category => Geometry, Material & Navigation => Topic started by: julienzzzz on May 22, 2026, 06:54 PM

Title: Design the material of CT detector
Post by: julienzzzz on May 22, 2026, 06:54 PM
Hello, Does anyone know how to change the material of CT detector. I only found GGEMSCTSystem.cc, but it seems not the right one.
Title: Re: Design the material of CT detector
Post by: didier.benoit on Jun 02, 2026, 12:41 PM
Hello,
You do not need to modify GGEMSCTSystem.cc. The detector material can be set directly from the Python interface using the set_material() method:

ct_detector.set_material('GOS')
Replace 'GOS' with the name of the material you want to use from the GGEMS material database.
You can print information about the GGEMS material database using:

ggems.material_database_verbose(True)