Skip to content

Instantly share code, notes, and snippets.

View d3v-null's full-sized avatar

Dev Null d3v-null

View GitHub Profile
@d3v-null
d3v-null / rapthor_toil_htcondor_glidein.md
Created May 19, 2026 07:55
Rapthor on HTConder / Glidein

Rapthor + HTCondor/GlideinWMS: Architecture, Late-Binding, and Integration Options

Technical analysis for radio astronomers and SKA/SRCNet engineers Date: May 2026


1. Background: The Two Systems

1.1 Rapthor

@d3v-null
d3v-null / dug_smearing.md
Created May 15, 2026 03:14
DP3 bandwidth / time smearing test on DUG

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/ \
@d3v-null
d3v-null / rapthor_toil_panda.md
Last active May 13, 2026 07:34
Rapthor / Toil on PanDA

Rapthor + PanDA WMS: Architecture, Late-Binding, and Integration Options

Technical analysis for radio astronomers and SKA/SRCNet engineers Date: May 2026


1. Background: The Two Systems

1.1 Rapthor

@d3v-null
d3v-null / Sky_Simulation_MWA.ipynb
Created October 3, 2025 07:06
karabo MWA ph1 eor0 simulation demo oskar
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@d3v-null
d3v-null / ph3_early_metafix.py
Created May 29, 2025 03:33
mwa phase3 temporary fix needed to process shao receivers
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.""")
@d3v-null
d3v-null / jdgpcube.ipynb
Last active May 9, 2025 07:18
jd gp cube hls vis
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@d3v-null
d3v-null / tap_queries.ipynb
Last active March 11, 2025 03:43
MWA + SRCNet TAP demo
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Residuals

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_angle ensures the phase residuals remain within $[- \pi, \pi]$.

$\chi^2/\text{dof}$

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@d3v-null
d3v-null / wallaby2reg.ipynb
Created November 13, 2024 08:59
wallaby2reg.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.