aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clusters/mergertree.py: Add function "show_mtree()"Aaron LI2017-07-191-0/+32
| | | | | | | This function traces the main cluster and print its formation history to the screen, for easier illustration and examination. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: Add and save catalog comments for columnsAaron LI2017-07-191-6/+18
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* dataframe_to_csv(): Add parameter "comment"Aaron LI2017-07-191-4/+17
| | | | | | Also write the writer and datetime to header by default. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/main.py: GalaxyClusters implements some basic methodsAaron LI2017-07-191-8/+130
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* sky.py: Implement "random_points()" methodAaron LI2017-07-191-6/+85
| | | | | | Generate requested number of random points within the sky. Signed-off-by: Aaron LI <aly@aaronly.me>
* configs: Update default valuesAaron LI2017-07-192-12/+8
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* sky.py: frequency has implicit unit "MHz"Aaron LI2017-07-191-11/+22
| | | | | | And some minor updates Signed-off-by: Aaron LI <aly@aaronly.me>
* Small updates to comments and configuration descriptionsAaron LI2017-07-192-15/+19
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* sky.py: Default to assume a flat sky for patchAaron LI2017-07-191-5/+10
| | | | | | Use "CAR" (Cartesian) projection instead of "TAN" (tangential) projection. Signed-off-by: Aaron LI <aly@aaronly.me>
* Add utils/io.py with function "dataframe_to_csv()"Aaron LI2017-07-191-0/+47
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Use [arcsec] as the unit for pixel size and resolutionAaron LI2017-07-199-32/+62
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/formation.py: Add "last_major_merger" propertyAaron LI2017-07-191-1/+42
| | | | | | | A new parameter "ratio_major" added to distinguish between major and minor merger events. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/formation.py: Add method "_trace_main()"Aaron LI2017-07-191-10/+77
| | | | | | Also update "simulate_megertree()" default to trace only the main cluster. Signed-off-by: Aaron LI <aly@aaronly.me>
* clusters/formation.py: Simplify parameters handlingAaron LI2017-07-191-28/+24
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/transform.py: Add function "circle2ellipse()"Aaron LI2017-07-181-0/+40
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* Rename utils/rotate.py to utils/transform.pyAaron LI2017-07-182-4/+5
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/draw.py: Add function circle()Aaron LI2017-07-181-1/+62
| | | | | | Draw a circle at the center of the output grid with radial profile Signed-off-by: Aaron LI <aly@aaronly.me>
* uvsim/telescope.py: Fix station diameter to 35.0 [m]Aaron LI2017-07-041-1/+5
| | | | Also add a reference for minimum antenna separation of 1.5 [m].
* README.rst: warn that the documentation is out-of-date!Aaron LI2017-06-251-0/+4
|
* LICENSE: update copyright yearAaron LI2017-06-251-1/+1
|
* halo.py: Fix wrong cosmo.age() usageAaron LI2017-06-251-1/+1
|
* solver.py: Fix coefficients calculation w.r.t. escape termAaron LI2017-06-251-5/+6
|
* solver.py: Add example for TDMAsolver()Aaron LI2017-06-251-0/+16
|
* clusters/solver.py: Split methods bound_w/Wplus/WminusAaron LI2017-06-251-14/+36
| | | | Also change an INFO message to be DEBUG level.
* clusters/solver.py: Fix "fix_boundary()" and remove a warningAaron LI2017-06-251-6/+5
|
* clusters/solver.py: Support escape termAaron LI2017-06-251-5/+12
|
* halo.py: Add argument "n0_e" to method "calc_electron_spectrum()"Aaron LI2017-06-241-4/+10
|
* halo.py: Split out property "_chi_data"Aaron LI2017-06-241-31/+31
|
* halo.py: Add property "pgrid" as same as it is in slover.pyAaron LI2017-06-241-0/+10
|
* halo.py: use age at cluster redshift z0 instead of present dayAaron LI2017-06-241-6/+12
|
* halo.py: Add property "zgrid" as well as config option "zbinsize"Aaron LI2017-06-242-1/+11
|
* Revert "utils/convert.py: Use 'utils.units' module"Aaron LI2017-06-241-7/+6
| | | | | | This reverts commit eb660ae70db40d36418f1e4eb886fd9bb02af1a7. Numba cannot recognize AUC/AC classes, or needs further updates
* clusters/halo.py: calculate electron density default end at z0Aaron LI2017-06-231-10/+12
|
* mergertree.py: axes.hold() is deprecated and it is True by defaultAaron LI2017-06-231-1/+0
|
* halo.py: calculate magnetic field using a scaling relationAaron LI2017-06-232-11/+29
|
* halo.py + formation.py: Add argument z0Aaron LI2017-06-232-7/+18
|
* cosmology: Use default parameters from configurationsAaron LI2017-06-232-1/+7
| | | | Also add configuration option "cosmology/Omegab0".
* emission.py: Add power(), flux(), brightness() methodsAaron LI2017-06-231-25/+111
|
* utils/convert.py: Use 'utils.units' moduleAaron LI2017-06-231-6/+7
|
* utils/units.py: Add "rad2deg" and "k_B"Aaron LI2017-06-231-1/+5
|
* utils/cosmology: Add methods DL() and DA()Aaron LI2017-06-191-0/+14
|
* sky.py: Write PIXELSIZE, RA0, and DEC0 to header for patch skyAaron LI2017-06-191-0/+3
|
* Use keyword "BUNIT" and unit "K"Aaron LI2017-06-135-5/+5
|
* Fix GalaxyClusters importAaron LI2017-06-131-2/+2
|
* configs: Default to disable all foregroundsAaron LI2017-06-131-4/+4
|
* bin/get-healpix-patch: Add argument --smooth and write historyAaron LI2017-06-121-0/+13
|
* sky.py: Fix mkdir when the directory name is emptyAaron LI2017-06-121-2/+2
|
* clusters.py: Fix calculation on size_{major,minor}Aaron LI2017-06-111-15/+20
| | | | | | | | The size_{major,minor} should be the major and minor (not semi-) axes of the cluster halo; but I originally calculated them as the semi-major and semi-minor axes. Also change the units of size_{major,minor} from [deg] to [arcmin].
* galactic/snr.py: Explain size_{major,minor} are diameter valuesAaron LI2017-06-111-4/+6
|
* configs: extragalactic/halos: change "radius_halo" to "radius"Aaron LI2017-06-012-10/+9
|