Photometry of single-crystal X-ray photographs