def toPropertyMap(self) -> PropertyMap: return PropertyMap({ "Device": Property(self.stageName), "Position_um": PropertyArray([Property(self.x), Property(self.y)]), })
def toPropertyMap(self) -> PropertyMap: return PropertyMap({ "DefaultXYStage": Property(self.defaultXYStage), "DefaultZStage": Property(self.defaultZStage), "DevicePositions": PropertyMapArray([i.toPropertyMap() for i in self.stagePositions]), "GridCol": Property(0), "GridRow": Property(0), "Label": Property(self.label), "Properties": PropertyMap({}) })