{
  "id": "enwiki-001329670827",
  "slug": "crenel-function",
  "title": "Crenel function",
  "qid": "",
  "lead": "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. 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. Mathematically, : P(x)=\\begin{cases} 1, & x \\in [-\\Delta/2, \\Delta/2], \\\\ 0, & x \\notin [-\\Delta/2, \\Delta/2], \\end{cases} The coefficients of its Fourier series are : P_k(\\Delta,x) = \\frac{\\exp(2\\pi i\\,kx)\\sin(\\pi k\\Delta)}{\\pi k} = \\Delta\\cdot\\mathrm{sinc}(\\pi k\\Delta)\\cdot\\mathrm{e}^{2\\pi i\\,kx}. with the Sinc function.",
  "body": "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. 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. Mathematically, P(x)=\\begin{cases} 1, & x \\in [-\\Delta/2, \\Delta/2], \\\\ 0, & x \\notin [-\\Delta/2, \\Delta/2], \\end{cases} The coefficients of its Fourier series are P_k(\\Delta,x) = \\frac{\\exp(2\\pi i\\,kx)\\sin(\\pi k\\Delta)}{\\pi k} = \\Delta\\cdot\\mathrm{sinc}(\\pi k\\Delta)\\cdot\\mathrm{e}^{2\\pi i\\,kx}. with the Sinc function. ==References==",
  "categories": [
    "29176351",
    "29176629"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1329670827",
  "content_hash": "",
  "created_at": null,
  "updated_at": 1766826295.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "enwiki-001329670827",
    "type": "webpage",
    "title": "Crenel function",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/crenel-function",
    "issued": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          19
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:enwiki-001329670827",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1329670827",
    "note": "Immutable snapshot enwiki-001329670827"
  }
}