# Crenel function

In mathematics, the **crenel function** is a periodic discontinuous function *P*(*x*) defined as 1 for *x* belonging to a given interval and 0 outside of it. It can be presented as a difference between two Heaviside step functions of amplitude 1.[1] It is used in crystallography to account for irregularities in the occupation of atomic sites by given atoms in solids, such as periodic domain structures, where some regions are enriched and some are depleted with certain atoms.[2]

Mathematically,

The coefficients of its Fourier series are

with the Sinc function.

## References

- Petříček, V.; Van Der Lee, A.; Evain, M. (1995). "On the use of crenel functions for occupationally modulated structures".
*Acta Crystallographica Section A*.**51**(4): 529. doi:10.1107/S0108767395000365. - Malliakas, Christos D. (2008).
*Charge Density Waves and Structural Modulations in Polytelluride Compounds*. ProQuest. pp. 30–31. ISBN 978-0-549-61737-2.

This article is issued from
Wikipedia.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.