acdc.database.update_db.populate_darkevents
- populate_darkevents(files, dbname='dark_events', db_table='all')[source]
Populate the hstcal database. This can be used to add new files or ingest all data from scratch.
- Parameters:
files (array-like) – Names of dark exposure corrtags.
dbname (str) – The name of the database to update.
db_table (
sqlalchemy.Table) – Name of table to update, defaults to ‘all’, but could be DarkEvents.