A grating is any regularly spaced collection of essentially identical, parallel, elongated elements. Gratings usually consist of a single set of elongated elements, but can consist of two sets, in which case the second set is usually perpendicular to the first. When the two sets are perpendicular, this is also known as a grid or a mesh.
Grating can also come in or x s which are often used for decks on bridges, footbridges and catwalks. Other panel sizes may also be available. Grating can be made of different materials like steel, aluminum, fiberglass. Fiberglass grating is also known as FRP grating.
As filters
A grating covering a drain can be a collection of iron bars held together by a lighter iron frame. Gratings over drains and air vents are used as filters, to block movement of large particles and to allow movement of small particles.
Diffraction gratings
Grating can also be a diffraction grating: a reflecting or transparent optical component on which there are many fine, parallel, equally spaced grooves.
As pictures
A grating can also be a picture having the characteristics of a grating. For example, a picture might be of a collection of parallel black bars separated by equal-sized white bars. These sorts of gratings are described by a graph. On the y-axis of the graph is the luminance obtained by moving a light meter over the grating perpendicular to the orientation of the grating. On the x-axis of the graph is the distance the light meter moved. The example is a square-wave grating ; the graph consists of flat, low lines, with abrupt corners leading to flat high lines. One period of such a grating consists of one black bar and one adjacent white bar. Gratings where the black bars have a different width from the white bars are rectangular and are described by the duty cycle. The duty cycle is the ratio of width of the black bar to period. Gratings are usually specified by four parameters. Spatial frequency is the number of cycles occupying a particular distance. Contrast is a measure of the difference in luminance between the light parts of the grating and the dark parts. It is usually expressed as Michelson contrast: the maximum luminance minus the minimum luminance divided by the maximum luminance plus the minimum luminance. Phase is the position of the graph relative to some standard position. It is usually measured in degrees or in radians. Orientation is the angle the grating makes with some standard orientation. It is also usually measured in degree or in radians. Grating elements can have luminances other than that of sharp-edged bars. If the graph of a grating is sinusoidal, the grating looks like a set of blurry light and dark bars and it is called a sine-wave grating. Sine-wave gratings are used extensively in optics to determine the transfer functions of lenses. A lens will form an image of a sine-wave grating that is still sinusoidal, but with some reduction in its contrast depending on the spatial frequency and possibly some change in phase. The branch of mathematics dealing with this part of optics is Fourier analysis. Gratings are also used extensively in research into visual perception. Campbell and Robson promoted using sine-wave gratings by arguing that the human visual performs a Fourier analysis on retinal images.