| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Simulate (giant) radio halos following the "statistical
magneto-turbulent model" proposed by Cassano & Brunetti (2005).
|
| |
|
|
|
|
|
| |
Adopt the finite difference scheme to solve the Fokker-Planck equation,
following Park & Petrosian (1996, ApJS, 103, 255).
|
|
|
|
|
| |
The merger tree is a binary tree that represents the merging (or
formation) history of a cluster.
|
|
|
|
|
|
| |
Mainly the "flat LambdaCDM" and "EdS" cosmological models.
With some useful utility functions.
|
| |
|
| |
|
|
|
|
|
|
| |
Reference:
SKA-TEL-SKO-0000422, revision 02, 2016-05-31, Table 1
http://astronomers.skatelescope.org/wp-content/uploads/2016/09/SKA-TEL-SKO-0000422_02_SKA1_LowConfigurationCoordinates-1.pdf
|
|
|
|
|
| |
The `bin/make-ska1low-model` executable uses `telescope.py` to generate
the SKA1-low telescope model for OSKAR simulation usage.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
XXX/FIXME
---------
Consider the spherical coordination and WCS sky projection!!
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|