diff options
author | Aaron LI <aly@aaronly.me> | 2017-12-06 10:14:46 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-12-06 10:14:46 +0800 |
commit | ff65262fad66900097c9e4af53027381cda5ad02 (patch) | |
tree | c7fd56316f810eda06c457c02a501fe4d1797502 /astro/eor_window.py | |
parent | 84e43886b4ff16f17cac3d06f0d5d44d6aa0eacb (diff) | |
download | atoolbox-ff65262fad66900097c9e4af53027381cda5ad02.tar.bz2 |
astro/ps2d.py: Use 1.4826*MAD to replace 68% percentile range
Also save the averaging cell numbers in the output FITS file, therefore the
output file format is CHANGED!
Diffstat (limited to 'astro/eor_window.py')
-rwxr-xr-x | astro/eor_window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/eor_window.py b/astro/eor_window.py index 2a557c9..71f4cc2 100755 --- a/astro/eor_window.py +++ b/astro/eor_window.py @@ -80,7 +80,7 @@ class PS2D: with fits.open(infile) as f: self.header = f[0].header self.ps2d = f[0].data[0, :, :] - self.ps2d_err = (f[0].data[1, :, :] + f[0].data[2, :, :]) / 2 + self.ps2d_err = f[0].data[1, :, :] self.freqc = self.header["Freq_C"] self.freqmin = self.header["Freq_Min"] self.freqmax = self.header["Freq_Max"] |