pwspy.utility.micromanager.PropertyMap

class pwspy.utility.micromanager.PropertyMap(properties)[source]

Bases: pwspy.utility.micromanager.PropertyMap._JsonAble

Represents a propertyMap from micromanager. basically a list of properties.

properties

A list of properties

encode()[source]

This method should convert the property map class to a dictionary for jsonization

Return type

dict

static hook(d)[source]

This function should try to identify if the provided JSON object (int, float, string, list, dict) represents an instance of this Property map class. If so then generate the class, otherwire return the input value unchanged.