diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 21:12:18 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-10 21:12:18 +0800 |
commit | 0c5f23a6c830649437b73e350aedc9a5f7225af6 (patch) | |
tree | bee1201578c97b3fb82cd8cfdd87cd3479befd26 /fg21sim/utils/healpix.py | |
parent | 38089c981dde76dca05856b262322f17777dc7e3 (diff) | |
download | fg21sim-0c5f23a6c830649437b73e350aedc9a5f7225af6.tar.bz2 |
utils/healpix.py: log that HPX indices calculation may take a while.
Diffstat (limited to 'fg21sim/utils/healpix.py')
-rw-r--r-- | fg21sim/utils/healpix.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/utils/healpix.py b/fg21sim/utils/healpix.py index ef1bd22..23562f7 100644 --- a/fg21sim/utils/healpix.py +++ b/fg21sim/utils/healpix.py @@ -178,6 +178,7 @@ def _calc_hpx_indices(nside): shape = (nfacet*nside, nfacet*nside) indices = -np.ones(shape).astype(np.int) logger.info("HPX indices matrix shape: {0}".format(shape)) + logger.info("Calculating the HPX indices ... (may take a while ...)") # # Loop vertically facet-by-facet for jfacet in range(nfacet): |