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

Pull request for DM-1195 #1

Merged
merged 6 commits into from Oct 8, 2014
Merged

Pull request for DM-1195 #1

merged 6 commits into from Oct 8, 2014

Conversation

SimonKrughoff
Copy link
Contributor

Adds a utility to display parts of the camera. Also fixes an off by one error in the amp bounding boxes when they are zero extent.

This is based largely on the same utility in
obs_lsstSim.  Maybe we should make a camera
agnostic version of this, but I don't know
where it would go.
Removed unused imports and added an import for
shutil used but never imported.
There was on off by one error in the previous
version.  To fix this, check if there is a
prescan or overscan region.  Add a zero
extent bounding box if they do not exist.

Also switched to using extents.  I think
that's safer and easier to read.
Removed blank line in genCameraRepository.py
Made displayCamera.py executable.
@mjuric mjuric merged commit 1407d29 into master Oct 8, 2014
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