''' Line Scan ''' #setup_plotting(plot_list = (sin,out)) #x = 2/0 print get_exec_pars().path #a= lscan(inp, (sin,out,arr), 0, 40, 10, 0.2) ret= tscan(sin, 10, 0.1) p = get_exec_pars() print p.getPath() print p.getScanPath() path = get_exec_pars().group #save_dataset(path + "data", a.getReadable(0) ) #set_attribute(path + "data", "Temp", 39.0) set_attribute(path, "AttrString", "Value") set_attribute(path, "AttrInteger", 1) set_attribute(path, "AttrDouble", 2.0) set_attribute(path, "AttrBoolean", True) set_attribute(path, "AttrArr", [1,2,3]) set_attribute(path + "sin", "Temp", 39.0) #set_return([1.0, 3, [1,2,3,4]]) #set_return("T\"es\"t") #set_return([3.0,2]) set_return(ret)