Generate animated gifs of spherical harmonics, like this:
A description of how these animations are made can be found on my blog.
Run from the Terminal with these options:
usage: python shanimate.py [-h] [-o OUTFILE] [-i INC] [-s SIZE] [-n NFRAMES]
[-d DURATION] [--nlon NLON] [--nlat NLAT] [--dpi DPI]
ell m
Generate animated gif of spherical harmonic.
positional arguments:
ell spherical degree
m azimuthal order
optional arguments:
-h, --help show this help message and exit
-o OUTFILE, --outfile OUTFILE
output gif filename
-i INC, --inc INC inclination (degrees from pole)
-s SIZE, --size SIZE image size (inches)
-n NFRAMES, --nframes NFRAMES
number of frames in animation
-d DURATION, --duration DURATION
animation duration (seconds)
--nlon NLON number of longitude samples
--nlat NLAT number of latitude samples
--dpi DPI dots per inch