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

Add code to build validPolygon for each image. #10

Merged
merged 1 commit into from Nov 16, 2015
Merged

Conversation

rearmstr
Copy link
Contributor

The settings for the vignetted region was broken out into a
separate config file to be used in different places in the code.

Conflicts:
config/hsc/flat.py
python/lsst/obs/subaru/isr.py

This is essentially a cherry-pick of HSC-976's:
HyperSuprime-Cam@e3012f5

@@ -165,6 +178,12 @@ class SubaruIsrTask(IsrTask):
def __init__(self, *args, **kwargs):
super(SubaruIsrTask, self).__init__(*args, **kwargs)
self.makeSubtask("crosstalk")
if self.config.doWriteVignettePolygon:
theta = numpy.linspace(0, 2*numpy.pi, num= self.config.numPolygonPoints, endpoint=False)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think you need a space after "num" here.

The settings for the vignetted region was broken out into a
separate config file to be used in different places in the code.

Conflicts:
	config/hsc/flat.py
	python/lsst/obs/subaru/isr.py

This is essentially a cherry-pick of HSC-976's:
HyperSuprime-Cam@e3012f5
@laurenam laurenam merged commit f60499d into master Nov 16, 2015
@timj timj deleted the u/lauren/DM-3259 branch February 25, 2021 17:45
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