CutoutPath¶
- class lsst.analysis.ap.CutoutPath(root, chunk_size=None)¶
Bases:
object
Manage paths to image cutouts with filenames based on diaSourceId.
Supports local files, and id-chunked directories.
- Parameters:
- Raises:
- RuntimeError
Raised if chunk_size is not a power of 10.
Methods Summary
__call__
(id)Return the full path to a diaSource cutout.
mkdir
(id)Make the directory tree to write this cutout id to.
Methods Documentation
- __call__(id)¶
Return the full path to a diaSource cutout.