Small bug correction June 2017
@@ -966,10 +966,15 @@ def cube_recenter_moffat2d_fit(array, pos_y, pos_x, fwhm=4, subi_size=5,
elif nproc>1:
pool = Pool(processes=int(nproc))
res = pool.map(EFT,itt.izip(itt.repeat(_centroid_2dm_frame),
- itt.repeat(array), range(n_frames),
- size.tolist(), pos_y.tolist(),
- pos_x.tolist(), star_approx_coords,
- star_not_present, negative, fwhm))
+ itt.repeat(array),
+ range(n_frames),
+ size.tolist(),
+ pos_y.tolist(),
+ pos_x.tolist(),
+ star_approx_coords,
+ star_not_present,
+ itt.repeat(negative),
+ fwhm))
res = np.array(res)
pool.close()
y = cy - res[:,0]
