Rfi algorithm exploration - Arizona State University
rfi_algorithm_exploration
May 11, 2020
1 Exploration of RFI Algorithms
In this memo, we explore the RFI algorithms present in edges-cal.xrfi using some real data. The intent is that this memo will be evolving as new RFI algorithms are added, or new features. The data we use is from day 76 of 2020. The data is calibrated using the calibration observation from November 2019. We are not so concerned about the calibration accuracy here, or the performance of the data itself ? we just need a set of data with RFI in it to extract. First import the libraries we need: [19]: %load_ext autoreload %autoreload 2
%matplotlib inline import matplotlib.pyplot as plt
from edges_analysis.analysis import Level1, tools from edges_cal import xrfi from edges_cal.modelling import ModelFit import numpy as np
import time
The autoreload extension is already loaded. To reload it, use: %reload_ext autoreload
1.1 Data Reading and Exploration
Now read the data (it has been pre-calibrated using edges-analysis calibrate). No RFI flagging was performed on the raw spectra in Level1, so that we can test our xRFI routines from scratch: [3]: data = Level1("/data5/edges/data/steven-level-cache/level1/
deb0bda3870d13dba0348fa7c2c3f26f/2020_076_01_10_48.h5")
We make a plot of the input raw spectra, averaged over time:
1
[6]: fig, ax = plt.subplots(3, 1, sharex=True, figsize=(12, 6), gridspec_kw={"hspace":0.01})
data.plot_time_averaged_spectrum('Q', logy=False, ax=ax[0]) ax[0].set_ylim(0, 4) data.plot_time_averaged_spectrum('spectrum', logy=False, ax=ax[1]) ax[1].set_ylim(0, 10000) data.plot_time_averaged_spectrum('p0', ax=ax[2]) data.plot_time_averaged_spectrum('p1', ax=ax[2]) data.plot_time_averaged_spectrum('p2', ax=ax[2]) ax[2].set_ylim(3e-9, 7e-8);
[7]: print(f"The number of integrations in the file is {data.spectrum.shape[0]}.") The number of integrations in the file is 91 Let's also show a plot of the unitless power-ratio, Q (we choose Q rather than T here because it has lower dynamic range, making it easier to see RFI spikes):
[10]: fig, ax = plt.subplots(1, 1, figsize=(15, 4)) ax.imshow( data.spectra['Q'], aspect='auto', extent=(data.raw_frequencies.min(), data.raw_frequencies.max(), 0, data. spectrum.shape[0]), vmin=0, vmax=4 );
2
It's clear that some of the RFI is conregating on certain channels, while other is more time-based.
1.2 Perform xRFI
[11]: l1_spectrum = data.spectrum.copy() l1_flags = data.weights ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- matplotlib tutorial
- documentation
- goes 16 in the classroom using python unidata home
- rfi algorithm exploration arizona state university
- 1 lecture 17 introduction to computer vision
- 6 advanced plotting mubdi rahman
- python tutorial netcdf
- Міністерство освіти і науки молоді та спорту України
- com
- final review overview
Related searches
- arizona state university financial statements
- arizona state university master programs
- arizona state university tuition
- arizona state university grading scale
- arizona state university grad programs
- arizona state university electrical engineering
- arizona state university course catalog
- arizona state university tuition costs
- arizona state university online degrees
- arizona state university college code
- arizona state university finance degree
- arizona state university grading