Add facilities to transform the log of a calibration process directly to an R data frame. Refactor unit tests.