This is a code to additively correct the jailbar artifacts in Spitzer MIPS 24um data.
Run this code with python jailbar.py f*.fits where f*.fits is a bunch of files you want corrected. This will loop through the frames and append a ‘j’ to the filename to indicate it has been jailbar corrected.
This code requires the following common python modules: