Skip to content

Instantly share code, notes, and snippets.

View SpheMakh's full-sized avatar

Sphesihle Makhathini SpheMakh

View GitHub Profile
#format: name ra_d dec_d i spi freq0 emaj_s emin_s pa_d
A 0 -30 7 -0.7 750e6 0 0 0
B 0.05 -30.005 7 -0.6 750e6 2 2.5 45
C -0.05 -29.995 10 -0.67 750e6 4 4 75
E 0.006 -30.001 5 -0.87 750e6 3 5 60
F -0.06 -29.991 1 -0.68 750e6 0 0 0
"data-ms" : ms,
"data-column" : "DATA",
"out-column" : "ROUND2_DATA",
"weight-column" : "WEIGHT",
"out-subtract-dirs" : "1:",
"sol-jones" : "G,DD",
"sol-min-bl" : 300,
"g-clip-high" : 1.5,
"g-clip-low" : 0.5,
"g-solvable" : True,
@SpheMakh
SpheMakh / stimela_singularity.md
Last active June 3, 2019 09:22
Stimela with singularity

You have to use singularity now. Do this:

create a folder in your home called "STIMELA_IMAGES"

mkdir $HOME/STIMELA_IMAGES

add an environment variable called "STIMELA_IMAGES_PATH" (add it at the bottom of your $HOME/.bashrc file

export STIMELA_IMAGES_PATH=$HOME/STIMELA_IMAGES

Keybase proof

I hereby claim:

  • I am sphemakh on github.
  • I am sphemakh (https://keybase.io/sphemakh) on keybase.
  • I have a public key ASCiXP3o1Qr4AJ31UdIV2Y7i5mqVp5jfsFHiklu_tI34Wwo

To claim this, I am signing this object:

@SpheMakh
SpheMakh / wsclean-idg_Dockerfile
Last active April 7, 2020 14:21
wsclean with IDG (CPU only)
FROM kernsuite/base:5
MAINTAINER <[email protected]>
RUN docker-apt-install cmake \
wget \
subversion \
build-essential \
cmake \
gfortran \
g++ \
libncurses5-dev \
@SpheMakh
SpheMakh / katdal_download.py
Created May 27, 2024 09:05
katdal download workaround
import stimela
import time
INDIR = "input"
MSDIR = "msdir"
URL = "PLACE YOUR DOWNLOAD LINK and TOKEN HERE"
MS = "NAME OF OUTPUT MS HERE"
stimela.register_globals()