Stamps¶
- class lsst.meas.algorithms.Stamps(stamps, metadata=None, use_mask=True, use_variance=True, use_archive=False)¶
 Bases:
StampsBaseAttributes Summary
Methods Summary
append(item)Add an additional stamp.
count(value)extend(stamp_list)Extend Stamps instance by appending elements from another instance.
Retrieve archive elements associated with each stamp.
Retrieve star images.
index(value, [start, [stop]])Raises ValueError if the value is not present.
readFits(filename)Build an instance of this class from a file.
readFitsWithOptions(filename, options)Build an instance of this class with options.
writeFits(filename)Write this object to a file.
Attributes Documentation
- metadata¶
 
Methods Documentation
- count(value) integer -- return number of occurrences of value¶
 
- extend(stamp_list)¶
 Extend Stamps instance by appending elements from another instance.
- getArchiveElements()¶
 Retrieve archive elements associated with each stamp.
- Returns:
 - archiveElements
 list[lsst.afwTable.io.Persistable]
- getMaskedImages()¶
 Retrieve star images.
- Returns:
 - maskedImages
 list[lsst.afw.image.maskedImage.maskedImage.MaskedImageF]
- getPositions()¶
 
- index(value[, start[, stop]]) integer -- return first index of value.¶
 Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
- classmethod readFits(filename)¶
 Build an instance of this class from a file.
- classmethod readFitsWithOptions(filename, options)¶
 Build an instance of this class with options.