check_directory_exists_and_if_not_mkdir (...)
|
Checks if the given directory exists and creates it if it does not exist |
decode_astropy_cosmology (dct)
|
|
decode_astropy_quantity (dct)
|
|
decode_bilby_json (dct)
|
|
decode_from_hdf5 (item)
|
Decode an item from HDF5 format to python type. |
encode_astropy_cosmology (obj)
|
|
encode_astropy_quantity (dct)
|
|
encode_for_hdf5 (key, item)
|
Encode an item to a HDF5 saveable format. |
load_json (filename, gzip)
|
|
move_old_file (filename[, overwrite])
|
Moves or removes an old file. |
recursively_decode_bilby_json (dct)
|
Recursively call bilby_decode_json |
recursively_load_dict_contents_from_group (...)
|
Recursively load a HDF5 file into a dictionary |
recursively_save_dict_contents_to_group (...)
|
Recursively save a dictionary to a HDF5 group |
safe_file_dump (data, filename, module)
|
Safely dump data to a .pickle file |
safe_save_figure (fig, filename, **kwargs)
|
|