Spherical Harmonics Filter

Hello,

I was looking into using the spherical harmonics filter; however, there are some things that are a bit unclear with the cosine variable.

Do you need to manually set the cosine variable to switch between the two modes or is this automatically determined by what is being scored?

Also, what does the filter do when the cosine is set to scatter, since doing a spherical expansion on the cosine of the scattering angle is a bit nonsensical. Would doing this result to a weighting of the outgoing solid angle of the particle?

Thank you.