aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-191-4/+6
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* bin/get-healpix-patch: Add argument --smooth and write historyAaron LI2017-06-121-0/+13
|
* uvsim/telescope.py: Add "plot_stations()" and "plot_telescope()"Aaron LI2017-06-011-0/+6
|
* Add uvsim/telescope.py and bin/make-ska1low-modelAaron LI2017-05-311-0/+63
| | | | | The `bin/make-ska1low-model` executable uses `telescope.py` to generate the SKA1-low telescope model for OSKAR simulation usage.
* Add bin/get-healpix-patch: extract patch from HEALPix mapv0.4.2Aaron LI2017-05-271-0/+90
|
* Import modules (with Numba JIT) just before usageAaron LI2016-12-133-7/+9
| | | | Thus, the usage information can be printed out quickly :)
* Implement CLI tool: bin/fg21sim-download-dataAaron LI2016-11-261-1/+49
|
* webui: WSHandler: remove "check_origin()" and "hosts_allowed" optionAaron LI2016-11-231-16/+0
|
* Update the "process time" to "CPU process time"Aaron LI2016-11-211-1/+1
|
* bin/fg21sim: Import "Foregrounds" when using; Add timingAaron LI2016-11-181-3/+18
|
* webui: Move "password" option definition to "login.py"Aaron LI2016-11-171-5/+2
| | | | | | | 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.
* webui: To support password authenticationAaron LI2016-11-151-0/+3
| | | | | Move the "IndexHandler" to separate module located at the "handlers/" directory.
* bin/fg21sim-webui: Add options "host" to allow localhost access onlyAaron LI2016-11-151-5/+16
|
* webui: Replace "make_application()" with Application classAaron LI2016-11-141-2/+2
|
* webui: bin/fg21sim-webui: implement argument "--no-browser"Aaron LI2016-11-101-2/+8
| | | | | Now, by default, this executable will open the Web UI in a new browser tab, unless the "--no-browser" argument presents
* webui: Some minor updatesAaron LI2016-11-091-2/+0
|
* bin/fg21sim-webui: Use "tornado.options" instead of "argparse"Aaron LI2016-11-081-12/+34
| | | | | | | | | | | | * 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: Update "log_stream" and "loglevel" handlingAaron LI2016-11-042-8/+5
| | | | | | * 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.
* Update to use renamed "check_configs()" instead of "validate_configs()"Aaron LI2016-11-041-2/+2
|
* webui: Add "bin/fg21sim-webui" to start the UI serverAaron LI2016-10-301-0/+51
|
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-293-3/+8
| | | | | | | | | | 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!
* bin/fg21sim: Update the import pathAaron LI2016-10-271-1/+1
|
* Check the output file existence firstAaron LI2016-10-273-5/+24
|
* bin/fg21sim-download-cluster-data: Add catalog descriptionAaron LI2016-10-211-0/+37
|
* Add bin/fg21sim-download-cluster-dataAaron LI2016-10-201-0/+131
| | | | | This script retrieves the galaxy cluster catalog data simulated by the Hubble Volume Project, and organizes the data to a CSV file.
* bin/fg21sim: Rewrite to use the interface from foreground.pyAaron LI2016-10-181-44/+5
| | | | | This greatly simplifies the "bin/fg21sim" script, and also makes the script more generic.
* bin/fg21sim: Add one debug before logging availableAaron LI2016-10-171-0/+3
|
* bin/fg21sim: Support new component "galactic/snr"Aaron LI2016-10-171-0/+10
| | | | Also update the general config for the new "galactic/snr" component.
* Add the executable bin/fg21sim-download-snr-dataAaron LI2016-10-151-0/+86
| | | | This script invokes the data/snr.py .
* Fix an import; Update one pattern and a commentAaron LI2016-10-141-1/+0
|
* Update bin/fg21sim to support Galactic free-free componentAaron LI2016-10-111-4/+24
| | | | | | | | | * 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!
* utils: zea2healpix(): Implement inpainting missing pixelsAaron LI2016-10-101-0/+3
| | | | | | | 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.
* utils: zea2healpix() also return the mask arrayAaron LI2016-10-101-5/+5
| | | | | | | 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.
* Add excutable script "bin/zea2healpix"Aaron LI2016-10-101-0/+88
| | | | | | | | 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: Preseve the dtype when read/write FITS filesAaron LI2016-10-102-13/+0
| | | | | | | | * 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
* Update to use the "write_fits_healpix()" functionAaron LI2016-10-051-17/+3
|
* Add bin/fg21sim and some updates to galactic/synchrotronAaron LI2016-10-041-0/+67
| | | | | | | | | | | | * 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
* bin/{healpix2hpx,hpx2healpix}: Use argparse choicesAaron LI2016-10-032-4/+6
|
* Add logging support for "healpix2hpx" & "hpx2healpix"Aaron LI2016-09-293-6/+64
| | | | | | * Argument "--log" control the log level * Argument "--logfile" to log the messages to file * Argument "--quiet" to disable logging messages to screen
* Remove ".py" extension for bin scriptsAaron LI2016-09-272-0/+0
|
* Add console scripts healpix2hpx.py and hpx2healpix.pyAaron LI2016-09-272-0/+124