Projection
projection
¶
VCubeProjection_v2
¶
Projection of velocity cube with emission weighting in binned map
Source code in src/projection.py
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
__call__(v)
¶
Uses counts to weight and project the velocity cube into a centroid shift map and broadening map. Uses a convolution with product in Fourier space.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
v
|
array
|
Velocity cube |
required |
Returns:
Name | Type | Description |
---|---|---|
v_map |
array
|
Binned image of the emission weighted centroid shift |
std_map |
array
|
Binned image of the emission weighted broadening |
binned_v_weighted |
array
|
Vector of emission weighted centroid shift in each bin |
binned_std_weighted |
array
|
Vector of emission weighted broadening in each bin |
Source code in src/projection.py
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
__init__(binning, em_cube, PSF_kernel)
¶
Initialize
Parameters:
Name | Type | Description | Default |
---|---|---|---|
binning
|
Module
|
Binning |
required |
em_cube
|
array
|
3D emissivity cube |
required |
PSF_kernel
|
array
|
PSF discretized on the pixel grid |
required |
Source code in src/projection.py
24 25 26 27 28 29 30 31 32 33 34 35 36 |
|