Package pydrizzle :: Module pydrizzle :: Class DitherProduct
[hide private]
[frames] | no frames]

Class DitherProduct

source code


Builds an object for a set of dithered inputs, each of which will be one of the Observation objects.

Instance Methods [hide private]
 
__init__(self, prodlist, pars=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
closeHandle(self)
Close image handle for each member.
source code
 
buildProduct(self, output)
Create Exposure object for meta-chip product after applying distortion model to input members.
source code
 
computeOffsets(self)
This method will rely on final product's 'rd2xy' method to compute offsets between the different input chips.
source code
 
getExptime(self)
Add up the exposure time for all the members in the pattern, since 'drizzle' doesn't have the necessary information to correctly set this itself.
source code
 
addMembers(self, prodlist, pars, output)
For each entry in prodlist, append the appropriate type of Observation to the members list.
source code
 
getMember(self, memname)
Return the class instance for the member with name memname.
source code
 
getMemberNames(self)
Returns a dictionary with one key for each member.
source code
 
buildPars(self, ref=None)
This method would build a list of parameters to run 'drizzle' one a single input image.
source code
 
buildMetachip(self)
This method combines the results of the member's buildMetachip() methods into a composite WCS.
source code

Inherited from pattern.Pattern: DeltaXYtoOffset, computeCubicCoeffs, getHeaderHandle, getProductCorners, getShifts, getWCS, setBunit, setNames, transformMetachip

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from pattern.Pattern: COPY_SUFFIX, DETECTOR_NAME, IDCKEY, NUM_IMSET, PARITY, PA_KEY, REFDATA

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, prodlist, pars=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

closeHandle(self)

source code 

Close image handle for each member.

Overrides: pattern.Pattern.closeHandle

buildProduct(self, output)

source code 

Create Exposure object for meta-chip product after applying distortion model to input members.

Overrides: pattern.Pattern.buildProduct
(inherited documentation)

computeOffsets(self)

source code 

This method will rely on final product's 'rd2xy' method to compute offsets between the different input chips.

Overrides: pattern.Pattern.computeOffsets

getExptime(self)

source code 

Add up the exposure time for all the members in the pattern, since 'drizzle' doesn't have the necessary information to correctly set this itself.

Overrides: pattern.Pattern.getExptime

addMembers(self, prodlist, pars, output)

source code 

For each entry in prodlist, append the appropriate type of Observation to the members list.

If it's a moving target observation apply the wcs of the first observation to all other observations.

Overrides: pattern.Pattern.addMembers

getMember(self, memname)

source code 

Return the class instance for the member with name memname.

Overrides: pattern.Pattern.getMember

getMemberNames(self)

source code 

Returns a dictionary with one key for each member. The value for each key is a list of all the extension/chip names that make up each member. Output: {member1:[extname1,extname2,...],...}

Overrides: pattern.Pattern.getMemberNames

buildPars(self, ref=None)

source code 
This method would build a list of parameters to run 'drizzle'
one a single input image.
   The reference image info 'ref' will be passed as a SkyField object.
   The default output reference frame will be passed as 'def_wcs'
   for comparison to the user's selected object 'ref'.

Overrides: pattern.Pattern.buildPars
(inherited documentation)

buildMetachip(self)

source code 

This method combines the results of the member's buildMetachip() methods into a composite WCS. (DitherProduct method)

Overrides: pattern.Pattern.buildMetachip