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

DM-46939: make reprocessVisitImage usable without calibrateImage #79

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

TallJimbo
Copy link
Member

No description provided.

@TallJimbo TallJimbo force-pushed the tickets/DM-46939 branch 2 times, most recently from 0b23bd7 to 0156f94 Compare October 20, 2024 12:46
Copy link
Contributor

@enourbakhsh enourbakhsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good—just a few typos.

# TODO (DM-46971):
# Now that we're running them before we apply the PhotoCalib to the
# image pixels, there's no need for post_calibrations to exist as
# as separate measurement instance from the main one (which is invoked
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to exist as as separate measurement instanceto exist as a separate measurement instance

# Now that we're running them before we apply the PhotoCalib to the
# image pixels, there's no need for post_calibrations to exist as
# as separate measurement instance from the main one (which is invoked
# (in _find_sources), but it's better to save removal (which may need
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(which is invoked (in _find_sources)(which is invoked in _find_sources)

TallJimbo and others added 2 commits October 23, 2024 14:48
This puts the output background and summary stats measurements in ADU,
making them more consistent with other backgrounds and summary stats
produced earlier in the pipeline, but inconsistent with the units of
the "pvi" output image.

It also makes the LocalWcs and LocalPhotoCalib plugin outputs reflect
the transformation from ADU to nJy; I'm pretty sure they were
previously just identities, which seems like it was probably a bug,
unless downstream transform tasks had been configured to read "flux"
fields rather than "instFlux" fields.
@TallJimbo TallJimbo force-pushed the tickets/DM-46939 branch 3 times, most recently from a9eb27a to f69187c Compare October 25, 2024 15:03
@TallJimbo TallJimbo merged commit 27f7a3c into main Oct 25, 2024
6 checks passed
@TallJimbo TallJimbo deleted the tickets/DM-46939 branch October 25, 2024 16:31
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.

3 participants