Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Return the list of filepath to the written sky files | Aaron LI | 2017-08-26 | 4 | -3/+34 |
| | |||||
* | snr.py: Update to use "sky" module | Aaron LI | 2017-08-26 | 1 | -114/+39 |
| | | | | XXX: significant cleanups required, to make `SkyPatch` works! | ||||
* | freefree.py: Update to use "sky" module; cleanups | Aaron LI | 2017-08-26 | 1 | -104/+59 |
| | |||||
* | synchrotron.py: Update to use "sky" module; significant cleanups | Aaron LI | 2017-08-26 | 1 | -111/+69 |
| | |||||
* | clusters/main.py: Update sky header; update comments etc. | Aaron LI | 2017-08-26 | 1 | -5/+7 |
| | |||||
* | configs: Remove unused option "unit", and minor cleanups | Aaron LI | 2017-08-26 | 1 | -9/+4 |
| | |||||
* | configs: Remove option "save"; all enabled components will be saved | Aaron LI | 2017-08-26 | 5 | -20/+4 |
| | |||||
* | sky.py: Add more numeric special methods | Aaron LI | 2017-08-26 | 1 | -0/+52 |
| | |||||
* | config: Change "output/use_float" to "output/float32" | Aaron LI | 2017-08-26 | 2 | -3/+3 |
| | |||||
* | foregrounds.py: Remove foreground components combination | Aaron LI | 2017-08-26 | 3 | -131/+19 |
| | | | | | * Remove output configs "combine", "combine_prefix", "output_dir" * Remove configuration checker "check_output" | ||||
* | sky.py: Rename load() -> open(), read() -> load() | Aaron LI | 2017-08-26 | 3 | -24/+30 |
| | |||||
* | galactic/synchrotron.py: Take absolute value on spectral index | Aaron LI | 2017-08-23 | 1 | -1/+2 |
| | |||||
* | clusters/halo.py: Rewrite electron acceleration coefficient calc | Aaron LI | 2017-08-14 | 3 | -28/+56 |
| | | | | | | | | | | * Adopt the electron acceleration coefficient formula from [cassano2005] * Rename method "_tau_acceleration()" to "_chi_acceleration()", and rewrite * Add property "kT_merger" * Also save "kT_merger" and "chi" into halos data Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Use OrderedDict to easy keys manipulation | Aaron LI | 2017-08-14 | 1 | -29/+31 |
| | | | | | | | Also avoid forgetting to add the newly added item for DataFrame conversion. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo.py: Simplify two coefficients usage | Aaron LI | 2017-08-14 | 1 | -7/+5 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Rename property "injection_rate" and save into halos data | Aaron LI | 2017-08-14 | 2 | -37/+38 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Use "GalaxyClusters" from main.py, and remove clusters.py | Aaron LI | 2017-08-14 | 3 | -735/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Make "frequencies" optional in the simulate() method | Aaron LI | 2017-08-14 | 3 | -12/+46 |
| | | | | | | XXX: foregrounds.py needs update! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Fix the warning on scipy.ndimage.zoom output shape calculation | Aaron LI | 2017-08-14 | 2 | -2/+6 |
| | | | | | | | | | scipy.ndimage.zoom calculate the output/zoomed image shape with round(), while the old versions use int() instead. When the two calculations are different, a warning is raised. This commit fixes the calculation mismatch. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Fix several bugs | Aaron LI | 2017-08-13 | 2 | -12/+7 |
| | | | | | | | | | * Brought back "clobber" property * Delete the wrong "self.halos=[]" * Fix the wrong assignment of "cimax0" * Assign default values for {c,r}i{min,max}1 Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Fix the "pixelsize" property | Aaron LI | 2017-08-13 | 1 | -16/+16 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "simulate_frequency()" and "simulate()" | Aaron LI | 2017-08-13 | 1 | -0/+46 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/convert.py: Add function "JyPerPix_to_K()" | Aaron LI | 2017-08-13 | 1 | -0/+17 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Halo templates are normalized to have mean of 1 | Aaron LI | 2017-08-13 | 2 | -4/+12 |
| | | | | | | Also update the documents of "draw_halo()" function Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add method "_outfilepath()" | Aaron LI | 2017-08-13 | 1 | -0/+21 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Implement "add()" method for SkyPatch class | Aaron LI | 2017-08-13 | 1 | -9/+87 |
| | | | | | | XXX/TODO: need implement this method for SkyHealpix as well! Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Set sky header properties | Aaron LI | 2017-08-13 | 2 | -4/+6 |
| | | | | | | | * Clean up the unused configurations * Add "FREQ" keyword to the sky FITS header Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | Move Zhixian MA to the Authors | Aaron LI | 2017-08-13 | 1 | -6/+2 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Add "add_header()" method | Aaron LI | 2017-08-13 | 1 | -0/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Overload common arithmetic operators | Aaron LI | 2017-08-13 | 1 | -0/+58 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/io.py: Default float32=False to preserve the data type | Aaron LI | 2017-08-13 | 1 | -4/+4 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Add parameter "clobber" to "write()" method | Aaron LI | 2017-08-13 | 1 | -4/+12 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Update against the SkyBase class, various cleanups | Aaron LI | 2017-08-13 | 1 | -88/+26 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Update to use "write_fits_{image,healpix}" functions | Aaron LI | 2017-08-13 | 1 | -43/+19 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Add new properties to SkyBase | Aaron LI | 2017-08-13 | 1 | -1/+35 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/io.py: Add "float32" param and update "write_fits_healpix()" | Aaron LI | 2017-08-13 | 1 | -15/+30 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/io.py: Fix a dtype bug; Improve comments and FITS header | Aaron LI | 2017-08-13 | 1 | -3/+26 |
| | | | | | | Fix the dtype bug in "write_fits_image()" function. Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | bin/get-healpix-patch: Postpone modules import with JIT | Aaron LI | 2017-08-13 | 1 | -7/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils: Merge fits.py into io.py | Aaron LI | 2017-08-13 | 7 | -159/+149 |
| | | | | | | Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | sky.py: Add float32/clobber/checksum etc. to SkyBase | Aaron LI | 2017-08-13 | 1 | -6/+61 |
| | |||||
* | utils/io.py: Implement new function "write_fits_image()" | Aaron LI | 2017-08-13 | 1 | -0/+37 |
| | |||||
* | utils/io.py: Improve documentations | Aaron LI | 2017-08-13 | 1 | -1/+19 |
| | |||||
* | sky.py: Add basic SkyBase class as the base of SkyPatch and SkyHealpix | Aaron LI | 2017-08-13 | 1 | -0/+113 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Implement "_draw_halos()" method | Aaron LI | 2017-08-12 | 2 | -2/+89 |
| | | | | | | New functions "halo_rprofile()" and "draw_halo()" added to helper.py Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | utils/transform.py: Update comment and minor cleanups | Aaron LI | 2017-08-12 | 1 | -5/+3 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Inherent cluster catalog info to halos data | Aaron LI | 2017-08-12 | 1 | -4/+9 |
| | | | | | | Also rename "frequencies" to "frequency" Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Add missing columns to DataFrame conversion | Aaron LI | 2017-08-12 | 1 | -2/+2 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters: Implement calc_{power,flux,brightness_mean} in helper | Aaron LI | 2017-08-11 | 2 | -40/+116 |
| | | | | | | Help development & debug ... Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/halo: "volume" use unit "kpc^3" instead of "cm^3" | Aaron LI | 2017-08-11 | 2 | -4/+7 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | clusters/main.py: Calculate and cache more halo data | Aaron LI | 2017-08-06 | 1 | -4/+9 |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> |