| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Major change to the Web UI.
+ The WebSocket is only used to push configurations and logging
messages to the client;
+ The configuration manipulations and console operations are
implemented using the AJAX techniques;
+ Modal box is used to notify the AJAX request results, therefore much
better user experience.
* Several bug fixes to the Web UI.
* Minor improvements to the simulation parts.
* TODO/problems:
+ The console task currently still blocks the Tornado IO loop!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Following major foregrounds have been implemented:
+ galactic/synchrotron
+ galactic/freefree
+ galactic/snr
+ extragalacitc/clusters
+ extragalacitc/pointsources
NOTE: this component needs further refactor, improvements,
integration and tests
* A Web UI build upon the Tornado framework and its WebSocket function
is implemented and is already barely usable.
+ The Web interface is beautiful and reasonable
+ The configurations manipulation part performs quiet well
* However, there are also many problems with the Web UI:
+ The layout should be more compact and concise
+ There should be some popup/tooltip to reflect the operation results
+ The console that start the server task is current *BLOCKING* (i.e.,
synchronous), however, the WebSocket currently (Tornado v4.3) does
not support coroutine for the "on_message" method, which further
hampers the problem been solved.
|
|
|
|
|
|
|
| |
Import from ".foregrounds" involves a lot of imports of other
components, which cause a lot of numba JIT compilations.
Therefore, the simple "import fg21sim" causes a long lag for running the
scripts, e.g., bin/healpix2hpx.
|
|
|
|
|
| |
This module provides a simple/easy-to-use interface to the simulation of
various supported foreground components.
|
| |
|
| |
|
| |
|
|
Credit: https://github.com/kennethreitz/samplemod
TODO: Add the 'docs' part
|