Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters/helper.py: Add "velocity_impact()" and "time_crossing()" | Aaron LI | 2017-07-22 | 1 | -3/+71 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add property "halo_configs" | Aaron LI | 2017-07-22 | 2 | -28/+44 |
| | | | | | | And update the config specification accordingly with some cleanups. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/cosmology.py: Add property "baryon_fraction" | Aaron LI | 2017-07-21 | 1 | -0/+9 |
| | | | | | | XXX: assumed to be independent of redshifts! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add "_magnetic_field()" method | Aaron LI | 2017-07-21 | 2 | -8/+40 |
| | | | | | | Also update the configurations Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Add clusters/helper.py | Aaron LI | 2017-07-21 | 1 | -0/+158 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use the global "cosmo" instance for simplification | Aaron LI | 2017-07-21 | 4 | -53/+34 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Fix parameter names about cosmology | Aaron LI | 2017-07-21 | 2 | -4/+4 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | bin/fg21sim: Setup cosmology model at the beginning | Aaron LI | 2017-07-21 | 1 | -1/+1 |
| | | | | | | | | * Update copyright * Add a help on "DEBUG_FG21SIM" * Also fix a bug in cosmology setup() Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | checkers.py: Drop resolution check to avoid circular importing error | Aaron LI | 2017-07-21 | 1 | -7/+0 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | configs: Default to not generate products manifest | Aaron LI | 2017-07-21 | 1 | -2/+4 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils: Import Cosmology and make "cosmo" a global instance | Aaron LI | 2017-07-21 | 1 | -1/+4 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | cosmology.py: Add "setup()" method to allow update parameters | Aaron LI | 2017-07-21 | 1 | -11/+38 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | configs/manager.py: Add property "cosmology" | Aaron LI | 2017-07-21 | 1 | -0/+15 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | foregrounds.py: Do not create products manifest if not configured | Aaron LI | 2017-07-21 | 1 | -6/+15 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | configs/manager.py: get_path() return None if value is an empty string | Aaron LI | 2017-07-21 | 1 | -2/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Bump version to 0.4.2 (forgot when tagging) | Aaron LI | 2017-07-20 | 1 | -1/+1 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Update email, url, and copyright year | Aaron LI | 2017-07-20 | 1 | -4/+4 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add basic "preprocess()" method | Aaron LI | 2017-07-20 | 1 | -1/+23 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_simulate_merger()" | Aaron LI | 2017-07-20 | 2 | -15/+95 |
| | | | | | | | | | | Simulate the formation history of each cluster and identify the last/recent major merger event. Also add new configuration option "tau_merger" and tweak several configurations options. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: show verbose info only in DEBUG | Aaron LI | 2017-07-20 | 1 | -6/+9 |
| | | | | | | | | Since the ``ClusterFormation`` is repeatedly invoked in ``GalaxyClusters``, so make the verbose information printed only at DEBUG level. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | mergertree/show_mergertree(): Improve print format | Aaron LI | 2017-07-20 | 1 | -3/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: Fix bug in "last_major_merger" property | Aaron LI | 2017-07-20 | 1 | -7/+11 |
| | | | | | | Also calculate and add the mass ratio to the event dictionary. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: Fix bug in "_trace_main()" | Aaron LI | 2017-07-20 | 1 | -4/+8 |
| | | | | | | | | | Do not modify the root node of the merger tree, and return this root node after tracing the formation history. Also print some more information for debug. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/mergertree.py: Add function "show_mtree()" | Aaron LI | 2017-07-19 | 1 | -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 columns | Aaron LI | 2017-07-19 | 1 | -6/+18 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | dataframe_to_csv(): Add parameter "comment" | Aaron LI | 2017-07-19 | 1 | -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 methods | Aaron LI | 2017-07-19 | 1 | -8/+130 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Implement "random_points()" method | Aaron LI | 2017-07-19 | 1 | -6/+85 |
| | | | | | | Generate requested number of random points within the sky. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | configs: Update default values | Aaron LI | 2017-07-19 | 2 | -12/+8 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: frequency has implicit unit "MHz" | Aaron LI | 2017-07-19 | 1 | -11/+22 |
| | | | | | | And some minor updates Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Small updates to comments and configuration descriptions | Aaron LI | 2017-07-19 | 2 | -15/+19 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Default to assume a flat sky for patch | Aaron LI | 2017-07-19 | 1 | -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 LI | 2017-07-19 | 1 | -0/+47 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use [arcsec] as the unit for pixel size and resolution | Aaron LI | 2017-07-19 | 8 | -28/+56 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/formation.py: Add "last_major_merger" property | Aaron LI | 2017-07-19 | 1 | -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 LI | 2017-07-19 | 1 | -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 handling | Aaron LI | 2017-07-19 | 1 | -28/+24 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/transform.py: Add function "circle2ellipse()" | Aaron LI | 2017-07-18 | 1 | -0/+40 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Rename utils/rotate.py to utils/transform.py | Aaron LI | 2017-07-18 | 2 | -4/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/draw.py: Add function circle() | Aaron LI | 2017-07-18 | 1 | -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 LI | 2017-07-04 | 1 | -1/+5 |
| | | | | Also add a reference for minimum antenna separation of 1.5 [m]. | ||||
* | halo.py: Fix wrong cosmo.age() usage | Aaron LI | 2017-06-25 | 1 | -1/+1 |
| | |||||
* | solver.py: Fix coefficients calculation w.r.t. escape term | Aaron LI | 2017-06-25 | 1 | -5/+6 |
| | |||||
* | solver.py: Add example for TDMAsolver() | Aaron LI | 2017-06-25 | 1 | -0/+16 |
| | |||||
* | clusters/solver.py: Split methods bound_w/Wplus/Wminus | Aaron LI | 2017-06-25 | 1 | -14/+36 |
| | | | | Also change an INFO message to be DEBUG level. | ||||
* | clusters/solver.py: Fix "fix_boundary()" and remove a warning | Aaron LI | 2017-06-25 | 1 | -6/+5 |
| | |||||
* | clusters/solver.py: Support escape term | Aaron LI | 2017-06-25 | 1 | -5/+12 |
| | |||||
* | halo.py: Add argument "n0_e" to method "calc_electron_spectrum()" | Aaron LI | 2017-06-24 | 1 | -4/+10 |
| | |||||
* | halo.py: Split out property "_chi_data" | Aaron LI | 2017-06-24 | 1 | -31/+31 |
| | |||||
* | halo.py: Add property "pgrid" as same as it is in slover.py | Aaron LI | 2017-06-24 | 1 | -0/+10 |
| |