forked from lsst/obs_subaru
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code to build validPolygon for each image.
The settings for the vignetted region was broken out into a separate config file to be used in different places in the code.
- Loading branch information
Showing
6 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
root.xCenter = -100 | ||
root.yCenter = 100 | ||
root.radius = 17500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from lsst.pex.config import Config, Field | ||
|
||
class VignetteConfig(Config): | ||
""" | ||
Settings to define vignetting pattern | ||
""" | ||
xCenter = Field(dtype=float, default=0, doc="Center of vignetting pattern, in x (focal plane coords)") | ||
yCenter = Field(dtype=float, default=0, doc="Center of vignetting pattern, in y (focal plane coords)") | ||
radius = Field(dtype=float, default=18300, doc="Radius of vignetting pattern, in focal plane coords", | ||
check=lambda x: x >= 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters