Grids
grid
¶
FourierGrid3D
¶
Source code in src/xifu_cluster_sim/grid.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
__init__(spatial_grid)
¶
Define 3D Fourier grid from spatial grid
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spatial_grid
|
class
|
3D spatial grid |
required |
Source code in src/xifu_cluster_sim/grid.py
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | |
SpatialGrid3D
¶
Source code in src/xifu_cluster_sim/grid.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 | |
__init__(pixsize=8.71, shape=(58, 58), los_factor=5, x_off=0, y_off=0, z_off=0)
¶
Define 3D spatial grid
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pixsize
|
float
|
Projected pixel size in kiloparsecs |
8.71
|
shape
|
tuple
|
Size of grid on the field of view (Nx,Ny) |
(58, 58)
|
los_factor
|
int
|
Factor by which the z-axis is multiplied (Nz = los_factor * Nx) |
5
|
x_off
|
int)
|
Offset along x, in pixels |
0
|
y_off
|
int)
|
Offset along x, in pixels |
0
|
z_off
|
int)
|
Offset along x, in pixels |
0
|
Source code in src/xifu_cluster_sim/grid.py
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 | |