Skip to content

Instantly share code, notes, and snippets.

Avatar

Kistóf Rozgonyi rstofi

  • Munich, Germany
View GitHub Profile
@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
View gridftp_test.sh
#!/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 September 27, 2021 15:53
Code used for a MeerKLASS memo on the importance of OTFM PB correction and the amplitude errors introduced
View considerations_of_PB_correction_for_MeerKLASS_OTFM.py
"""Simple code to re-create OTFM beam smearing plots. For the default plots, and
mathematical background see:
https://ui.adsabs.harvard.edu/abs/2019AAS...23326004B/abstract
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.