Energy and polarization based on-line interference mitigation in radio astronomy. Methods are described in this paper.
Python code for on-line RFI mitigation using spectral kurtosis and polarization alignment of radio interferometric data.
Example:
flagpol.py --MS data.MS --finite_prec --time_window_size 10 --freq_window_size 2
will use data.MS
as the input data and perform flagging.
Python code for training a reinforcement learning (RL) agent for optimizing precision of arithmetic operations used in the flagging algorithm.
Example:
main_sac.py --episodes 100000 --seed 3333
will train an RL model to optimize the precision of the computing routines (cuda, 32 bit or 16 bit) using the soft actor-critic algorithm.
pytorch, numpy, scipy, python-casacore, gymnasium, matplotlib
wo 1 jan 2025 11:43:01 CET