Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | 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> | |||||
* | utils: Merge fits.py into io.py | Aaron LI | 2017-08-13 | 4 | -156/+146 | |
| | | | | | | 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> | |||||
* | Fix a bug in clusters/halo.py; Add a comment to utils/io/_create_dir() | Aaron LI | 2017-08-06 | 2 | -1/+5 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Update against "Fnu_to_Tb_fast()" unit changes | Aaron LI | 2017-08-03 | 7 | -30/+38 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/convert.py: omega unit default to [arcsec^2], other improvements | Aaron LI | 2017-08-03 | 1 | -10/+11 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/convert.py: Improve various comments/descriptions | Aaron LI | 2017-08-03 | 1 | -23/+33 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/convert.py: Improve unit check and conversion | Aaron LI | 2017-08-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/main.py: Convert halos data to be a DataFrame and dump | Aaron LI | 2017-08-03 | 1 | -0/+19 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils: Add ds.py with function "dictlist_to_dataframe()" | Aaron LI | 2017-08-03 | 1 | -0/+82 | |
| | | | | | | | This function convert a list of dictionaries created by e.g., GalaxyClusters._simulate_halos() to be a Pandas DataFrame. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/emission.py: Make "F()" be class method, fixing memory hole! | Aaron LI | 2017-08-01 | 1 | -22/+35 | |
| | | | | | | | | | | | For unknown reason! Each instance of "SynchrotronEmission" will cost ~5 MiB memory when interpolating the kernel function cached as "self._F_interp", which won't be collected/freed by GC, for UNKNOWN reason! Therefore, make the method "F()" be class-wide, to avoid the memory hole! Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/io.py: Fix issue in "_create_dir()" with empty directory path | Aaron LI | 2017-08-01 | 1 | -1/+3 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Improve logging messages | Aaron LI | 2017-08-01 | 3 | -5/+14 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils: Add profile.py to diagnose memory usage | Aaron LI | 2017-08-01 | 1 | -0/+97 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/emission.py: Fix bug in "F()" | Aaron LI | 2017-08-01 | 1 | -13/+14 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs: Clean up imports | Aaron LI | 2017-08-01 | 2 | -3/+2 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | configs: Default logging to INFO; remove a obsolete config option | Aaron LI | 2017-08-01 | 2 | -6/+1 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters: Add config "halos_dumpfile" and dump simulate halos data | Aaron LI | 2017-08-01 | 2 | -1/+12 | |
| | ||||||
* | utils/io.py: Add functions "pickle_dump()" and "pickle_load()" | Aaron LI | 2017-08-01 | 1 | -0/+31 | |
| | ||||||
* | utils/io.py: Split out "_create_dir()" and "_check_existence()" | Aaron LI | 2017-08-01 | 1 | -12/+31 | |
| | ||||||
* | clusters/halo.py: Finished brief simulation description | Aaron LI | 2017-08-01 | 1 | -3/+13 | |
| | ||||||
* | clusters: Fix several small issues on wrong variable names | Aaron LI | 2017-07-31 | 3 | -7/+8 | |
| | | | | | | Also update logging message for RadioHalo a bit. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | Fix several small issues; Also update PSFormalism a bit | Aaron LI | 2017-07-31 | 2 | -5/+11 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters/main.py: Use PSFormalism to simulate cluster catalog | Aaron LI | 2017-07-31 | 1 | -13/+11 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | clusters: Add psformalism.py to simulate cluster catalog | Aaron LI | 2017-07-31 | 2 | -2/+241 | |
| | | | | | | Also updated configuration options. Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils/cosmology.py: Add "dVc()": differential comoving volume | Aaron LI | 2017-07-31 | 1 | -0/+8 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> | |||||
* | utils: Add interpolate.py with "bilinear()" function | Aaron LI | 2017-07-31 | 1 | -0/+42 | |
| | | | | Signed-off-by: Aaron LI <aly@aaronly.me> |