depsi.arc_estimation
depsi.arc_estimation.periodogram(stm, key_dphase, key_h2ph, key_Btemporal, std_obs=1.0, std_height=50.0, std_vel=0.02, init_height=0.0, init_vel=0.0, init_step_height=3.0, init_step_vel=0.002, min_steps=10)
Periodogram algorithm.
This function performs periodogram unwrapping on arcs.
It uses a deformation model with two parameters: height and velocity to estimate the unwrapped phase.
For computation efficiency, the design matrix is constructed only once for all arcs, utilizing the average height-to-phase conversion factor (h2ph) across all arcs. The effect of using this average is corrected later.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
stm
|
Dataset
|
Input Space-Time Matrix (STM) containing the wrapped phase, height-to-phase conversion factor, and year-time. |
required |
key_dphase
|
str
|
Key for the wrapped differential phase data variable in the STM. |
required |
key_h2ph
|
str
|
Key for the height-to-phase conversion factor in the STM. |
required |
key_Btemporal
|
str
|
Key for the temporal baseline in the STM. The value should be in decimal years. |
required |
std_obs
|
float
|
A-poriori standard deviation of the observations in rads, by default 1.0. This value is used to construct the stochastic model (Qyy) of the observations. |
1.0
|
std_height
|
float
|
A-priori standard deviation of the height in meters, by default 50.0. This value is used to construct the boundaries of the initial search space for the height parameter. |
50.0
|
std_vel
|
float
|
A-priori standard deviation of the velocity in meters per year, by default 0.02. This value is used to construct the boundaries of the initial search space for the velocity parameter. |
0.02
|
init_height
|
float
|
Initial value for the height parameter in meters, by default 0.0. |
0.0
|
init_vel
|
float
|
Initial value for the velocity parameter in meters per year, by default 0.0. |
0.0
|
init_step_height
|
float
|
Initial step size for the height parameter in meters, by default 3.0. This value sets the resolution of the initial search space for the height parameter. After every search, the step size will be reduced by a factor of 10. |
3.0
|
init_step_vel
|
float
|
Initial step size for the velocity parameter in meters per year, by default 2e-3. This value sets the resolution of the initial search space for the velocity parameter. After every search, the step size will be reduced by a factor of 10. |
0.002
|
min_steps
|
int
|
Minimum number of steps in the search space for the height and velocity parameters, by default 10. If the number of steps in the initial search space is smaller than this value, it will be set to this value. After the first search, the number of steps will be set to this value. |
10
|
Returns:
| Type | Description |
|---|---|
Tuple[DataArray, DataArray, DataArray, DataArray, DataArray]
|
Returns the unwrapped phase, ambiguities, estimated height, estimated velocity, and temporal coherence. - Unwrapped phase: in rads, shape (n_arcs, n_obs), dtype np.float64. - Ambiguities: unitless, shape (n_arcs, n_obs), dtype np.float64. - Estimated height: in meters, shape (n_arcs,), dtype np.float64. - Estimated velocity: in meters per year, shape (n_arcs,), dtype np.float64. - Temporal coherence: unitless float number, norm of the complex coherence, scalar, dtype np.float64. |
Source code in depsi/arc_estimation.py
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 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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 | |