#Scan parallization

def scan1():
    print "scan1"
    return lscan(inp, sin, 0, 40, 20, 0.1, title = "scan1")

def scan2():
    print "scan2"    
    return lscan(sout, arr, 0, 40, 20, 0.1, title = "scan2")

ret = parallelize(scan1, scan2)
