import device def test(): su=device.Surveyor() su.InitFromFile("D:\calibration\device.dfd") su.TransArray('bicamera','cpt',[[1.0],[2.0],[3.0]])