Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove duplicate text in generic source docs #577

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://en.wikipedia.org/wiki/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𝜃.

Expand Down
Loading