An introduction to the methods of optical crystallography