aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Numba: disable/restrict the Numba JIT usage; needs refactor -> Cython ...Aaron LI2018-02-022-3/+3
|
* bin/fg21sim: better report the version info with release dateAaron LI2018-01-201-3/+8
|
* bin/fg21sim: add --version argument, and log version informationAaron LI2018-01-201-1/+5
|
* configs: Use lower case for logging levelsAaron LI2017-10-045-10/+10
|
* bin/fg21sim-download-data: Update descriptionAaron LI2017-10-041-2/+3
|
* Update time cost report; Also fix a variable name errorAaron LI2017-09-011-2/+2
|
* Delete obsolete script: bin/fg21sim-download-cluster-dataAaron LI2017-08-271-163/+0
|
* Update logging messages; also remove creator __name__Aaron LI2017-08-261-7/+8
| | | | | This script is invoked on the CLI, and will have __name__ of __main__
* get-healpix-patch: Add argument "--sigma-npix" (default: 2.0)Aaron LI2017-08-261-4/+8
|
* sky.py: Replace @header.setter with method "merge_header()"Aaron LI2017-08-261-1/+1
| | | | | * Avoid the duplicate "@header.setter" in the inherited classes * Update get-healpix-patch
* get-healpix-patch: Update against sky.pyAaron LI2017-08-261-4/+9
|
* bin/get-healpix-patch: Postpone modules import with JITAaron LI2017-08-131-7/+9
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils: Merge fits.py into io.pyAaron LI2017-08-133-3/+3
| | | | | | Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI <aly@aaronly.me>
* Add `fg21sim.share` module to hold globally shared "CONFIGS" & "COSMO"Aaron LI2017-07-3110-11/+11
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Update bin scripts to use global "CONFIGS"Aaron LI2017-07-239-60/+42
| | | | | | Also update copyright year/email and minor cleanups Signed-off-by: Aaron LI <aly@aaronly.me>
* Use all uppercase to identify the global CONFIGS and COSMOAaron LI2017-07-221-10/+10
| | | | | | Update to use the global CONFIGS and COSMO Signed-off-by: Aaron LI <aly@aaronly.me>
* bin/fg21sim: Setup cosmology model at the beginningAaron LI2017-07-211-3/+8
| | | | | | | | * Update copyright * Add a help on "DEBUG_FG21SIM" * Also fix a bug in cosmology setup() Signed-off-by: Aaron LI <aly@aaronly.me>
* 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.