BrightStarStamps#
- class lsst.meas.algorithms.BrightStarStamps(brightStarStamps: Sequence[BrightStarStamp], metadata: PropertyList | None = None)#
Bases:
Sequence[BrightStarStamp]A collection of bright star stamps.
Parameters#
- brightStarStamps
Iterable[BrightStarStamp] Collection of
BrightStarStampinstances.- metadata
PropertyList, optional Global metadata associated with the collection.
Attributes Summary
Return the collection's global metadata as a PropertyList.
Methods Summary
readFits(filename)Make a
BrightStarStampsobject from a FITS file.readFitsWithOptions(filename, options)Make a
BrightStarStampsobject from a FITS file, with options.writeFits(filename)Write this
BrightStarStampsobject to a FITS file.Attributes Documentation
- metadata#
Return the collection’s global metadata as a PropertyList.
Methods Documentation
- classmethod readFits(filename: str) BrightStarStamps#
Make a
BrightStarStampsobject from a FITS file.Parameters#
- filename
str Name of the FITS file to read.
Returns#
- brightStarStamps
BrightStarStamps The constructed
BrightStarStampsinstance.
- filename
- classmethod readFitsWithOptions(filename: str, options: PropertyList | None) BrightStarStamps#
Make a
BrightStarStampsobject from a FITS file, with options.Parameters#
- filename
str Name of the FITS file to read.
- options
PropertyList, optional Options for reading the FITS file. Not currently used.
Returns#
- brightStarStamps
BrightStarStamps The constructed
BrightStarStampsinstance.
- filename
- writeFits(filename: str)#
Write this
BrightStarStampsobject to a FITS file.Parameters#
- filename
str Name of the FITS file to write.
- filename
- brightStarStamps