Technical analysis for radio astronomers and SKA/SRCNet engineers Date: May 2026
This didn't work but I'm documenting it here in case I want to try it again.
take calibration solutions, fit linear model, update cable lengths in metafits before a second round of preprocessing.
singularity shell --cleanenv --bind /data/curtin_mwaeor/src/mwa-demo/demo:/demo --bind $PWD --workdir $PWD /data/curtin_mwaeor/singularity/mwa-demo_autos_cuda12.5.1.sif
/demo/82_calfit.py \
--metafits /data/curtin_mwaeor/dev/1274010302/raw/1274010302.metafits \
--solns /data/curtin_mwaeor/dev/1274010302/hyp_soln_1274010302_kr_75-1667l_src1k_500it_sdc50_el36.692.fits \
--name hyp_soln --out-dir /data/curtin_mwaeor/dev/1274010302/ \
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from astropy.io import fits | |
| from pprint import pprint | |
| import numpy as np | |
| from sys import argv | |
| from os.path import exists | |
| path = argv[-1] | |
| if not exists(path): | |
| print(f"""Usage: {argv[0]} <metafits> | |
| File {path} does not exist.""") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Differences between the observed and modeled values:
r_i = wrap_angle( angle(solution) - angle(constructed) )-
angle(solution)is the phase of the calibration solution (input data) -
angle(constructed)is the phase of the model fit, -
wrap_angleensures the phase residuals remain within$[- \pi, \pi]$ .
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder