lsst.afw.typehandling

lsst.afw.typehandling provides tools for handling C++ objects of arbirary type. Capabilities include a generic collection that can store LSST types, including types not accessible to afw.

Contributing

lsst.afw.typehandling is developed at https://github.com/lsst/afw. You can find Jira issues for this module under the afw component.

Python API reference

lsst.afw.typehandling Package

Classes

GenericMap(*args, **kwds)

An abstract Mapping for use when sharing a map between C++ and Python.

MutableGenericMap(*args, **kwds)

An abstract MutableMapping for use when sharing a map between C++ and Python.

SimpleGenericMap(*args, **kwargs)

A dict-like MutableMapping for use when sharing a map between C++ and Python.

Storable

StorableHelperFactory

Class Inheritance Diagram

digraph inheritanceab6095f248 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "GenericMap" [URL="../../../py-api/lsst.afw.typehandling.GenericMap.html#lsst.afw.typehandling.GenericMap",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An abstract `~collections.abc.Mapping` for use when sharing a"]; "MutableGenericMap" [URL="../../../py-api/lsst.afw.typehandling.MutableGenericMap.html#lsst.afw.typehandling.MutableGenericMap",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An abstract `~collections.abc.MutableMapping` for use when sharing a"]; "GenericMap" -> "MutableGenericMap" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Persistable" [URL="../../../py-api/lsst.afw.table.io.Persistable.html#lsst.afw.table.io.Persistable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "Persistable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SimpleGenericMap" [URL="../../../py-api/lsst.afw.typehandling.SimpleGenericMap.html#lsst.afw.typehandling.SimpleGenericMap",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A `dict`-like `~collections.abc.MutableMapping` for use when sharing a"]; "MutableGenericMap" -> "SimpleGenericMap" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Storable" [URL="../../../py-api/lsst.afw.typehandling.Storable.html#lsst.afw.typehandling.Storable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Persistable" -> "Storable" [arrowsize=0.5,style="setlinewidth(0.5)"]; "StorableHelperFactory" [URL="../../../py-api/lsst.afw.typehandling.StorableHelperFactory.html#lsst.afw.typehandling.StorableHelperFactory",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "pybind11_object" -> "StorableHelperFactory" [arrowsize=0.5,style="setlinewidth(0.5)"]; "pybind11_object" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; }