A spherical harmonics filter for solar oscillations research