T Entry
t_entry
Computes an entry in the T Matrix for a given l, k, and tau
Parameters:
Name | Type | Description | Default |
---|---|---|---|
tau |
float
|
The value of tau. |
required |
l |
int
|
The value of l. |
required |
k_medium |
float
|
The value of k_medium. |
required |
k_sphere |
float
|
The value of k_sphere. |
required |
radius |
float
|
The value of radius. |
required |
field_type |
str
|
The type of field. Defaults to "scattered". |
'scattered'
|
Returns:
Type | Description |
---|---|
float
|
The computed entry in the T Matrix. |
Note
scipy.special has also derivative function. Why is it not the same?
Now: djx = x * spherical_jn(l-1, x) - l * jx
Possible: djx = spherical_jn(l, x, derivative=True)
Raises:
Type | Description |
---|---|
ValueError
|
If an invalid field type is provided. |
Source code in yasfpy/functions/t_entry.py
9 10 11 12 13 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 |
|