Commit be35d1d
docs: refactor and complete docstrings for autoarray/dataset package
- interferometer/simulator.py: complete rewrite of class and method docstrings,
which incorrectly described an Imaging observation with non-existent parameters
- interferometer/dataset.py: rewrite from_fits docstring (was describing unit
conversions that don't exist); add docstrings to all undocumented properties
(amplitudes, phases, uv_distances, dirty_image, dirty_noise_map,
dirty_signal_to_noise_map, signal_to_noise_map, mask, psf, output_to_fits);
document psf_precision_operator_from; fix apply_sparse_operator Parameters/Returns;
add sparse_operator and raise_error_dft_visibilities_limit to __init__ Parameters
- imaging/dataset.py: fix apply_sparse_operator and apply_sparse_operator_cpu
docstrings which had Parameters listed under Returns; add psf_setup_state
description; expand apply_mask to describe covariance trimming and PSF state
- abstract/dataset.py: fix signal_to_noise_map and signal_to_noise_max phrasing;
add docstrings to all undocumented properties (grid, shape_native, shape_slim,
pixel_scales, mask, apply_over_sampling); add trimmed_after_convolution_from docstring
- grids.py: add docstrings to lp, pixelization, blurring, border_relocator properties;
add mask to GridsDataset Parameters; add GridsInterface class docstring
- imaging/simulator.py: fix two typos ("simulaiton", "dirrection"); document xp
and over_sample_size parameters in via_image_from
- mock/mock_dataset.py: add full class and __init__ docstring
- preprocess.py: fix "removedd" typo; fix array_counts_to_eps description which
incorrectly said "eps to counts"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4ea1320 commit be35d1d
File tree
8 files changed
+433
-75
lines changed- autoarray/dataset
- abstract
- imaging
- interferometer
- mock
8 files changed
+433
-75
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
137 | 144 | | |
138 | 145 | | |
139 | 146 | | |
140 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
141 | 151 | | |
142 | 152 | | |
143 | 153 | | |
144 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
145 | 158 | | |
146 | 159 | | |
147 | 160 | | |
148 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
149 | 165 | | |
150 | 166 | | |
151 | 167 | | |
152 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
153 | 172 | | |
154 | 173 | | |
155 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
156 | 181 | | |
157 | 182 | | |
158 | 183 | | |
159 | 184 | | |
160 | 185 | | |
161 | | - | |
| 186 | + | |
162 | 187 | | |
163 | | - | |
164 | | - | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
165 | 193 | | |
166 | 194 | | |
167 | 195 | | |
| |||
172 | 200 | | |
173 | 201 | | |
174 | 202 | | |
175 | | - | |
| 203 | + | |
176 | 204 | | |
177 | 205 | | |
178 | 206 | | |
| |||
185 | 213 | | |
186 | 214 | | |
187 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
188 | 237 | | |
189 | 238 | | |
190 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
56 | | - | |
| 59 | + | |
| 60 | + | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| |||
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
70 | 82 | | |
| 83 | + | |
| 84 | + | |
71 | 85 | | |
72 | 86 | | |
73 | 87 | | |
| |||
80 | 94 | | |
81 | 95 | | |
82 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
83 | 107 | | |
84 | 108 | | |
85 | 109 | | |
| |||
92 | 116 | | |
93 | 117 | | |
94 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
95 | 128 | | |
| 129 | + | |
| 130 | + | |
96 | 131 | | |
97 | 132 | | |
98 | 133 | | |
| |||
113 | 148 | | |
114 | 149 | | |
115 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
116 | 158 | | |
| 159 | + | |
| 160 | + | |
117 | 161 | | |
118 | 162 | | |
119 | 163 | | |
| |||
133 | 177 | | |
134 | 178 | | |
135 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
136 | 200 | | |
137 | 201 | | |
138 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
236 | 240 | | |
237 | 241 | | |
238 | 242 | | |
239 | | - | |
240 | | - | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
241 | 252 | | |
242 | 253 | | |
243 | 254 | | |
244 | 255 | | |
245 | 256 | | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
246 | 262 | | |
247 | 263 | | |
248 | 264 | | |
| |||
413 | 429 | | |
414 | 430 | | |
415 | 431 | | |
| 432 | + | |
| 433 | + | |
416 | 434 | | |
417 | | - | |
| 435 | + | |
| 436 | + | |
418 | 437 | | |
419 | | - | |
420 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
421 | 441 | | |
422 | | - | |
423 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
424 | 447 | | |
425 | 448 | | |
426 | 449 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
432 | 453 | | |
433 | 454 | | |
434 | 455 | | |
| |||
459 | 480 | | |
460 | 481 | | |
461 | 482 | | |
462 | | - | |
463 | | - | |
| 483 | + | |
464 | 484 | | |
465 | | - | |
466 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
467 | 488 | | |
468 | | - | |
469 | | - | |
| 489 | + | |
| 490 | + | |
470 | 491 | | |
471 | 492 | | |
472 | 493 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
478 | 497 | | |
479 | 498 | | |
480 | 499 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
125 | 136 | | |
126 | 137 | | |
127 | 138 | | |
| |||
0 commit comments