page http://manaslu.astro.utoronto.ca/deep2calib/ describes the code to be written.