A new calibration code for the JET polarimeter.