The class now also carries the predicted location of the orbit, which will be useful for both generating cutouts and future negative observations analyses.
Lastly, catalog_id has been renamed to exposure_id so that it is consistent throughout the code. Unfortunately, this means existing index.dbs will need to be updated with a name change. Here is a Python snippet that will do that:
import sqlite3 as sql
INDEX_DB = ""
con = sql.connect(INDEX_DB)
con .execute("""ALTER TABLE frames RENAME COLUMN catalog_id TO exposure_id;""")
con.close()
Addresses #20.
This PR introduces a new schema for the PrecoveryCandidate dataclass that should make it a little more user-friendly:
The class now also carries the predicted location of the orbit, which will be useful for both generating cutouts and future negative observations analyses.
Lastly, catalog_id has been renamed to exposure_id so that it is consistent throughout the code. Unfortunately, this means existing
index.db
s will need to be updated with a name change. Here is a Python snippet that will do that: