Gather n_basis data for Sine and SinePizza