annayqho / TheCannon

a data-driven method for determining stellar parameters and abundances from stellar spectra
MIT License
39 stars 16 forks source link

Masked numpy array for interpolations #47

Closed tingyuansen closed 8 years ago

tingyuansen commented 9 years ago

In some occasions, the interpolation is done over a masked array. I think the goal is to interpolate while ignoring those masked entries. However, np.ma.array might not do the job. The interpolation is done over the unmasked version of the array.