From 8028f899f7a7f49e27ab76acd2c2451e663ed2c1 Mon Sep 17 00:00:00 2001 From: Alexis Pereda Date: Tue, 19 Nov 2024 11:52:14 +0100 Subject: [PATCH] remove duplicate text in generic source docs --- ...user_guide_reference_sources_generic_source.rst | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/source/user_guide/user_guide_reference_sources_generic_source.rst b/docs/source/user_guide/user_guide_reference_sources_generic_source.rst index aa4395daa..afb6889bd 100644 --- a/docs/source/user_guide/user_guide_reference_sources_generic_source.rst +++ b/docs/source/user_guide/user_guide_reference_sources_generic_source.rst @@ -134,20 +134,6 @@ Particle initial direction source.direction.phi = [0, 90 * deg] -``direction.type = "iso"`` assigns directions to primary particles -based on πœƒ and πœ™ angles in a `spherical coordinate system -`__. -By default, πœƒ varies from 0Β° to 180Β° and πœ™ varies from 0Β° to 360Β° -(such that any direction is possible). You can define the πœƒ and πœ™ -ranges with minimum and maximum values as follows: - -.. code:: python - - source.direction.type = "iso" - source.direction.theta = [0, 10 * deg] - source.direction.phi = [0, 90 * deg] - - Geant4 defines the direction as: - x = -sinπœƒ cosπœ™; - y = -sinπœƒ sinπœ™; - z = -cosπœƒ.