sf_origin.py 253 字节
Newer Older
A
Alex Duan 已提交
1 2 3 4
# init
def init():
    pass

A
Alex Duan 已提交
5 6
# destroy
def destroy():
A
Alex Duan 已提交
7 8 9 10 11 12 13 14 15
    pass

# return origin column one value 
def process(block):
    (rows, cols) = block.shape()
    results = []
    for i in range(rows):
        results.append(block.data(i,0))
    return results