read_scarlet_model¶
- lsst.meas.extensions.scarlet.read_scarlet_model(path_or_stream: str, blend_ids: list[int] | None = None) ScarletModelData ¶
Read a zip file and return a ScarletModelData instance.
- Parameters:
- path
str
Path to the zip file.
- blend_ids
list[int]
, optional List of blend IDs to extract from the zip file. If None, all blends in the dataset will be extracted.
- path
- Returns:
- model
ScarletModelData instance.