prose.FitsManager.scan_files#
- FitsManager.scan_files(files, batch_size=False, verbose=True, hdu=0, telescope=None, verbose_new=False, verbose_os=False)#
Scan files and add data to database
- Parameters:
files (list of str or Path) β paths of files
batch_size (bool or int, optional) β
if False: update database after all FITS files are parsed
if int: update database every time
batch_sizeFITS files are parse
by default False
verbose (bool, optional) β whether to show progress bar during parsing, by default True
hdu (int) β FITS data unit extension where header will be parsed