Fork from source code found in http://chianti.ucsd.edu/svn/csplugins/trunk/ucsf/scooter/clusterMaker/