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.
- brightStarStamps
Attributes Summary
Return the collection's global metadata as a PropertyList.
Methods Summary
count(value)index(value, [start, [stop]])Raises ValueError if the value is not present.
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
- count(value) integer -- return number of occurrences of value¶
- 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: str) BrightStarStamps¶
Make a
BrightStarStampsobject from a FITS file.- Parameters:
- filename
str Name of the FITS file to read.
- filename
- Returns:
- brightStarStamps
BrightStarStamps The constructed
BrightStarStampsinstance.
- brightStarStamps
- 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.
- filename
- Returns:
- brightStarStamps
BrightStarStamps The constructed
BrightStarStampsinstance.
- brightStarStamps
- writeFits(filename: str)¶
Write this
BrightStarStampsobject to a FITS file.- Parameters:
- filename
str Name of the FITS file to write.
- filename