IDL software written by @jradavenport