Code For Handling/Reducing PTF Data
rmdistortion.py - python script to modify the PTF epochal image headers. By default, the headers contain both PV and SIP distortion headers. Recent changes to the FITS standard have invalidated part of the header definition, and some software may have difficult reading them. This will render the images with either a SIP or TPV header convention.