"""
Area Scan
"""

#steps_x = args[0]
#steps_y = args[1]

ret = ascan((dev,out), (sin, arr), (0,10), (20,30), (steps_x,steps_x), 0.02)

#p = get_exec_pars()
#set_return(ret)
#set_return(ret.getData(0))
#set_return([p.getPath()+"|"+get_exec_pars().group+"sin"])
#set_return(p.getPath()+"|"+get_exec_pars().group+"sin")


#set_return([ret.path + "sin", ret.path + "arr"])
av = mean(ret.getReadable(0))
set_return([av, ret.path + sin.name])

