aboutsummaryrefslogtreecommitdiffstats
path: root/astro/21cm/make_lightcone.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-18 12:12:49 +0800
committerAaron LI <aly@aaronly.me>2017-08-18 12:13:39 +0800
commit4858d2775f69e3c2c569ceaa9d8aa48071bd6102 (patch)
treeec9b5d30ff9f4debeb5eaf6b20f308c16856e976 /astro/21cm/make_lightcone.py
parent8a93c569256e4b639ae82292d13d3b20b1dc804c (diff)
downloadatoolbox-4858d2775f69e3c2c569ceaa9d8aa48071bd6102.tar.bz2
get_slice_zfreq.py: Rewrite to work with "make_lightcone.py"
Diffstat (limited to 'astro/21cm/make_lightcone.py')
-rwxr-xr-xastro/21cm/make_lightcone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/21cm/make_lightcone.py b/astro/21cm/make_lightcone.py
index 1e888d0..a17c217 100755
--- a/astro/21cm/make_lightcone.py
+++ b/astro/21cm/make_lightcone.py
@@ -260,7 +260,7 @@ class LightCone:
@property
def header(self):
- dDc = self.configs.Lside / self.configs.Nside
+ dDc = self.configs.Dc_cell
Dc_min, Dc_max = self.configs.Dc_limit
header = fits.Header()
header["BUNIT"] = (self.configs.unit, "Data unit")