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

Change creation pattern and support distortion in YamlCamera #129

Merged
merged 3 commits into from Jan 30, 2019

Conversation

RobertLuptonTheGood
Copy link
Member

Provide a makeCamera function rather than inheriting from Camera.

The support for distortion models is mostly in makeTransformDict,
and required clarification that all models are
from native to other
which is a change from at least some other cameras.

N.b. makeCamera required that we changed a number of methods to be
functions, which accounts for most of the changes.

Provide a makeCamera function rather than inheriting from Camera.

The support for distortion models is mostly in makeTransformDict,
and required clarification that all models are
	*from* native *to* other
which is a change from at least some other cameras.

N.b. makeCamera required that we changed a number of methods to be
functions, which accounts for most of the changes.
Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

More comments than you'd like because I ended up reading all the code. There are a couple of substantive issues: that loop early on, Loader vs CLoader, and legacy afwGeom.angle usage that should be geom. It would be nice if the other issues were fixed as well.

python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
python/lsst/obs/base/yamlCamera.py Outdated Show resolved Hide resolved
@RobertLuptonTheGood RobertLuptonTheGood merged commit 8ecfa87 into master Jan 30, 2019
@timj timj deleted the tickets/DM-17376 branch March 30, 2021 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants