mesarcik / RFI-NLN

Code for paper entitled "Learning to detect RFI in radio astronomy without seeing it"
https://academic.oup.com/mnras/advance-article/doi/10.1093/mnras/stac2503/6692884
MIT License
9 stars 6 forks source link

Finalising results #6

Closed mesarcik closed 2 years ago

mesarcik commented 2 years ago

HERA:

I have fixed the simulator such that the proper models of source, gain, fluctuations, cross talk and rfi are simulated. The generation script will need to be refactored and comitted to the repo. Below an example of the simluator outputs can be shown:

5_2_xx

Intermedia performance evaulation:

TODO

LOFAR

I am still labelling the LOFAR data, hopefully this can be completed sooner than later.

mesarcik commented 2 years ago

Replication of HERA sim paper:

Here, we see a measured visibility expressed as a discrete sum over point sources, each entering at a different delay with a different inherent frequency spectrum. The delay transform maps flux from each celestial source to a Dirac delta function, δD, centered at the corresponding group delay, convolved by a kernel representing the Fourier transforms of frequency-dependent interferometer gains, A˜(τ, sˆn), and the inherent spectrum of each source, S˜ n.

Finalised training set:

power-law temperature with 180 K at 180 MHz and spectral index of -2.5

- We add the RFI stations models as defined in the simulator generated by the ORBCOMM satelites
- We add DTV RFI with default parameters 
- Impulse and Noise like RFI as well with default parameters 
- Then cross talk is added that is modelled by the convolution between noise and the simulated visibilities (as described in the paper) 
-   Finally we apply a bandpass model (with varying gains, and group delays per station) 

Diffuse foregrounds:

foreground

RFI

scatter

Instrumentation noise

noise

Cross coupling

xtalk

Bandpass effects

bandpass

mesarcik commented 2 years ago

Experiments ran for HERA

OOD RFI

Analysis:

Metric sensitivity to AO flagger threshold:

thresholds

mesarcik commented 2 years ago

Boosting results

Analysis of metrics

!!! Figure!!!

More work:

Clippping at 100

12

Illustration of potential fixes

35

Adding a roll:

-it fixes the problem, but introduces another one, AUPRC, AUROC decrease but IOU increases by like 10 percent

Fixed

131

More problems

mesarcik commented 2 years ago

Some hera results to discuss:

New fixed results:

mesarcik commented 2 years ago

AO Flagger threshold results analysis

thresholds

53

mesarcik commented 2 years ago

Breaking points:

Potentially reason for low AUROC

mesarcik commented 2 years ago

Fixes to clipping issues:

thresholds rfi

mesarcik commented 2 years ago

LOFAR Results:

First experiment

thresholds

mesarcik commented 2 years ago

Distributions of labelled data

hist

mesarcik commented 2 years ago

LOFAR Results:

Training set Model AUROC AUPRC
N/A AOFlagger 0.7883 0.5716
L631961 UNET 0.7332 0.6070
L631961 NLN 0.8525 0.6000
- - - -
L629174 UNET 0.7948 0.5220
L629174 NLN 0.8893 0.6142

(note results taken from gpu-01: outputs/results_LOFAR_04-21-2022-04-29_26c2a9.csv and gpu-02: outputs/results_LOFAR_04-21-2022-06-25_f4a439.csv)

NLN modifications

35

mesarcik commented 2 years ago

final resultls: