Python/C code for calibration of quasi-redundant arrays. Different (fixed) algorithm from original corrcal