autowisp.processing_steps.add_images_to_db module
Class Inheritance Diagram

Register new images with the database.
- autowisp.processing_steps.add_images_to_db._match_observatory(db_observatory, image_location)[source]
True iff the observatory matches the image location.
- autowisp.processing_steps.add_images_to_db.add_images_to_db(image_collection, configuration)[source]
Add all the images in the collection to the database.
- autowisp.processing_steps.add_images_to_db.create_image(image_fname, header_eval, configuration, db_session)[source]
Create the database Image entry corresponding to the given file.
- autowisp.processing_steps.add_images_to_db.get_observatory(header_eval, configuration, db_session)[source]
Return the observatory corresponding to the image (must exist).
- autowisp.processing_steps.add_images_to_db.get_or_create_observing_session(image_type, header_eval, configuration, db_session)[source]
Return the observing session the image is part of (create if needed).