Ellipsoid #641
Answered
by
tbaudier
mikhailpaltsev
asked this question in
Q&A
Ellipsoid
#641
-
When ellipsoid volume will be available? Or if there is, how do i do it? |
Beta Was this translation helpful? Give feedback.
Answered by
tbaudier
Dec 17, 2024
Replies: 1 comment
-
Hello @mikhailpaltsev For the moment Ellipsoid volume is not available in Gate10. But you can try to add it and propose a pull request. I think you can follow the example of G4Tubs to add the G4Ellipsoid class: https://github.com/OpenGATE/opengate/blob/master/core/opengate_core/g4_bindings/pyG4Tubs.cpp |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dsarrut
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @mikhailpaltsev
For the moment Ellipsoid volume is not available in Gate10. But you can try to add it and propose a pull request.
To start you can follow the developper guide here: https://opengate-python.readthedocs.io/en/master/developer_guide/developer_guide_installation.html
I think you can follow the example of G4Tubs to add the G4Ellipsoid class: https://github.com/OpenGATE/opengate/blob/master/core/opengate_core/g4_bindings/pyG4Tubs.cpp