rang-core 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. rang_core-0.1.0/.gitattributes +13 -0
  2. rang_core-0.1.0/CHANGELOG.md +80 -0
  3. rang_core-0.1.0/CITATION.cff +12 -0
  4. rang_core-0.1.0/Cargo.lock +7 -0
  5. rang_core-0.1.0/Cargo.toml +20 -0
  6. rang_core-0.1.0/LICENSE +674 -0
  7. rang_core-0.1.0/PKG-INFO +227 -0
  8. rang_core-0.1.0/README.md +156 -0
  9. rang_core-0.1.0/core/Cargo.lock +1134 -0
  10. rang_core-0.1.0/core/Cargo.toml +27 -0
  11. rang_core-0.1.0/core/py/Cargo.lock +1265 -0
  12. rang_core-0.1.0/core/py/Cargo.toml +25 -0
  13. rang_core-0.1.0/core/py/src/clean.rs +224 -0
  14. rang_core-0.1.0/core/py/src/lib.rs +2552 -0
  15. rang_core-0.1.0/core/src/aipsio.rs +814 -0
  16. rang_core-0.1.0/core/src/blosc.rs +719 -0
  17. rang_core-0.1.0/core/src/caltable.rs +155 -0
  18. rang_core-0.1.0/core/src/clean.rs +1221 -0
  19. rang_core-0.1.0/core/src/clean_certified.rs +1052 -0
  20. rang_core-0.1.0/core/src/clean_major.rs +1038 -0
  21. rang_core-0.1.0/core/src/closure.rs +795 -0
  22. rang_core-0.1.0/core/src/correct.rs +506 -0
  23. rang_core-0.1.0/core/src/ffi.rs +756 -0
  24. rang_core-0.1.0/core/src/ffi_closure.rs +169 -0
  25. rang_core-0.1.0/core/src/ffi_correct.rs +197 -0
  26. rang_core-0.1.0/core/src/ffi_flag.rs +310 -0
  27. rang_core-0.1.0/core/src/ffi_fluxstd.rs +80 -0
  28. rang_core-0.1.0/core/src/ffi_grid.rs +169 -0
  29. rang_core-0.1.0/core/src/ffi_ms.rs +215 -0
  30. rang_core-0.1.0/core/src/ffi_ms_write.rs +633 -0
  31. rang_core-0.1.0/core/src/ffi_weights.rs +232 -0
  32. rang_core-0.1.0/core/src/ffi_wgridder.rs +758 -0
  33. rang_core-0.1.0/core/src/fluxstd.rs +224 -0
  34. rang_core-0.1.0/core/src/fused.rs +961 -0
  35. rang_core-0.1.0/core/src/gpu/context.rs +194 -0
  36. rang_core-0.1.0/core/src/gpu/ffi.rs +138 -0
  37. rang_core-0.1.0/core/src/gpu/fft.rs +174 -0
  38. rang_core-0.1.0/core/src/gpu/invert.rs +683 -0
  39. rang_core-0.1.0/core/src/gpu/mod.rs +58 -0
  40. rang_core-0.1.0/core/src/gpu/shader.rs +300 -0
  41. rang_core-0.1.0/core/src/gpu/tests.rs +288 -0
  42. rang_core-0.1.0/core/src/grid.rs +1081 -0
  43. rang_core-0.1.0/core/src/ism.rs +2169 -0
  44. rang_core-0.1.0/core/src/jones.rs +82 -0
  45. rang_core-0.1.0/core/src/lib.rs +62 -0
  46. rang_core-0.1.0/core/src/ms.rs +1966 -0
  47. rang_core-0.1.0/core/src/ms_create.rs +883 -0
  48. rang_core-0.1.0/core/src/ms_desc.rs +468 -0
  49. rang_core-0.1.0/core/src/ms_schema.rs +2129 -0
  50. rang_core-0.1.0/core/src/ms_write.rs +6363 -0
  51. rang_core-0.1.0/core/src/multifile.rs +792 -0
  52. rang_core-0.1.0/core/src/predict.rs +259 -0
  53. rang_core-0.1.0/core/src/robust.rs +51 -0
  54. rang_core-0.1.0/core/src/solve.rs +2430 -0
  55. rang_core-0.1.0/core/src/sumthreshold.rs +1744 -0
  56. rang_core-0.1.0/core/src/tiled.rs +261 -0
  57. rang_core-0.1.0/core/src/weights.rs +543 -0
  58. rang_core-0.1.0/core/src/wgridder.rs +3981 -0
  59. rang_core-0.1.0/pyproject.toml +119 -0
  60. rang_core-0.1.0/python/rang/__init__.py +113 -0
  61. rang_core-0.1.0/python/rang/beam_holography.py +653 -0
  62. rang_core-0.1.0/python/rang/beam_identifiability.py +1169 -0
  63. rang_core-0.1.0/python/rang/beams.py +278 -0
  64. rang_core-0.1.0/python/rang/blocked.py +274 -0
  65. rang_core-0.1.0/python/rang/check.py +369 -0
  66. rang_core-0.1.0/python/rang/core.py +882 -0
  67. rang_core-0.1.0/python/rang/core_actions.py +188 -0
  68. rang_core-0.1.0/python/rang/core_balanced.py +59 -0
  69. rang_core-0.1.0/python/rang/core_campaign.py +1393 -0
  70. rang_core-0.1.0/python/rang/core_campaign_1830.py +1526 -0
  71. rang_core-0.1.0/python/rang/core_campaign_array.py +2216 -0
  72. rang_core-0.1.0/python/rang/core_campaign_closure.py +1113 -0
  73. rang_core-0.1.0/python/rang/core_campaign_fieldmodel.py +1019 -0
  74. rang_core-0.1.0/python/rang/core_cases.py +59 -0
  75. rang_core-0.1.0/python/rang/core_catalog.py +43 -0
  76. rang_core-0.1.0/python/rang/core_clean.py +169 -0
  77. rang_core-0.1.0/python/rang/core_cli.py +1289 -0
  78. rang_core-0.1.0/python/rang/core_closure.py +440 -0
  79. rang_core-0.1.0/python/rang/core_compare.py +1661 -0
  80. rang_core-0.1.0/python/rang/core_controls.py +53 -0
  81. rang_core-0.1.0/python/rang/core_fetch.py +582 -0
  82. rang_core-0.1.0/python/rang/core_flag.py +342 -0
  83. rang_core-0.1.0/python/rang/core_forecast.py +261 -0
  84. rang_core-0.1.0/python/rang/core_grid.py +450 -0
  85. rang_core-0.1.0/python/rang/core_guard.py +405 -0
  86. rang_core-0.1.0/python/rang/core_image_fit.py +155 -0
  87. rang_core-0.1.0/python/rang/core_imaging.py +820 -0
  88. rang_core-0.1.0/python/rang/core_influence.py +264 -0
  89. rang_core-0.1.0/python/rang/core_injection_model.py +164 -0
  90. rang_core-0.1.0/python/rang/core_injections.py +301 -0
  91. rang_core-0.1.0/python/rang/core_ms.py +93 -0
  92. rang_core-0.1.0/python/rang/core_ms_write.py +874 -0
  93. rang_core-0.1.0/python/rang/core_patches.py +194 -0
  94. rang_core-0.1.0/python/rang/core_paths.py +21 -0
  95. rang_core-0.1.0/python/rang/core_policy.py +235 -0
  96. rang_core-0.1.0/python/rang/core_proposals.py +278 -0
  97. rang_core-0.1.0/python/rang/core_prospective.py +254 -0
  98. rang_core-0.1.0/python/rang/core_receipts.py +48 -0
  99. rang_core-0.1.0/python/rang/core_response.py +262 -0
  100. rang_core-0.1.0/python/rang/core_sensitivity.py +376 -0
  101. rang_core-0.1.0/python/rang/core_signal.py +651 -0
  102. rang_core-0.1.0/python/rang/core_solver_study.py +387 -0
  103. rang_core-0.1.0/python/rang/core_state.py +40 -0
  104. rang_core-0.1.0/python/rang/core_structured.py +42 -0
  105. rang_core-0.1.0/python/rang/core_templates.py +122 -0
  106. rang_core-0.1.0/python/rang/core_trend.py +375 -0
  107. rang_core-0.1.0/python/rang/core_trend_run.py +324 -0
  108. rang_core-0.1.0/python/rang/core_weights.py +177 -0
  109. rang_core-0.1.0/python/rang/core_wgridder.py +381 -0
  110. rang_core-0.1.0/python/rang/core_workflow.py +156 -0
  111. rang_core-0.1.0/python/rang/core_zarr.py +191 -0
  112. rang_core-0.1.0/python/rang/data/4k_lband_meerkat.staticmask +0 -0
  113. rang_core-0.1.0/python/rang/data/4k_uhfband_meerkat.staticmask +0 -0
  114. rang_core-0.1.0/python/rang/data/README.md +13 -0
  115. rang_core-0.1.0/python/rang/data/TRICOLOUR-LICENSE +28 -0
  116. rang_core-0.1.0/python/rang/fluxstd.py +432 -0
  117. rang_core-0.1.0/python/rang/formats/__init__.py +29 -0
  118. rang_core-0.1.0/python/rang/formats/_aipsio.py +201 -0
  119. rang_core-0.1.0/python/rang/formats/caltable.py +478 -0
  120. rang_core-0.1.0/python/rang/formats/cli.py +216 -0
  121. rang_core-0.1.0/python/rang/formats/flagversions.py +106 -0
  122. rang_core-0.1.0/python/rang/formats/h5parm.py +290 -0
  123. rang_core-0.1.0/python/rang/formats/killms.py +187 -0
  124. rang_core-0.1.0/python/rang/formats/quartical_store.py +386 -0
  125. rang_core-0.1.0/python/rang/formats/sky.py +1154 -0
  126. rang_core-0.1.0/python/rang/gauge.py +97 -0
  127. rang_core-0.1.0/python/rang/lsm.py +37 -0
  128. rang_core-0.1.0/python/rang/measures.py +121 -0
  129. rang_core-0.1.0/python/rang/meerkat.py +639 -0
  130. rang_core-0.1.0/python/rang/notebook/__init__.py +44 -0
  131. rang_core-0.1.0/python/rang/notebook/_plot.py +41 -0
  132. rang_core-0.1.0/python/rang/notebook/carta.py +502 -0
  133. rang_core-0.1.0/python/rang/notebook/data.py +624 -0
  134. rang_core-0.1.0/python/rang/notebook/experiment.py +327 -0
  135. rang_core-0.1.0/python/rang/notebook/flags.py +432 -0
  136. rang_core-0.1.0/python/rang/notebook/gains.py +316 -0
  137. rang_core-0.1.0/python/rang/notebook/image.py +261 -0
  138. rang_core-0.1.0/python/rang/notebook/science.py +1277 -0
  139. rang_core-0.1.0/python/rang/notebook/steer.py +386 -0
  140. rang_core-0.1.0/python/rang/notebook/survey.py +377 -0
  141. rang_core-0.1.0/python/rang/observability.py +455 -0
  142. rang_core-0.1.0/python/rang/oracles/__init__.py +5 -0
  143. rang_core-0.1.0/python/rang/oracles/casacure.py +165 -0
  144. rang_core-0.1.0/python/rang/pointing.py +721 -0
  145. rang_core-0.1.0/python/rang/pointing_selfcal.py +1754 -0
  146. rang_core-0.1.0/python/rang/projector.py +152 -0
  147. rang_core-0.1.0/python/rang/rusage.py +75 -0
  148. rang_core-0.1.0/python/rang/uncertainty.py +25 -0
  149. rang_core-0.1.0/src/lib.rs +975 -0
  150. rang_core-0.1.0/src/linalg.rs +482 -0
  151. rang_core-0.1.0/src/main.rs +10 -0
  152. rang_core-0.1.0/src/projector.rs +228 -0
  153. rang_core-0.1.0/src/response.rs +826 -0
  154. rang_core-0.1.0/src/trend.rs +201 -0
  155. rang_core-0.1.0/src/tv.rs +141 -0
  156. rang_core-0.1.0/tests/conftest.py +71 -0
  157. rang_core-0.1.0/tests/data/core-backends-golden.json +520 -0
  158. rang_core-0.1.0/tests/data/core-backends-golden.npz +0 -0
  159. rang_core-0.1.0/tests/data/toy-golden.json +22 -0
  160. rang_core-0.1.0/tests/test_aflag.py +184 -0
  161. rang_core-0.1.0/tests/test_b1_baselines.py +106 -0
  162. rang_core-0.1.0/tests/test_b1_identifiability.py +346 -0
  163. rang_core-0.1.0/tests/test_b1_pointing_selfcal.py +622 -0
  164. rang_core-0.1.0/tests/test_beam_holography.py +156 -0
  165. rang_core-0.1.0/tests/test_beams.py +411 -0
  166. rang_core-0.1.0/tests/test_blocked.py +124 -0
  167. rang_core-0.1.0/tests/test_casacure_optional.py +93 -0
  168. rang_core-0.1.0/tests/test_core.py +212 -0
  169. rang_core-0.1.0/tests/test_core_backends.py +552 -0
  170. rang_core-0.1.0/tests/test_core_balanced.py +84 -0
  171. rang_core-0.1.0/tests/test_core_campaign.py +201 -0
  172. rang_core-0.1.0/tests/test_core_campaign_1830.py +228 -0
  173. rang_core-0.1.0/tests/test_core_campaign_array.py +281 -0
  174. rang_core-0.1.0/tests/test_core_campaign_closure.py +238 -0
  175. rang_core-0.1.0/tests/test_core_campaign_fieldmodel.py +280 -0
  176. rang_core-0.1.0/tests/test_core_cases.py +40 -0
  177. rang_core-0.1.0/tests/test_core_catalog.py +35 -0
  178. rang_core-0.1.0/tests/test_core_clean.py +77 -0
  179. rang_core-0.1.0/tests/test_core_cli.py +581 -0
  180. rang_core-0.1.0/tests/test_core_closure.py +309 -0
  181. rang_core-0.1.0/tests/test_core_compare.py +139 -0
  182. rang_core-0.1.0/tests/test_core_controls.py +67 -0
  183. rang_core-0.1.0/tests/test_core_fetch.py +250 -0
  184. rang_core-0.1.0/tests/test_core_flag.py +291 -0
  185. rang_core-0.1.0/tests/test_core_grid.py +107 -0
  186. rang_core-0.1.0/tests/test_core_guard.py +284 -0
  187. rang_core-0.1.0/tests/test_core_image_fit.py +69 -0
  188. rang_core-0.1.0/tests/test_core_imaging.py +289 -0
  189. rang_core-0.1.0/tests/test_core_influence.py +284 -0
  190. rang_core-0.1.0/tests/test_core_injection_model.py +125 -0
  191. rang_core-0.1.0/tests/test_core_ms.py +79 -0
  192. rang_core-0.1.0/tests/test_core_ms_write.py +167 -0
  193. rang_core-0.1.0/tests/test_core_patches.py +100 -0
  194. rang_core-0.1.0/tests/test_core_paths.py +28 -0
  195. rang_core-0.1.0/tests/test_core_policy.py +108 -0
  196. rang_core-0.1.0/tests/test_core_proposals.py +223 -0
  197. rang_core-0.1.0/tests/test_core_receipts.py +93 -0
  198. rang_core-0.1.0/tests/test_core_response.py +221 -0
  199. rang_core-0.1.0/tests/test_core_sensitivity.py +201 -0
  200. rang_core-0.1.0/tests/test_core_structured.py +44 -0
  201. rang_core-0.1.0/tests/test_core_templates.py +81 -0
  202. rang_core-0.1.0/tests/test_core_trend_run.py +67 -0
  203. rang_core-0.1.0/tests/test_core_trend_run_review.py +272 -0
  204. rang_core-0.1.0/tests/test_core_weights.py +94 -0
  205. rang_core-0.1.0/tests/test_core_wgridder.py +255 -0
  206. rang_core-0.1.0/tests/test_core_workflow.py +91 -0
  207. rang_core-0.1.0/tests/test_core_zarr.py +126 -0
  208. rang_core-0.1.0/tests/test_d1_docs.py +92 -0
  209. rang_core-0.1.0/tests/test_d3_notebooks.py +338 -0
  210. rang_core-0.1.0/tests/test_df2b_wgrid.py +197 -0
  211. rang_core-0.1.0/tests/test_df2c_campaign_gridder.py +234 -0
  212. rang_core-0.1.0/tests/test_df5o.py +134 -0
  213. rang_core-0.1.0/tests/test_dfio_formats.py +310 -0
  214. rang_core-0.1.0/tests/test_e4_table_create.py +212 -0
  215. rang_core-0.1.0/tests/test_e5_table_writer_rest.py +201 -0
  216. rang_core-0.1.0/tests/test_e6_table_writer_final.py +176 -0
  217. rang_core-0.1.0/tests/test_flagging_followup_archives.py +357 -0
  218. rang_core-0.1.0/tests/test_fluxstd.py +189 -0
  219. rang_core-0.1.0/tests/test_information_budget.py +50 -0
  220. rang_core-0.1.0/tests/test_l5_solver.py +132 -0
  221. rang_core-0.1.0/tests/test_l5c.py +116 -0
  222. rang_core-0.1.0/tests/test_lsm.py +143 -0
  223. rang_core-0.1.0/tests/test_mk1_meerkat.py +227 -0
  224. rang_core-0.1.0/tests/test_ms_inspection.py +56 -0
  225. rang_core-0.1.0/tests/test_native_support_diagnostics.py +121 -0
  226. rang_core-0.1.0/tests/test_nb_carta.py +248 -0
  227. rang_core-0.1.0/tests/test_notebook_execute.py +100 -0
  228. rang_core-0.1.0/tests/test_notebook_functions.py +173 -0
  229. rang_core-0.1.0/tests/test_o_casa_optional.py +168 -0
  230. rang_core-0.1.0/tests/test_p11_extract.py +241 -0
  231. rang_core-0.1.0/tests/test_p12_rename.py +37 -0
  232. rang_core-0.1.0/tests/test_p1_solver.py +71 -0
  233. rang_core-0.1.0/tests/test_p2_gridder.py +84 -0
  234. rang_core-0.1.0/tests/test_p3_flags.py +183 -0
  235. rang_core-0.1.0/tests/test_p4_eigen.py +102 -0
  236. rang_core-0.1.0/tests/test_p5_memory.py +428 -0
  237. rang_core-0.1.0/tests/test_p6_signal.py +174 -0
  238. rang_core-0.1.0/tests/test_p6_trend.py +186 -0
  239. rang_core-0.1.0/tests/test_p7_architecture.py +209 -0
  240. rang_core-0.1.0/tests/test_pc1_preconditions.py +55 -0
  241. rang_core-0.1.0/tests/test_pointing.py +738 -0
  242. rang_core-0.1.0/tests/test_pointing_example.py +36 -0
  243. rang_core-0.1.0/tests/test_projector.py +105 -0
  244. rang_core-0.1.0/tests/test_rv1_revalidate.py +129 -0
  245. rang_core-0.1.0/tests/test_t1_casacure_oracle.py +604 -0
  246. rang_core-0.1.0/tests/test_toy.py +88 -0
  247. rang_core-0.1.0/tests/test_uncertainty.py +24 -0
  248. rang_core-0.1.0/tests/test_w4_1_receipts.py +214 -0
  249. rang_core-0.1.0/tests/test_w4_2_boundaries.py +92 -0
  250. rang_core-0.1.0/tests/test_w4_3_kernels.py +156 -0
  251. rang_core-0.1.0/tests/test_w4_5_release.py +233 -0
  252. rang_core-0.1.0/tests/test_w4_6_portability.py +166 -0
  253. rang_core-0.1.0/tests/test_w4_8_docs.py +179 -0
  254. rang_core-0.1.0/tests/test_x2_gpu.py +101 -0
  255. rang_core-0.1.0/tools/wheel/build-inside.sh +96 -0
  256. rang_core-0.1.0/tools/wheel/build.py +124 -0
  257. rang_core-0.1.0/tools/wheel/build.sh +58 -0
  258. rang_core-0.1.0/tools/wheel/classify_compare.py +94 -0
  259. rang_core-0.1.0/tools/wheel/pytest_wheel.py +31 -0
  260. rang_core-0.1.0/tools/wheel/run_installed.py +101 -0
  261. rang_core-0.1.0/tools/wheel/smoke.py +61 -0
  262. rang_core-0.1.0/tools/wheel/test.py +265 -0
  263. rang_core-0.1.0/tools/wheel/test.sh +138 -0
@@ -0,0 +1,13 @@
1
+ # LF everywhere, whatever core.autocrlf says, so every host hashes and formats
2
+ # the same bytes (task W4-6, research/w4-6-portability.md).
3
+ * text=auto eol=lf
4
+
5
+ *.staticmask binary
6
+ *.png binary
7
+ *.npz binary
8
+ *.ico binary
9
+
10
+ # Archived and frozen bytes are never rewritten:
11
+ # research/results/p11-extract/closure.py keeps its CRLF.
12
+ research/results/** -text
13
+ history/** -text
@@ -0,0 +1,80 @@
1
+ # Changelog
2
+
3
+ All notable changes to rang-core (PyPI `rang-core`, package `rang`). The
4
+ version is set once, in `pyproject.toml`; the three `Cargo.toml`s, the
5
+ documentation and `rang.__version__` follow it, and
6
+ `tests/test_w4_5_release.py` checks that they agree. Pushing the tag `v<version>`
7
+ builds, tests and publishes that version (`.github/workflows/wheels.yml`);
8
+ the release notes are the section of this file for that version.
9
+
10
+ ## Unreleased
11
+
12
+ Nothing yet.
13
+
14
+ ## 0.1.0 (2026-11-02)
15
+
16
+ First release. A research demonstrator for MeerKAT calibration and
17
+ flagging, not an operational calibrator; no advantage over the state of
18
+ the art is claimed.
19
+
20
+ **The Rust core.** The calibration chain of the gain-TV flagging
21
+ experiment runs in one Rust core, reached from Python through the PyO3
22
+ extension `rang._core`: fused visibility statistics, a QuartiCal-style
23
+ gain solver, the component predictor, blosc decoding of the public zarr
24
+ stores with HTTP range reads, the Tricolour strategies and SumThreshold,
25
+ WSClean imaging weights, a w-stacking gridder and the exact wgridder, a
26
+ read-only Measurement Set reader and a casacore table writer that creates
27
+ Measurement Sets and CASA calibration tables byte-identical to casacore
28
+ 3.8.1 and CASA 6.7.6 (bar uninitialised memory). Every port is checked against its upstream oracle
29
+ (QuartiCal, Tricolour, AOFlagger, WSClean, python-casacore, casacure) or
30
+ against the archived results of the frozen campaigns.
31
+
32
+ **Simplification and speed.** The solver, the fused pass, SumThreshold and
33
+ the gridder run in parallel; the w-stacking gridder and FFT also run on the
34
+ GPU through `wgpu` behind the `gpu` feature. The ctypes backend is gone:
35
+ importing `rang` or calling a kernel never runs Cargo, and the extension
36
+ releases the GIL around every kernel. One command line, `rang-core STAGE
37
+ VERB`, writes a `rang.receipt` per call and a `rang.archive` per run. The
38
+ frozen QuartiCal and Stimela campaigns, their containers and modules moved
39
+ to `history/`; the package keeps verbatim extracts of what the core uses.
40
+ The package was renamed from `rangtoy` to `rang` (distribution
41
+ `rang-core`). `rang-core --version` and `rang.__version__` report the
42
+ version.
43
+
44
+ **Wheels and CI.** One abi3 wheel per platform for CPython 3.10 and newer:
45
+ Linux x86_64 and aarch64 (manylinux_2_28), macOS arm64 and x86_64, and
46
+ Windows x86_64, each tested on CPython 3.10 and 3.14 on its own OS with
47
+ Cargo absent, with casacure as a second oracle of the table reader and
48
+ writer. A `v*` tag that equals the `pyproject.toml` version attaches the
49
+ wheels and the sdist to a GitHub release and publishes them to PyPI by
50
+ trusted publishing. The sdist holds only the crates, the Python package
51
+ and the tests the wheel runs.
52
+
53
+ **Documentation.** A Sphinx site (<https://pythonic.nl/rang-core/>)
54
+ with installation, concepts, the command line, the API reference and the
55
+ research story; five executed tutorial notebooks (data and rank, flagging
56
+ step by step, gains and TV, imaging, the flagging experiment) and two
57
+ science notebooks (the gain-TV verdict; beam and pointing).
58
+
59
+ **Science verdicts.** The gain-TV-guided flagging experiment is closed as
60
+ null: on LUNO 1934−638 at four stations and across the whole array, on
61
+ PKS 1830−211 under a stored and a scalar model, under CARACal's field model
62
+ and with a closure-invariant arm, 90 pre-registered calls gave 64 null and
63
+ 26 undecidable, none better or worse, and the method costs 4.6–5.9× the
64
+ baseline. The solver study changed no default (the QuartiCal issue 452
65
+ weight fix is opt-in through `RANG_SOLVE_OPTIONS`). For beam and pointing,
66
+ the SARAO holography beam is the reference and the SARAO/SKA Gaussian
67
+ pointing fit is ported bit-exact; the identifiability survey finds
68
+ per-antenna pointing and squint constrainable on the calibrator and ESO137
69
+ data, array-common pointing and ellipticity on the ESO137 track, and beam
70
+ width nowhere. Pointing self-calibration against those baselines is the
71
+ next step. Negative results are kept in `research/`.
72
+ This covers a gain-TV-guided threshold policy; a flagger trained on gain TV
73
+ is a separate question, not yet tested.
74
+
75
+ **Provenance and the wheel (wave 4 fixes).** Receipts (`rang.receipt`
76
+ version 3) record every result-affecting `RANG_*` variable from one registry
77
+ and the package source; the solver takes its options as an argument; `commit`
78
+ is null outside a checkout (W4-1). The closure and flux-standard kernels run
79
+ in the extension, so no kernel call builds with Cargo and the wheel is
80
+ self-contained (W4-3).
@@ -0,0 +1,12 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use this software, please cite it with these metadata."
3
+ title: "rang-core"
4
+ type: software
5
+ authors:
6
+ - family-names: "Molenaar"
7
+ given-names: "Gijs"
8
+ repository-code: "https://github.com/gijzelaerr/rang-core"
9
+ url: "https://pythonic.nl/rang-core/"
10
+ license: GPL-3.0-or-later
11
+ version: 0.1.0
12
+ abstract: "MeerKAT calibration, flagging and imaging research on one Rust core, driven from Python."
@@ -0,0 +1,7 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "rang-toy"
7
+ version = "0.1.0"
@@ -0,0 +1,20 @@
1
+ [package]
2
+ name = "rang-toy"
3
+ version = "0.1.0"
4
+ edition = "2024"
5
+ license = "GPL-3.0-or-later"
6
+ publish = false
7
+ readme = "README.md"
8
+
9
+ [lib]
10
+ name = "rang_toy"
11
+ path = "src/lib.rs"
12
+ crate-type = ["rlib"]
13
+
14
+ [[bin]]
15
+ name = "rang-toy"
16
+ path = "src/main.rs"
17
+
18
+ [profile.release]
19
+ lto = "thin"
20
+ codegen-units = 1