LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Static Public Attributes | List of all members
lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig Class Reference
Inheritance diagram for lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig:

Public Member Functions

def setupSkyMapPatches
 
def setDefaults
 

Static Public Attributes

tuple makeSkyMap
 
tuple mockObject
 
tuple mockObservation
 
tuple coaddName
 
tuple nObservations
 
tuple edgeBuffer
 

Detailed Description

Definition at line 35 of file mockCoadd.py.

Member Function Documentation

def lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.setDefaults (   self)

Definition at line 80 of file mockCoadd.py.

80 
81  def setDefaults(self):
82  self.makeSkyMap.skyMap.name = 'discrete'
83  self.makeSkyMap.skyMap['discrete'].raList = [90.0]
84  self.makeSkyMap.skyMap['discrete'].decList = [0.0]
85  self.makeSkyMap.skyMap['discrete'].patchBorder = 10
86  self.makeSkyMap.skyMap['discrete'].projection = "TAN"
87  self.makeSkyMap.skyMap['discrete'].tractOverlap = 0.0
88  self.setupSkyMapPatches()
def lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.setupSkyMapPatches (   self,
  nPatches = 2,
  patchSize = 400,
  pixelScale = 0.2*lsst.afw.geom.arcseconds 
)
Set the nested [discrete] skymap config parameters such that the full tract
has nPatches x nPatches patches of the given size and pixel scale.

Definition at line 68 of file mockCoadd.py.

68 
69  def setupSkyMapPatches(self, nPatches=2, patchSize=400, pixelScale = 0.2*lsst.afw.geom.arcseconds):
70  """
71  Set the nested [discrete] skymap config parameters such that the full tract
72  has nPatches x nPatches patches of the given size and pixel scale.
73  """
74  self.makeSkyMap.skyMap['discrete'].patchInnerDimensions = [patchSize, patchSize]
75  self.makeSkyMap.skyMap['discrete'].pixelScale = pixelScale.asArcseconds()
76  # multiply by 0.5 because we want a half-width; subtract 0.49 to ensure that we get the right
77  # number after skyMap.TractInfo rounds up.
78  radius = (0.5 * nPatches - 0.49) * patchSize * pixelScale.asDegrees()
79  self.makeSkyMap.skyMap['discrete'].radiusList = [radius]

Member Data Documentation

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.coaddName
static
Initial value:
1 = lsst.pex.config.Field(
2  doc = "Coadd name used as a prefix for other datasets",
3  dtype = str,
4  optional = False,
5  default = "deep"
6  )

Definition at line 48 of file mockCoadd.py.

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.edgeBuffer
static
Initial value:
1 = lsst.pex.config.Field(
2  doc = ("Number of pixels by which to grow object bounding boxes when determining whether they land "
3  " completely on a generated image"),
4  dtype = int,
5  optional = False,
6  default = 5
7  )

Definition at line 60 of file mockCoadd.py.

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.makeSkyMap
static
Initial value:
1 = lsst.pex.config.ConfigurableField(
2  doc = "SkyMap builder subtask",
3  target = MakeSkyMapTask
4  )

Definition at line 36 of file mockCoadd.py.

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.mockObject
static
Initial value:
1 = lsst.pex.config.ConfigurableField(
2  doc = "Subtask that generates and draws the objects/sources in the mock images",
3  target = MockObjectTask
4  )

Definition at line 40 of file mockCoadd.py.

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.mockObservation
static
Initial value:
1 = lsst.pex.config.ConfigurableField(
2  doc = "Subtask that generates the Wcs, Psf, Calib, etc. of mock images",
3  target = MockObservationTask
4  )

Definition at line 44 of file mockCoadd.py.

tuple lsst.pipe.tasks.mocks.mockCoadd.MockCoaddConfig.nObservations
static
Initial value:
1 = lsst.pex.config.Field(
2  doc = "Number of mock observations to generate.",
3  dtype = int,
4  optional = False,
5  default = 12
6  )

Definition at line 54 of file mockCoadd.py.


The documentation for this class was generated from the following file: