Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make observation PSC #31

Merged
merged 32 commits into from
Aug 24, 2019
Merged

Make observation PSC #31

merged 32 commits into from
Aug 24, 2019

Conversation

wtgee
Copy link
Member

@wtgee wtgee commented May 26, 2019

Consolidate the detected sources from each frame into a master observation PSC. This is saved as a CSV file that includes the data (raw counts) as well as some metadata about each detection.

This is being separated from gce-similar-source-finder and replaces the work in #29.

wtgee added 30 commits May 26, 2019 13:17
This is split off from the `find-similar-sources`.
* FIELD, the user-specified field for the entire Observation
* gcs_file, the versioned path to the bucket file
Adding in a `photutils.Background2D` during the plate solve.

* Check if object has already been subtracted via `BKGSUB` keyword in FITS header.
* Split the image into separate color channels and for each:
* Using photutils:
    * Use a 5-sigma (5 iteration) median filter to mask sources
    * Calculate background in default 84x84 block.
    * Use a zoom interpolater to construct a full-scale image.
* Save the background to a FITS file and upload to bucket alongside original.
* Subtract the full background (combined color channels) from full data.
* Overwrite original FITS file
* Continue with plate-solving and catalog matching.
* Match the PubSub subscription name for solve-extract-match.
* Docker container consistency with python.
* Only ack messages on successful solve-extract-match.
* Save background with camera bias
@wtgee wtgee merged commit f7be7f7 into develop Aug 24, 2019
@wtgee wtgee deleted the make-observation-psc branch August 24, 2019 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant