You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simulacion-permeabilidad/fftma_module/ref/test.py

17 lines
220 B
Python

from time import time
import numpy as np
import refine
size=420
a=np.arange(size**3).astype('f8').reshape((size,size,size))
ti=time()
b=refine.refine(a,2,2,2)
tf=time()
dt=tf-ti
print a
print b
print dt
raw_input("")