aboutsummaryrefslogtreecommitdiffstats
path: root/astro/21cm
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-22 22:24:24 +0800
committerAaron LI <aly@aaronly.me>2017-11-22 22:24:24 +0800
commit7f2c4e55d04ba56e304d7aeca47a84c4aecb260d (patch)
treecbee618fcbf05be7cf95bc8f4410b2e99aaaf424 /astro/21cm
parenta5be7e640b41ab2a13b729fdf7c74ff33af49430 (diff)
downloadatoolbox-7f2c4e55d04ba56e304d7aeca47a84c4aecb260d.tar.bz2
Minor improves to output/logging
Diffstat (limited to 'astro/21cm')
-rwxr-xr-xastro/21cm/cube_mean.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astro/21cm/cube_mean.py b/astro/21cm/cube_mean.py
index a925532..04db27d 100755
--- a/astro/21cm/cube_mean.py
+++ b/astro/21cm/cube_mean.py
@@ -21,7 +21,7 @@ def main():
parser.add_argument("infiles", nargs="+", help="input data cubes")
args = parser.parse_args()
- print("# filename: mean side_length")
+ print("# filename:\t\t mean\t Nside(cubic)")
for f in args.infiles:
cube = np.fromfile(open(f, "rb"), dtype=args.dtype)
sidelen = round(cube.shape[0] ** (1.0/3))