aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/io.py
Commit message (Collapse)AuthorAgeFilesLines
* utils/io.py: Default float32=False to preserve the data typeAaron LI2017-08-131-4/+4
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/io.py: Add "float32" param and update "write_fits_healpix()"Aaron LI2017-08-131-15/+30
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/io.py: Fix a dtype bug; Improve comments and FITS headerAaron LI2017-08-131-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.pyAaron LI2017-08-131-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 LI2017-08-131-0/+37
|
* utils/io.py: Improve documentationsAaron LI2017-08-131-1/+19
|
* Fix a bug in clusters/halo.py; Add a comment to utils/io/_create_dir()Aaron LI2017-08-061-0/+4
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/io.py: Fix issue in "_create_dir()" with empty directory pathAaron LI2017-08-011-1/+3
| | | | Signed-off-by: Aaron LI <aly@aaronly.me>
* utils/io.py: Add functions "pickle_dump()" and "pickle_load()"Aaron LI2017-08-011-0/+31
|
* utils/io.py: Split out "_create_dir()" and "_check_existence()"Aaron LI2017-08-011-12/+31
|
* 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>
* Add utils/io.py with function "dataframe_to_csv()"Aaron LI2017-07-191-0/+47
Signed-off-by: Aaron LI <aly@aaronly.me>