Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | halo.py: Force a minimal value on acceleration coefficient | Aaron LI | 2017-06-01 | 3 | -3/+27 |
| | | | | | | | To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5 | ||||
* | cosmology.py: Greatly optimize the speed! | Aaron LI | 2017-06-01 | 1 | -26/+57 |
| | |||||
* | cosmology.py: Only support flat ΛCDM cosmological model | Aaron LI | 2017-06-01 | 1 | -93/+25 |
| | |||||
* | clusters/halo: Add missing config "buffer_np" | Aaron LI | 2017-06-01 | 2 | -0/+7 |
| | |||||
* | clusters/solver.py: Extrapolate the x grid to avoid NaN's | Aaron LI | 2017-06-01 | 1 | -5/+15 |
| | |||||
* | clusters/solver.py: Disable a RuntimeWarning | Aaron LI | 2017-06-01 | 1 | -2/+4 |
| | |||||
* | clusters/clusters.py: Fix import path | Aaron LI | 2017-06-01 | 1 | -6/+6 |
| | |||||
* | Add "[extragalactic/halos]" configurations | Aaron LI | 2017-06-01 | 1 | -0/+44 |
| | |||||
* | Add clusters/halo.py: simulate single halo for cluster | Aaron LI | 2017-06-01 | 1 | -0/+698 |
| | | | | | Simulate (giant) radio halos following the "statistical magneto-turbulent model" proposed by Cassano & Brunetti (2005). | ||||
* | cosmology.py: Change name to "Cosmology"; Add "age0" and "Ob0" | Aaron LI | 2017-06-01 | 1 | -3/+18 |
| | |||||
* | Add clusters/solver.py to solve the Fokker-Planck equation | Aaron LI | 2017-06-01 | 1 | -0/+276 |
| | | | | | Adopt the finite difference scheme to solve the Fokker-Planck equation, following Park & Petrosian (1996, ApJS, 103, 255). | ||||
* | Add clusters/mergertree.py | Aaron LI | 2017-06-01 | 1 | -0/+77 |
| | | | | | The merger tree is a binary tree that represents the merging (or formation) history of a cluster. | ||||
* | Add clusters/cosmology.py with common cosmological models | Aaron LI | 2017-06-01 | 1 | -0/+230 |
| | | | | | | Mainly the "flat LambdaCDM" and "EdS" cosmological models. With some useful utility functions. | ||||
* | Make separate directory for clusters, prepare for halo simulations | Aaron LI | 2017-06-01 | 3 | -4/+4 |
| | |||||
* | uvsim/telescope.py: Add "plot_stations()" and "plot_telescope()" | Aaron LI | 2017-06-01 | 2 | -8/+85 |
| | |||||
* | Add uvsim/ska1low.layout.txt: SKA1-low layout v2.0 2016-05-31 | Aaron LI | 2017-05-31 | 1 | -0/+538 |
| | | | | | | 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 | ||||
* | Add uvsim/telescope.py and bin/make-ska1low-model | Aaron LI | 2017-05-31 | 3 | -0/+283 |
| | | | | | The `bin/make-ska1low-model` executable uses `telescope.py` to generate the SKA1-low telescope model for OSKAR simulation usage. | ||||
* | setup.py: Use `os.listdir("bin/")` to obtain all executables | Aaron LI | 2017-05-31 | 1 | -10/+1 |
| | |||||
* | Add uvsim/wgs84.py: Convert WGS84 to ECEF/ENU coordinates | Aaron LI | 2017-05-31 | 1 | -0/+97 |
| | |||||
* | Add bin/get-healpix-patch: extract patch from HEALPix mapv0.4.2 | Aaron LI | 2017-05-27 | 2 | -3/+94 |
| | |||||
* | sky.py: Fix FITS header write | Aaron LI | 2017-05-27 | 1 | -4/+8 |
| | |||||
* | extragalactic/clusters: Update to use sky.py | Aaron LI | 2017-05-26 | 2 | -78/+91 |
| | |||||
* | extragalactic/clusters: Scale input catalog to match the sky coverage | Aaron LI | 2017-05-26 | 1 | -20/+29 |
| | |||||
* | sky.py: Add "area()" method | Aaron LI | 2017-05-25 | 1 | -0/+21 |
| | | | | | | XXX/FIXME --------- Consider the spherical coordination and WCS sky projection!! | ||||
* | galactic/snr: Update to support the sky.py | Aaron LI | 2017-05-22 | 2 | -103/+119 |
| | | | | Also fix a typo in configs/checkers.py | ||||
* | sky.py: Implement method "reproject_to()" | Aaron LI | 2017-05-22 | 1 | -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 LI | 2017-05-22 | 1 | -0/+54 |
| | |||||
* | utils/grid: Add function "make_ellipse()" | Aaron LI | 2017-05-22 | 1 | -7/+47 |
| | |||||
* | sky/SkyPatch: Add wcs and region coverage check | Aaron LI | 2017-05-22 | 1 | -0/+56 |
| | | | | NOTE: only TAN sky projection supported. | ||||
* | Add new dependence "astropy/regions" from GitHub | Aaron LI | 2017-05-22 | 2 | -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 size | Aaron LI | 2017-05-21 | 1 | -0/+7 |
| | |||||
* | Minor updates to galactic/{freefree,synchrotron}.py | Aaron LI | 2017-05-21 | 2 | -12/+10 |
| | |||||
* | sky.py: Flatten 2D image of sky patch to 1D for easier processing | Aaron LI | 2017-05-21 | 1 | -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.py | Aaron LI | 2017-05-21 | 2 | -70/+54 |
| | |||||
* | galactic/synchrotron: Update to support sky.py | Aaron LI | 2017-05-21 | 3 | -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 map | Aaron LI | 2017-05-21 | 1 | -0/+272 |
| | |||||
* | galactic/synchrotron.py: Fix typo w.r.t. component name | Aaron LI | 2017-05-21 | 1 | -1/+1 |
| | |||||
* | configs : Drop "output/filetype"; only support FITS | Aaron LI | 2017-05-17 | 6 | -31/+3 |
| | |||||
* | configs: New "sky" section, and remove "common" section | Aaron LI | 2017-05-16 | 4 | -39/+69 |
| | | | | * Update checkers accordingly | ||||
* | configs: Use separate section "foregrounds" to config components | Aaron LI | 2017-05-16 | 4 | -31/+63 |
| | | | | Also update copyright information. | ||||
* | README.rst: work on partial-sky simulation; update email | Aaron LI | 2017-05-16 | 1 | -4/+4 |
| | |||||
* | Makefile: Improve venv (can locate at other directory) | Aaron LI | 2017-05-16 | 1 | -7/+7 |
| | | | | Also update copyright information. | ||||
* | Bump to version 0.4.1 with important bug fixesv0.4.1 | Aaron LI | 2016-12-13 | 1 | -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 resolution | Aaron LI | 2016-12-13 | 2 | -3/+4 |
| | |||||
* | utils/draw.py: Merge "_ellipse_in_shape()" to "ellipse()" | Aaron LI | 2016-12-13 | 2 | -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 LI | 2016-12-13 | 1 | -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 it | Aaron LI | 2016-12-13 | 1 | -1/+5 |
| | |||||
* | galactic/snr.py: Update to use "Fnu_to_Tb_fast()"; some cleanups | Aaron LI | 2016-12-13 | 1 | -18/+19 |
| | |||||
* | Import modules (with Numba JIT) just before usage | Aaron LI | 2016-12-13 | 3 | -7/+9 |
| | | | | Thus, the usage information can be printed out quickly :) | ||||
* | products.py: Add parameter "load" to __init__() | Aaron LI | 2016-12-09 | 2 | -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. |