| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
* 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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This new handler is based on the "StaticFileHandler", and will be used
to serve the simulated products for downloading.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Tested on both Firefox (v45.4) and Chromium (v53.0).
Credit: https://stackoverflow.com/a/23374725/4856091
|
| | |
|
| |
|
|
|
| |
The new method "_open_hpx()" is added to open the requested the HPX FITS
image using the Python subprocess.
|
| |
|
|
|
| |
This new method will be used by the "ProductsAJAXHandler" for the "open"
and "download" actions.
|
| |
|
|
|
| |
Refactor the "click" event handler on "common/nside" to avoid the
duplicated code on resolution calculation.
|
| |
|
|
|
|
|
|
| |
The "which" GET action try to locate the given executable name/path, in
order to check whether the executable callable.
This function will be used to check the validity of the specified FITS
viewer, which opens the HPX FITS images.
|
| | |
|