Bases: penelopetools.api.figure._Figure
Draws a two dimensional projection of the electron trajectories recorded in a shower. The input result are from the trajectories result (Trajectories).
The projecting plane is specified using one out of the three constants:
- XY plane (PROJECTION_XY)
- YZ plane (PROJECTION_YZ)
- XZ plane (PROJECTION_XZ)
The user can also decided whether to draw the backscatter, absorbed and/or transmitted electrons. This is specified by the argument exit which is a list of types of electrons to include in the figure. The type of electrons are specified using the following constants:
- absorbed (EXIT_ABSORBED)
- backscattered (EXIT_BACKSCATTERED)
- transmitted (EXIT_TRANSMITTED)
Parameters: |
|
---|