readFitsWithOptions¶
- lsst.meas.algorithms.readFitsWithOptions(filename, stamp_factory, options)¶
Read stamps from FITS file, allowing for only a subregion of the stamps to be read.
- Parameters:
- filename
str
A string indicating the file to read
- stamp_factoryclassmethod
A factory function defined on a dataclass for constructing stamp objects a la
Stamp
- options
PropertyList
ordict
A collection of parameters. If it contains a bounding box (
bbox
key), or if certain other keys (llcX
,llcY
,width
,height
) are available for one to be constructed, the bounding box is passed to theFitsReader
in order to return a sub-image.
- filename
- Returns: