X-ray optics is the branch of optics that manipulates X-rays instead of visible light. It deals with focusing and other ways of manipulating the X-ray beams for research techniques such as X-ray crystallography, X-ray fluorescence, small-angle X-ray scattering, X-ray microscopy, X-ray phase-contrast imaging, and X-ray astronomy. Since X-rays and visible light are both electromagnetic waves they propagate in space in the same way, but because of the much higher frequency and photon energy of X-rays they interact with matter very differently. Visible light is easily redirected using lenses and mirrors, but because the real part of the complex refractive index of all materials is very close to 1 for X-rays, they instead tend to initially penetrate and eventually get absorbed in most materials without changing direction much. X-ray techniques There are many different techniques used to redirect X-rays, most of them changing the directions by only minute angles. The most common principle used is reflection at grazing incidence angles, either using total external reflection at very small angles or multilayer coatings. Other principles used include diffraction and interference in the form of zone plates, refraction in compound refractive lenses that use many small X-ray lenses in series to compensate by their number for the minute index of refraction, Bragg reflection from a crystal plane in flat or bent crystals. X-ray beams are often collimated or reduced in size using pinholes or movable slits typically made of tungsten or some other high-Z material. Narrow parts of an X-ray spectrum can be selected with monochromators based on one or multiple Bragg reflections by crystals. X-ray spectra can also be manipulated by having the X-rays pass through a filter (optics). This will typically reduce the low-energy part of the spectrum, and possibly parts above absorption edges of the elements used for the filter. Focusing optics Analytical X-ray techniques such as X-ray crystallography, small-angle X-ray scattering, wide-angle X-ray scattering, X-ray fluorescence, X-ray spectroscopy and X-ray photoelectron spectroscopy all benefit from high X-ray flux densities on the samples being investigated. This is achieved by focusing the divergent beam from the X-ray source onto the sample using one out of a range of focusing optical components. This is also useful for scanning probe techniques such as scanning transmission X-ray microscopy and scanning X-ray fluorescence imaging. Polycapillary optics Polycapillary lenses are arrays of small hollow glass tubes that guide the X-rays with many total external reflections on