| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* Avoid the duplicate "@header.setter" in the inherited classes
* Update get-healpix-patch
|
| |
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Functions "{read,write}_fits_healpix()" merged into io.py
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Also update copyright year/email and minor cleanups
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
| |
Update to use the global CONFIGS and COSMO
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
|
|
| |
* Update copyright
* Add a help on "DEBUG_FG21SIM"
* Also fix a bug in cosmology setup()
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
| |
|
| |
|
|
|
|
|
| |
The `bin/make-ska1low-model` executable uses `telescope.py` to generate
the SKA1-low telescope model for OSKAR simulation usage.
|
| |
|
|
|
|
| |
Thus, the usage information can be printed out quickly :)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
NOTE:
By using the "tornado.options", each module can defines its own
options, which are added to the global namespace.
And the defined options can also be used by other modules.
|
|
|
|
|
| |
Move the "IndexHandler" to separate module located at the "handlers/"
directory.
|
| |
|
| |
|
|
|
|
|
| |
Now, by default, this executable will open the Web UI in a new browser
tab, unless the "--no-browser" argument presents
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The "tornado.options" can be used in the *global scope*, therefore,
the command line arguments can be stored in the options and then
import the options in other modules if needed.
* Add argument "--hosts-allowed", which specifies the hosts/network can
access the Web UI (i.e., WebSocket)
* Add argument "--no-browser", which controls whether to open the Web UI
in a browser after startup. (TODO)
|
|
|
|
|
|
| |
* bin/fg21sim: Simplify the "log_stream" assignment
* bin/fg21sim-webui: Also enable debug logging when turning on debug
flag for the tornado; also update the docstring a little.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Since some modules (e.g., healpix.py) under "utils" involves Numba JIT
optimization, which significantly slows the start-up speed, even some
consumers (e.g., bin/fg21sim-webui) do not need them at all.
Fix various import statements of other modules.
NOTE: not test at the moment!
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This script retrieves the galaxy cluster catalog data simulated by the
Hubble Volume Project, and organizes the data to a CSV file.
|
|
|
|
|
| |
This greatly simplifies the "bin/fg21sim" script, and also makes the
script more generic.
|
| |
|
|
|
|
| |
Also update the general config for the new "galactic/snr" component.
|
|
|
|
| |
This script invokes the data/snr.py .
|
| |
|
|
|
|
|
|
|
|
|
| |
* bin/fg21sim: check the "common/components" config to simulate the
enabled components;
* bin/fg21sim: add Galactic free-free component support;
* galactic/freefree.py: fix missing attributes.
NOTE: simulated free-free maps are WRONG!! Need check/debug!
|
|
|
|
|
|
|
| |
The missing pixels in the reprojected HEALPix map are filled with the
averages of their 8 neighboring pixels (excluding the NaN's if any).
Also add the "--inpaint" argument to the executable script.
|
|
|
|
|
|
|
| |
The mask array has values 0, 1, and 2, which indicate the different
statuses of the reprojected HEALPix pixels.
Also update the executable script to use the new return results.
|
|
|
|
|
|
|
|
| |
The script takes the two ZEA-projected FITS images, reproject them to
the full-sky HEALPix map in Galactic frame with RING ordering.
TODO:
* Add argument "--inpaint" after implement the inpainting function.
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new executable "bin/fg21sim"
* galactic/synchrotron: update to use "configs.get_path()"
* galactic/synchrotron: create output dir if not exists
* galactic/synchrotron: add logging support
* galactic/synchrotron: append FITS extension to filename
* galactic/synchrotron: pass the basic test
TODO:
* "output()" needs fixes with the FITS header
|
| |
|
|
|
|
|
|
| |
* Argument "--log" control the log level
* Argument "--logfile" to log the messages to file
* Argument "--quiet" to disable logging messages to screen
|
| |
|
|
|