transformFromString

lsst.afw.geom.transformFromString(data)

Read a Transform from a string that was saved using Transform.writeString

Unlike Transform.readString, you need not know the Transform class in advance

Parameters:
data : str

A string in the format produced by Transform.writeString.

Returns:
transform : a Transform class

An object of the same type used to create data.