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:
pathstr

Path to the zip file.

blend_idslist[int], optional

List of blend IDs to extract from the zip file. If None, all blends in the dataset will be extracted.

Returns:
model

ScarletModelData instance.