def __init__(self, multiprocess=True):
#Determine the center to rotate around
self.center_shift = np.array((params.PIXELS, params.PIXELS)) / 2. - 0.5
self.multiprocess = multiprocess
if self.multiprocess:
self.pool = Pool(4)
评论列表
文章目录