The invention relates to a method for the calibration of sensors of the type that comprises a plurality of sensor elements, such as focal plane arrays, FPAs, for detecting infrared radiation, IR-FPA, the calibration being performed at least two temperatures. According to the invention, the sensor's dynamic range is divided into a plurality of intervals (5), a correction map is updated on a miming basis in each interval by a scene-based non-uniformity correction (6), the correction terms between adjacent intervals are interpolated (7), and the interpolated correction terms are made to correct the sensor elements of the relevant sensor (8). The invention also relates to a computer program and a computer program product. By way of the invention, a method is provided which effectively minimizes the fixed pattern noise to near zero across the entire dynamic range of the sensor, regardless of the type of non-linearity.