Cube
cube
¶
EmissivityCube
¶
Bases: Module
Generate an emissivity cube
Source code in src/cube.py
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 |
|
__call__()
¶
Returns:
Name | Type | Description |
---|---|---|
field_spatial |
array
|
Random realization of emissivity cube |
Source code in src/cube.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
__init__(spatial_grid, exposure=125000.0)
¶
Initialize
Parameters:
Name | Type | Description | Default |
---|---|---|---|
spatial_grid
|
class
|
3D Spatial grid |
required |
exposure
|
float
|
Exposure time in seconds |
125000.0
|
Source code in src/cube.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
FluctuationCube
¶
Bases: Module
Generate a fluctuation cube as seen from https://garrettgoon.com/gaussian-fields/
Source code in src/cube.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
__call__()
¶
Returns:
Name | Type | Description |
---|---|---|
field_spatial |
array
|
Random realization of GRF |
Source code in src/cube.py
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
__init__(spatial_grid)
¶
Initialize. The power spectrum is implicitly defined from the Kolmogorov power spectrum
Parameters:
Name | Type | Description | Default |
---|---|---|---|
spatial_grid
|
class
|
3D Spatial grid |
required |
exposure
|
float
|
Exposure time in seconds |
required |
Source code in src/cube.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|