Construct pitch angle distribution
el_paso.processing.construct_pitch_angle_distribution.construct_pitch_angle_distribution
construct_pitch_angle_distribution
Construct a pitch angle distribution from omni-directional flux.
This function calculates a pitch angle distribution based on an omni-directional flux variable and local pitch angles. Currently, it supports a 'sin' distribution method.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
omni_flux_var
|
Variable
|
Omni-directional flux as an |
required |
pa_local_var
|
Variable
|
Local pitch angles as an |
required |
pa_eq_var
|
Variable
|
Equatorial pitch angles as an |
required |
method
|
str
|
The method to use for constructing the distribution. Currently, only "sin" is supported. Defaults to "sin". |
'sin'
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If an unsupported method is provided. |
Returns:
| Type | Description |
|---|---|
Variable
|
ep.Variable: A new |
Source code in el_paso/processing/construct_pitch_angle_distribution.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | |