s- and p-polarizationsĀ 

These animations show the s (or šœŽ)- and p (or šœ‹)-polarizations relative to a surface. When the electric field (here, depicted in red) of an x-ray beam incident on a surface is (quasi-) perpendicular to the plane defined by the propagation direction and the surface normal, it is said to be šœŽ- or s-polarized (from the German for perpendicular, ā€˜senkrechtā€™). When the electric field lies in the plane, the radiation is šœ‹- or p-polarized (from the German for parallel, er, ā€˜parallelā€™). The matlab code lets the user choose between the two.