stilt.PointReceptor.from_dict#

classmethod PointReceptor.from_dict(d)#

Build a receptor from a dict made by to_dict().

Raises:

ValueError – If the dict has no "type" key or names an unknown type.

Return type:

Receptor

Parameters:

d (dict[str, object])