utils#
- irdl.utils.fits_in_memory(file_path)#
Check if a file can be loaded into available RAM.
Needed for pyfar or numpy output formats, which load the entire dataset into memory.
- Parameters:
- file_pathPath
Path to the HDF5 file.
- Returns:
- fitsbool
True if the file fits into available RAM with headroom.