Skip to content

Instantly share code, notes, and snippets.

View rstofi's full-sized avatar

Kistóf Rozgonyi rstofi

  • Budapest, Hungary
View GitHub Profile
@rstofi
rstofi / quick_and_dirty_RGB_cookbook.md
Last active July 28, 2023 15:27
Quick and dirty guide for reducing OTF data on RBG

OTF imaging cookbook for RBG


A quick and dirty guide to reduce OTF data on RBG.


Data preparation


All raw data should live under /project/ls-mohr/MeerKAT/raw/{obs_ID}

@rstofi
rstofi / gridftp_test.sh
Created July 5, 2022 14:35
Shell script to simulate mock data and perform grid transform tests between teo servers using the gridftp protocol via the globus-url-copy tool
#!/bin/bash
#Generate random files for a simple grid transfer tests and performs the given tests
#NOTE only generating the data and the last test
#(RUN_COMPLEX_P_AND_BS_GRID_TRANSFER_TEST) should be performed
#
#This test performs transfers with all combinations of the given:
# - data sizes (Ns)
# - number of threads (Np)
@rstofi
rstofi / considerations_of_PB_correction_for_MeerKLASS_OTFM.py
Last active December 7, 2023 17:06
Code used for a MeerKLASS memo on the importance of OTFM PB correction and the amplitude errors introduced
"""Simple code to re-create OTFM beam smearing plots. For the default plots, and
mathematical background see:
https://iopscience.iop.org/article/10.3847/1538-4357/aaef7c/pdf
Also, the effect is computed and results are re-computed for MeerKAT. Both for
constant RA and constant elevation (MeerKLASS)
The code is based on a circular GAussian beam input for now.