Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clusters: Use "hmf" to calculate halo mass functions/distributions | Aaron LI | 2017-10-04 | 1 | -0/+46 |
| | | | | | | | | | | | | * New dependency "hmf" (halo mass functions) module * Calculate halo mass distributions/functions (dndlnm) with respect to masses and redshifts, instead of use the previous data file ("ps_data") * New section "[extragalactic][psformalism]" in configurations * New functions to write and read the dndlnm data TODO: * update the method to sample (mass, redshift) for clusters from the dndlnm data | ||||
* | utils/io.py: Add function "csv_to_dataframe()" to support CSV comments | Aaron LI | 2017-09-03 | 1 | -2/+35 |
| | |||||
* | 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> | ||||
* | 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 | 1 | -2/+142 |
| | | | | | | Functions "{read,write}_fits_healpix()" merged into io.py Signed-off-by: Aaron LI <aly@aaronly.me> | ||||
* | 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 |
| | |||||
* | Fix a bug in clusters/halo.py; Add a comment to utils/io/_create_dir() | Aaron LI | 2017-08-06 | 1 | -0/+4 |
| | | | | 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> | ||||
* | 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 |
| | |||||
* | 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> | ||||
* | 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> |