| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also fix a typo in configs/checkers.py
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
NOTE: only TAN sky projection supported.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
Flatten the image array to 1D makes it similar to the HEALPix map array,
therefore, it is easier to deal with both cases.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Update checkers accordingly
|
|
|
|
| |
Also update copyright information.
|
| |
|
|
|
|
| |
Also update copyright information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* Fix the bug that "ellipse()" generate unexpected results.
* Update the parameters of "ellipse()" also
|
|
|
|
|
| |
This bug causes wrong ellipse generation, which is the main reason to
the strange and wrong SNRs shapes.
|
| |
|
| |
|
|
|
|
| |
Thus, the usage information can be printed out quickly :)
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Credit:
"JavaScript: The Good Parts" by Douglas Crockford
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Also update the README.rst a bit
|
| |
|
|
|
|
|
|
| |
Workaround for nested inline markups:
http://docutils.sourceforge.net/FAQ.html#is-nested-inline-markup-possible
https://stackoverflow.com/a/4836544/4856091
|
|
|
|
| |
And other minor fixes/changes.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
When the value of a configuration field is updated by jQuery ".val()",
trigger the "Enter keypress" event to update its related contents, e.g.,
the resolution note for "common/nside".
Remove the wrong "Enter keypress" event triggering on page loading.
|
| |
|