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-30858: Add GAaP to obs_subaru #367

Merged
merged 4 commits into from Jun 30, 2021
Merged

DM-30858: Add GAaP to obs_subaru #367

merged 4 commits into from Jun 30, 2021

Conversation

arunkannawadi
Copy link
Member

No description provided.

@@ -2,6 +2,7 @@

config.measurement.load(os.path.join(os.path.dirname(__file__), "apertures.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "kron.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "gaap.py"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't turn on here:

  1. no slow measurement plugin on any per-visit processing.
  2. Even if it were fast, I'm not sure it makes sense.
    Let's talk about it first.

config/gaap.py Outdated
@@ -0,0 +1,7 @@
# Enablue GAaP (Gaussian Aperture and PSF) colors
# 'config' is a SourceMeasurementConfig
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment isn't universally true

config/gaap.py Outdated
@@ -0,0 +1,7 @@
# Enablue GAaP (Gaussian Aperture and PSF) colors
Copy link
Contributor

Choose a reason for hiding this comment

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

Enablue to Enable

@@ -4,6 +4,7 @@
config.measurement.load(os.path.join(os.path.dirname(__file__), "kron.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "convolvedFluxes.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "hsm.py"))
config.measurement.load(os.path.join(os.path.dirname(__file__), "gaap.py"))
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't turn on here.

# PSF GAaP flux
GaapPsFlux:
functor: NanoJansky
dataset: meas
Copy link
Contributor

Choose a reason for hiding this comment

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

dataset: forced_src if we're running only on forcedPhotCoadd.

@arunkannawadi
Copy link
Member Author

I got a comment on my email about not wanting to run gaap in config/charImage.py that I don't find it here - assuming you took it back? That was there to register for aperture corrections, not running the measurement itself.

@arunkannawadi arunkannawadi marked this pull request as draft June 26, 2021 02:49
@arunkannawadi arunkannawadi force-pushed the tickets/DM-30858 branch 2 times, most recently from eebce0f to 64ef76e Compare June 29, 2021 20:59
@arunkannawadi arunkannawadi marked this pull request as ready for review June 29, 2021 21:01
@arunkannawadi arunkannawadi merged commit 9f8d52b into master Jun 30, 2021
@arunkannawadi arunkannawadi deleted the tickets/DM-30858 branch June 30, 2021 05:01
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.

None yet

2 participants