-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create co-added images (phase 2) (#6)
* Rename refine to reprocess * Lots of refactor of camera WCS reprocessing * Calculate ZP for each frame * Add PA to frame data * Sigma-clip, fit, and calculate PA drift * Support processing spec frames * Add initial plotting * Add zero point plot * Allow to force using time range to select frames * Use UTC and getmtime * Fix cases when the reference WCS is empty * Move extract_sources out of Cameras and add MF pixels * Add placeholder columns to sources during extraction * Add CameraSolution and GuiderSolution classes * Missing colon * Add data model file * Use model to update PROC and SOURCES extensions * Major, major refactor * Move some code around * Remove GAIA_CACHE * Add MF WCS (!) and some header keywords * Allow to load FITS file into dataclass * Bump version to 0.3.0a0 * Change some types in SOURCES data model * Fix update_fits() * Add DIRNAME * Change header comment * Typing * post_init -> __post_init__ * Fix a few bugs * Fix merge issues * Update deps * Deal with empty dataframe when converting to Table * Some fixes * Some fixes * Remove table_from_dataframe * Use MF pixels for global solution * Use parquet for sources files * Close HDU list * Reset detections index to ensure Gaia match * Fix call to update_fits * Various fixes to guiding. Decrease guide tolerance * Guide in PA * Write PACORR to header * Minimum version to load dataclasses -> 0.4.0a0 * Prevent multiple rotation corrections * Disable rotation correction for now * Comment unused lines * Pretty complete rewrite of co-add functions using dataclasses * Rename master frame to full frame * Deal with spec telescope * Add camera name to log message * Typo in get_dark_subtrcted_data * Support dark subtraction in old files without DIRNAME * Support reprocessing old files. Fix some bugs. * Plots for FWHM, ZP, and PA * Add comments and remove redundant code * Add guider offsets plots * Various fixes to the datamodel and type casting * Fix corner case in populating the ap. phot DF * Fix dtypes that were not serializable * Save PA offset to guider solution and FITS * Improve logic to guide in PA * Fix repetitive message during acquisition * Set umask so that new files inherit the parent folder permissions * Tweaks to plotting
- Loading branch information
Showing
16 changed files
with
2,293 additions
and
1,315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.