Commit 1044d4e
Add visibility-space potential corrections (interferometer phase 1)
Adds al.pc.FitDpsiSrcInterferometer — the joint source+dpsi inversion
of interferometer visibilities — with the sparse-operator (w-tilde)
route as the primary implementation (joint curvature via the dataset's
InterferometerSparseOperator FFT machinery from extent-indexed COO
triplets; data vector via the dirty image; chi2 via one forward NUFFT;
scales with real-space pixels, independent of visibility count) and
the dense transform_mapping_matrix route as the small-n_vis parity
reference. Adds DpsiSrcInvInterferometerAnalysis + docs entries.
Sparse route verified identical to the dense route on the
interferometer_7 fixture.
Phase 1 of #623 (parent epic #618). Ported and
extended from Cao et al. 2025
(https://github.com/caoxiaoyue/lensing_potential_correction); cite via
https://github.com/caoxiaoyue/potential_correction_paper.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 3983f49 commit 1044d4e
5 files changed
Lines changed: 679 additions & 0 deletions
File tree
- autolens/potential_correction
- docs/api
- test_autolens/potential_correction
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 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 | + | |
79 | 157 | | |
80 | 158 | | |
81 | 159 | | |
| |||
0 commit comments