pcdsdevices.make_ophyd_device.make_class

pcdsdevices.make_ophyd_device.make_class(name, d)

Generate the requisite code for a simple python class for interacting with a device. Takes a desired class name and a dictionary of dictionaries, created using recurse_record, to generate all components and sub-components for a class. Recurses the dictionary, building up sub-classes as needed.