honeybee_radiance.lightsource.dictutil module¶
Utilities to convert light source dictionaries to Python objects.
- honeybee_radiance.lightsource.dictutil.dict_to_light_source(light_source_dict, raise_exception=True)[source]¶
Get a Python object of any light source from a dictionary.
- Parameters:
light_source_dict – A dictionary of any Honeybee Radiance light source. Note that this should be a non-abridged dictionary to be valid.
raise_exception – Boolean to note whether an excpetion should be raised if the object is not identified as a light source. Default: True.
- Returns:
A Python object derived from the input light_source_dict.