|
lsst.pipe.tasks g5b638a483d+296d17aeab
|
Public Member Functions | |
| __init__ (self, Sequence[ExtendedPsfCandidate] candidates, dict[str, MetadataValue]|None metadata=None) | |
| __len__ (self) | |
| __getitem__ (self, index) | |
| __iter__ (self) | |
| str | __str__ (self) |
| metadata (self) | |
| ref_id_map (self) | |
| ExtendedPsfCandidates | read_fits (cls, ResourcePathExpression url) |
| None | write_fits (self, str filename) |
| ExtendedPsfCandidatesSerializationModel | serialize (self, OutputArchive[Any] archive) |
Static Protected Member Functions | |
| type[ExtendedPsfCandidatesSerializationModel[P]] | _get_archive_tree_type (type[P] pointer_type) |
Protected Attributes | |
| _candidates = list(candidates) | |
| dict | _metadata = {} if metadata is None else dict(metadata) |
| dict | _ref_id_map |
A collection of star cutouts.
Parameters
----------
candidates : `Iterable` [`ExtendedPsfCandidate`]
Collection of `ExtendedPsfCandidate` instances.
metadata : `dict` [`str`, `MetadataValue`], optional
Global metadata associated with the collection.
Attributes
----------
metadata : `dict` [`str`, `MetadataValue`]
Global metadata associated with the collection.
ref_id_map : `dict` [`int`, `ExtendedPsfCandidate`]
A mapping from reference IDs to `ExtendedPsfCandidate` objects.
Only includes candidates with valid reference IDs.
Definition at line 250 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.__init__ | ( | self, | |
| Sequence[ExtendedPsfCandidate] | candidates, | ||
| dict[str, MetadataValue] | None | metadata = None ) |
Definition at line 269 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.__getitem__ | ( | self, | |
| index ) |
Definition at line 285 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.__iter__ | ( | self | ) |
Definition at line 290 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.__len__ | ( | self | ) |
Definition at line 282 of file extended_psf_candidates.py.
| str lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.__str__ | ( | self | ) |
Definition at line 293 of file extended_psf_candidates.py.
|
staticprotected |
Definition at line 340 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.metadata | ( | self | ) |
Return the collection's global metadata as a dict.
Definition at line 299 of file extended_psf_candidates.py.
| ExtendedPsfCandidates lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.read_fits | ( | cls, | |
| ResourcePathExpression | url ) |
Read a collection from a FITS file.
Parameters
----------
url
URL of the file to read; may be any type supported by
`lsst.resources.ResourcePath`.
Definition at line 309 of file extended_psf_candidates.py.
| lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.ref_id_map | ( | self | ) |
Map reference IDs to `ExtendedPsfCandidate` objects.
Definition at line 304 of file extended_psf_candidates.py.
| ExtendedPsfCandidatesSerializationModel lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.serialize | ( | self, | |
| OutputArchive[Any] | archive ) |
Definition at line 330 of file extended_psf_candidates.py.
| None lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidates.write_fits | ( | self, | |
| str | filename ) |
Write the collection to a FITS file.
Parameters
----------
filename
Name of the file to write to. Must not already exist.
Definition at line 320 of file extended_psf_candidates.py.
|
protected |
Definition at line 274 of file extended_psf_candidates.py.
|
protected |
Definition at line 275 of file extended_psf_candidates.py.
|
protected |
Definition at line 276 of file extended_psf_candidates.py.