aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* extragalactic/clusters: Scale input catalog to match the sky coverageAaron LI2017-05-261-20/+29
|
* sky.py: Add "area()" methodAaron LI2017-05-251-0/+21
| | | | | | XXX/FIXME --------- Consider the spherical coordination and WCS sky projection!!
* galactic/snr: Update to support the sky.pyAaron LI2017-05-222-103/+119
| | | | Also fix a typo in configs/checkers.py
* sky.py: Implement method "reproject_to()"Aaron LI2017-05-221-8/+102
| | | | | | | | | | This method reproject the given sky/image onto the grid of its own, using the ``reproject`` package [1]. However, the performance may be a problem and needs optimization or rewrite. [1] reproject: https://github.com/astrofrog/reproject
* Add utils/wcs.py with function "make_wcs()"Aaron LI2017-05-221-0/+54
|
* utils/grid: Add function "make_ellipse()"Aaron LI2017-05-221-7/+47
|
* sky/SkyPatch: Add wcs and region coverage checkAaron LI2017-05-221-0/+56
| | | | NOTE: only TAN sky projection supported.
* Add new dependence "astropy/regions" from GitHubAaron LI2017-05-222-0/+4
| | | | | | | | Credit: * Adding git (or hg, or svn) dependencies in setup.py (Python) https://mike.zwobble.org/2013/05/adding-git-or-hg-or-svn-dependencies-in-setup-py/ * Python Dependencies via Pip https://devcenter.heroku.com/articles/python-pip
* configs/checkers: Check SNR simulation resolution against pixel sizeAaron LI2017-05-211-0/+7
|
* Minor updates to galactic/{freefree,synchrotron}.pyAaron LI2017-05-212-12/+10
|
* sky.py: Flatten 2D image of sky patch to 1D for easier processingAaron LI2017-05-211-14/+21
| | | | | Flatten the image array to 1D makes it similar to the HEALPix map array, therefore, it is easier to deal with both cases.
* galactic/freefree: Update to support sky.pyAaron LI2017-05-212-70/+54
|
* galactic/synchrotron: Update to support sky.pyAaron LI2017-05-213-117/+121
| | | | | | | * Also update foregrounds.py to use sky.py * Minor fixes to configs/manager.py TODO: update synchrotron/add_smallscales() to also work with sky patch.
* Add sky.py to support both sky patch and HEALPix all-sky mapAaron LI2017-05-211-0/+272
|
* galactic/synchrotron.py: Fix typo w.r.t. component nameAaron LI2017-05-211-1/+1
|
* configs : Drop "output/filetype"; only support FITSAaron LI2017-05-176-31/+3
|
* configs: New "sky" section, and remove "common" sectionAaron LI2017-05-164-39/+69
| | | | * Update checkers accordingly
* configs: Use separate section "foregrounds" to config componentsAaron LI2017-05-164-31/+63
| | | | Also update copyright information.
* README.rst: work on partial-sky simulation; update emailAaron LI2017-05-161-4/+4
|
* Makefile: Improve venv (can locate at other directory)Aaron LI2017-05-161-7/+7
| | | | Also update copyright information.
* Bump to version 0.4.1 with important bug fixesv0.4.1Aaron LI2016-12-131-1/+1
| | | | | | | | | | | | | | * Fix two serious bug in "utils/draw.py", which causes the generated ellipses are wrong (like rectangles), and thus leads to wrong simulation shapes for SNRs, clusters, etc. * Also clean up "utils/draw.py" by merging the "_ellipse_in_shape()" function into "ellipse()". * Update "galactic/snr.py" to use the JIT-optimized "Fnu_to_Tb_fast()" function. * Other small changes/updates.
* galactic/snr.py: Small cleanup; Update default resolutionAaron LI2016-12-132-3/+4
|
* utils/draw.py: Merge "_ellipse_in_shape()" to "ellipse()"Aaron LI2016-12-132-85/+25
| | | | | * Fix the bug that "ellipse()" generate unexpected results. * Update the parameters of "ellipse()" also
* utils/draw.py: Fix a wrong brace in "_ellipse_in_shape()"Aaron LI2016-12-131-1/+1
| | | | | This bug causes wrong ellipse generation, which is the main reason to the strange and wrong SNRs shapes.
* galactic/snr.py: Use HEALPix pixel area if object smaller than itAaron LI2016-12-131-1/+5
|
* galactic/snr.py: Update to use "Fnu_to_Tb_fast()"; some cleanupsAaron LI2016-12-131-18/+19
|
* Import modules (with Numba JIT) just before usageAaron LI2016-12-133-7/+9
| | | | Thus, the usage information can be printed out quickly :)
* products.py: Add parameter "load" to __init__()Aaron LI2016-12-092-7/+11
| | | | | | | | | | The "load" parameter explicitly controls whether to load the specified manifest file. Update "foregrounds.py" to use this new "load" parameter, which prevent the manifest file been loaded. Otherwise, if the output manifest file already exists, it will be loaded to Products, which may cause inconsistencies with the manifest of newly simulated products.
* README.rst: Fix a typoAaron LI2016-12-091-1/+1
|
* webui: configs.html: Fix a typo and change tagAaron LI2016-12-071-1/+1
|
* webui: Use the same "#modal-box" and the "showModal()" functionAaron LI2016-11-289-71/+36
|
* webui: websocket.js: Get rid of the global variablesAaron LI2016-11-281-63/+101
|
* webui: main.js: Add the global object "FG21SIM"Aaron LI2016-11-281-1/+2
|
* webui: Some JavaScript cleanups and refactorsAaron LI2016-11-285-244/+258
| | | | | Credit: "JavaScript: The Good Parts" by Douglas Crockford
* Bump to version 0.4.0v0.4.0Aaron LI2016-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Add "products.py" to build the products manifest and manage the simulation products * Finished the "Products" section (original named "Results") for the Web UI * Fix several client-side bugs, now the Web UI works well on Edge and IE v11 * Tune the Web UI styles and layouts * Significantly improved the README.rst * Add the "docs/" with a simple guide and example and test configuration files * Host the required input templates and catalogs on M$ OneDrive, and generate the "data-manifest.json" manifest * Implement the "bin/fg21sim-download-data" to automatically download the required data
* docs: Add the detailed example configuration fileAaron LI2016-11-261-0/+333
|
* Minor updatesAaron LI2016-11-262-3/+7
|
* Implement CLI tool: bin/fg21sim-download-dataAaron LI2016-11-261-1/+49
|
* utils: Add download.py with function "download_file()"Aaron LI2016-11-261-0/+112
|
* utils: Rename function "md5()" to "calc_md5()"Aaron LI2016-11-262-7/+7
|
* docs: Add data manifest: "data-manifest.json"Aaron LI2016-11-261-0/+38
| | | | | | | | | NOTE: The data files are hosted on the M$ OneDrive, and the direct download link is obtained with some tricks [1]. [1] How to Get Direct Download Link From OneDrive https://metadataconsulting.blogspot.com/2014/05/how-to-get-direct-download-link-from.html
* docs: Add the brief test configuration file "fg21sim-test.conf"Aaron LI2016-11-261-0/+43
|
* Add the simple user guide: docs/guide.rstAaron LI2016-11-262-11/+74
| | | | Also update the README.rst a bit
* README.rst: Add sections Features, Requirements, and InstallationAaron LI2016-11-251-6/+79
|
* README.rst: Add hyper links with nested inline markupsAaron LI2016-11-251-7/+22
| | | | | | Workaround for nested inline markups: http://docutils.sourceforge.net/FAQ.html#is-nested-inline-markup-possible https://stackoverflow.com/a/4836544/4856091
* README.rst: Update WARNING and Requirements; Add "Contributors"Aaron LI2016-11-251-11/+20
| | | | And other minor fixes/changes.
* webui: Replace jQuery.when() with jQuery.Deferred's .then()Aaron LI2016-11-241-5/+5
| | | | | | | | | | Note that jQuery.when() can NOT promise the ordering of the passed Deferred's. Therefore, chain multiple AJAX requests using ".then()" and ".done()" to keep them ordered. This fixes the configurations loading problem on IE (v11), which calls the "when()" arguments in different orders as Firefox and Chromium, thus leads to the wrong results.
* webui: Use new ".getJSONUncached()" instead of ".getJSON()"Aaron LI2016-11-243-7/+7
|
* webui: Extend jQuery with "getJSONUncached()"Aaron LI2016-11-241-6/+27
| | | | | | | | | | This jQuery extension sent the AJAX GET request but force the requested page NOT to be cached by the browser! NOTE: IE will by default cache the GET request even the contents has changed. Credit: https://stackoverflow.com/a/35130770/4856091
* webui: Update modal box stylesAaron LI2016-11-242-28/+43
|