Generic library of photometry routines to use with many detectors and object types.