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

wrap ConvolvedFluxPlugin to allow use in forced measurement #2

Merged
merged 1 commit into from Dec 20, 2016

Conversation

djreiss
Copy link

@djreiss djreiss commented Dec 16, 2016

Change the ConvolvedFluxPlugin class into a base class that we then
wrap with the appropriate plugin base class. There's also a little
bit of fiddling required to give the forced measurement a slightly
different signature.

In order to do the forced measurement, we need to add transformation
from the reference frame to the measurement frame. Since we're
already doing forced measurement (center is provided, aperture shape
and radius are provided), moved the calculation into a 'measureForced'
method, and have 'measure' call that with a null transformation.

Modified the test to check that forced measurement also works.

Change the ConvolvedFluxPlugin class into a base class that we then
wrap with the appropriate plugin base class. There's also a little
bit of fiddling required to give the forced measurement a slightly
different signature.

In order to do the forced measurement, we need to add transformation
from the reference frame to the measurement frame. Since we're
already doing forced measurement (center is provided, aperture shape
and radius are provided), moved the calculation into a 'measureForced'
method, and have 'measure' call that with a null transformation.

Modified the test to check that forced measurement also works.
@PaulPrice PaulPrice merged commit 5c904dc into master Dec 20, 2016
@ktlim ktlim deleted the tickets/DM-7889 branch August 25, 2018 05:49
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