diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 00:29:31 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 00:29:31 +0800 |
commit | c1c5b3d5e899f8e385c90aae4ff881ecad3c7422 (patch) | |
tree | f8e1a627bb437ba04ef78558507f532f31181763 /fg21sim/utils/__init__.py | |
parent | cbbd8eec608ac6d1b037e33ecbe0b76c4bfa6ccc (diff) | |
download | fg21sim-c1c5b3d5e899f8e385c90aae4ff881ecad3c7422.tar.bz2 |
utils: Preseve the dtype when read/write FITS files
* utils/fits.py: hack the dtype to ignore the byteorder (FITS data use
big endianness, e.g., dtype(">f4"))
* utils/healpix.py: explicit convert the dtype and log the dtype
* bin/healpix2hpx, bin/hpx2healpix: remove the --float argument
* other minor fixes/updates
Diffstat (limited to 'fg21sim/utils/__init__.py')
0 files changed, 0 insertions, 0 deletions