A tool to calculate and visualize spherical harmonics and stellar g-mode pulsations