# Documentation

The MC Grating reference manual online: 69 topics from the in-application help of the four code families, the step-by-step examples with 36 figures, the modes-interference study and the version history.

Canonical: https://mcgrating.com/docs.html


The in-application help, one tree per code family, shared topics rendered once. Written by the author of the software; the text describes the codes through 2018, and later features have pages of their own.

### [Modal Collinear and Modal Conical](https://mcgrating.com/docs/modal/introduction.html)

The modal-method codes for one-dimensional gratings: True Modes Method and Fourier Modal Method (RCWA), best suited to lamellar profiles, other profiles sliced into layers; classical and conical mounts.

31 topics

### [Modal Crossed](https://mcgrating.com/docs/modal-crossed/introduction.html)

The Fourier modal method for biperiodic (crossed) gratings, with the normal-vector field for convergence.

31 topics

### [Chandezon Collinear and Chandezon Conical](https://mcgrating.com/docs/chandezon/introduction.html)

The C-method codes for one-dimensional gratings with smooth profiles: classic and extended methods, classical and conical mounts.

28 topics

### [Chandezon Crossed](https://mcgrating.com/docs/chandezon-crossed/introduction.html)

The C method extended to biperiodic (crossed) gratings with smooth profiles.

28 topics

## Modal Collinear and Modal Conical

- [Introduction](https://mcgrating.com/docs/modal/introduction.html)

  - [Restrictions](https://mcgrating.com/docs/modal/restrictions.html)

- [Project window and menus](https://mcgrating.com/docs/modal/menus.html)

  - [Settings Dialog](https://mcgrating.com/docs/modal/settings.html)

    - [General Parameters](https://mcgrating.com/docs/modal/general.html)
    - [Layers](https://mcgrating.com/docs/modal/layers.html)

      - [Layer Slicing](https://mcgrating.com/docs/modal/layer-slicing.html)

    - [Scanning](https://mcgrating.com/docs/modal/scanning.html)
    - [Resonance](https://mcgrating.com/docs/common/resonance.html)
    - [Fields](https://mcgrating.com/docs/common/fields.html)
    - [Options](https://mcgrating.com/docs/modal/options.html)
    - [Modes](https://mcgrating.com/docs/modal/modes.html)

      - [Modes Interference](https://mcgrating.com/docs/modal/modes-interference.html)

        - [Appendix](https://mcgrating.com/docs/modal/appendix.html)

  - [Advanced Options](https://mcgrating.com/docs/common/advanced-options.html)

    - [Advanced Output](https://mcgrating.com/docs/common/advanced-output.html)
    - [Advanced Scanning](https://mcgrating.com/docs/common/advanced-scanning.html)
    - [Interdependent Parameters](https://mcgrating.com/docs/common/interdependent-parameters.html)

  - [Analysis Dialog](https://mcgrating.com/docs/common/analysis.html)

    - [Gauss FFT](https://mcgrating.com/docs/common/gauss-fft.html)
    - [Gauss Pole](https://mcgrating.com/docs/common/gauss-pole.html)

  - [Optimization Dialog](https://mcgrating.com/docs/common/optimization-dialog.html)

    - [Variable Parameters](https://mcgrating.com/docs/common/variable.html)
    - [Criterion Function](https://mcgrating.com/docs/common/criterion.html)
    - [Optimization](https://mcgrating.com/docs/common/optimization.html)

  - [Graph Dialog](https://mcgrating.com/docs/common/graph.html)

    - [3D Graph](https://mcgrating.com/docs/common/graph-3d.html)

  - [Slider](https://mcgrating.com/docs/common/slider.html)

- [Material Dialog](https://mcgrating.com/docs/common/material.html)

  - [Material Editor](https://mcgrating.com/docs/common/material-editor.html)

- [Command Line](https://mcgrating.com/docs/common/command-line.html)

## Modal Crossed

- [Introduction](https://mcgrating.com/docs/modal-crossed/introduction.html)

  - [Restrictions](https://mcgrating.com/docs/modal-crossed/restrictions.html)

- [Project window and menus](https://mcgrating.com/docs/modal-crossed/menus.html)

  - [Settings Dialog](https://mcgrating.com/docs/modal-crossed/settings.html)

    - [General Parameters](https://mcgrating.com/docs/modal-crossed/general.html)
    - [Layers](https://mcgrating.com/docs/modal-crossed/layers.html)
    - [Scanning](https://mcgrating.com/docs/modal-crossed/scanning.html)
    - [Resonance](https://mcgrating.com/docs/common-crossed/resonance.html)
    - [Fields](https://mcgrating.com/docs/common-crossed/fields.html)
    - [Options](https://mcgrating.com/docs/modal-crossed/options.html)
    - [Modes](https://mcgrating.com/docs/modal-crossed/modes.html)

      - [Modes Interference](https://mcgrating.com/docs/modal-crossed/modes-interference.html)

        - [Appendix](https://mcgrating.com/docs/modal-crossed/appendix.html)

    - [NV Field](https://mcgrating.com/docs/modal-crossed/nv-field.html)

  - [Advanced Options](https://mcgrating.com/docs/common/advanced-options.html)

    - [Advanced Output](https://mcgrating.com/docs/common/advanced-output.html)
    - [Advanced Scanning](https://mcgrating.com/docs/common/advanced-scanning.html)
    - [Interdependent Parameters](https://mcgrating.com/docs/common/interdependent-parameters.html)

  - [Analysis Dialog](https://mcgrating.com/docs/common-crossed/analysis.html)

    - [Gauss FFT](https://mcgrating.com/docs/common/gauss-fft.html)
    - [Gauss Pole](https://mcgrating.com/docs/common/gauss-pole.html)

  - [Optimization Dialog](https://mcgrating.com/docs/common-crossed/optimization-dialog.html)

    - [Variable Parameters](https://mcgrating.com/docs/common-crossed/variable.html)
    - [Criterion Function](https://mcgrating.com/docs/common-crossed/criterion.html)
    - [Optimization](https://mcgrating.com/docs/common/optimization.html)

  - [Graph Dialog](https://mcgrating.com/docs/common-crossed/graph.html)

    - [3D Graph](https://mcgrating.com/docs/common/graph-3d.html)

  - [Slider](https://mcgrating.com/docs/common-crossed/slider.html)

- [Material Dialog](https://mcgrating.com/docs/common/material.html)

  - [Material Editor](https://mcgrating.com/docs/common/material-editor.html)

- [Command Line](https://mcgrating.com/docs/common/command-line.html)

## Chandezon Collinear and Chandezon Conical

- [Introduction](https://mcgrating.com/docs/chandezon/introduction.html)

  - [Restrictions](https://mcgrating.com/docs/chandezon/restrictions.html)

- [Project window and menus](https://mcgrating.com/docs/chandezon/menus.html)

  - [Settings Dialog](https://mcgrating.com/docs/chandezon/settings.html)

    - [General Parameters](https://mcgrating.com/docs/chandezon/general.html)
    - [Layers](https://mcgrating.com/docs/chandezon/layers.html)
    - [Grating](https://mcgrating.com/docs/chandezon/grating.html)
    - [Scanning](https://mcgrating.com/docs/chandezon/scanning.html)
    - [Resonance](https://mcgrating.com/docs/common/resonance.html)
    - [Fields](https://mcgrating.com/docs/common/fields.html)
    - [Options](https://mcgrating.com/docs/chandezon/options.html)

  - [Advanced Options](https://mcgrating.com/docs/common/advanced-options.html)

    - [Advanced Output](https://mcgrating.com/docs/common/advanced-output.html)
    - [Advanced Scanning](https://mcgrating.com/docs/common/advanced-scanning.html)
    - [Interdependent Parameters](https://mcgrating.com/docs/common/interdependent-parameters.html)

  - [Analysis Dialog](https://mcgrating.com/docs/common/analysis.html)

    - [Gauss FFT](https://mcgrating.com/docs/common/gauss-fft.html)
    - [Gauss Pole](https://mcgrating.com/docs/common/gauss-pole.html)

  - [Optimization Dialog](https://mcgrating.com/docs/common/optimization-dialog.html)

    - [Variable Parameters](https://mcgrating.com/docs/common/variable.html)
    - [Criterion Function](https://mcgrating.com/docs/common/criterion.html)
    - [Optimization](https://mcgrating.com/docs/common/optimization.html)

  - [Graph Dialog](https://mcgrating.com/docs/common/graph.html)

    - [3D Graph](https://mcgrating.com/docs/common/graph-3d.html)

  - [Slider](https://mcgrating.com/docs/common/slider.html)

- [Material Dialog](https://mcgrating.com/docs/common/material.html)

  - [Material Editor](https://mcgrating.com/docs/common/material-editor.html)

- [Command Line](https://mcgrating.com/docs/common/command-line.html)

## Chandezon Crossed

- [Introduction](https://mcgrating.com/docs/chandezon-crossed/introduction.html)

  - [Restrictions](https://mcgrating.com/docs/chandezon-crossed/restrictions.html)

- [Project window and menus](https://mcgrating.com/docs/chandezon-crossed/menus.html)

  - [Settings Dialog](https://mcgrating.com/docs/chandezon-crossed/settings.html)

    - [General Parameters](https://mcgrating.com/docs/chandezon-crossed/general.html)
    - [Layers](https://mcgrating.com/docs/chandezon-crossed/layers.html)
    - [Grating](https://mcgrating.com/docs/chandezon-crossed/grating.html)
    - [Scanning](https://mcgrating.com/docs/chandezon-crossed/scanning.html)
    - [Resonance](https://mcgrating.com/docs/common-crossed/resonance.html)
    - [Fields](https://mcgrating.com/docs/common-crossed/fields.html)
    - [Options](https://mcgrating.com/docs/chandezon-crossed/options.html)

  - [Advanced Options](https://mcgrating.com/docs/common/advanced-options.html)

    - [Advanced Output](https://mcgrating.com/docs/common/advanced-output.html)
    - [Advanced Scanning](https://mcgrating.com/docs/common/advanced-scanning.html)
    - [Interdependent Parameters](https://mcgrating.com/docs/common/interdependent-parameters.html)

  - [Analysis Dialog](https://mcgrating.com/docs/common-crossed/analysis.html)

    - [Gauss FFT](https://mcgrating.com/docs/common/gauss-fft.html)
    - [Gauss Pole](https://mcgrating.com/docs/common/gauss-pole.html)

  - [Optimization Dialog](https://mcgrating.com/docs/common-crossed/optimization-dialog.html)

    - [Variable Parameters](https://mcgrating.com/docs/common-crossed/variable.html)
    - [Criterion Function](https://mcgrating.com/docs/common-crossed/criterion.html)
    - [Optimization](https://mcgrating.com/docs/common/optimization.html)

  - [Graph Dialog](https://mcgrating.com/docs/common-crossed/graph.html)

    - [3D Graph](https://mcgrating.com/docs/common/graph-3d.html)

  - [Slider](https://mcgrating.com/docs/common-crossed/slider.html)

- [Material Dialog](https://mcgrating.com/docs/common/material.html)

  - [Material Editor](https://mcgrating.com/docs/common/material-editor.html)

- [Command line](https://mcgrating.com/docs/common/command-line.html)

## Beyond the manual  [Step-by-step examples, page by page36 figures](https://mcgrating.com/docs/examples.html) [Modes interference in high-contrast gratingsstudy](https://mcgrating.com/modes-interference.html) [Python interface (2021)feature](https://mcgrating.com/features/python-api.html) [JSON output (2021)feature](https://mcgrating.com/features/json-output.html) [Stochastic C-method (2026)feature](https://mcgrating.com/features/stochastic-c-method.html) [Version history40 releases](https://mcgrating.com/changelog.html)

The same text is available as two PDFs, [Users Manual 1D Gratings](https://mcgrating.com/files/UserManualMC.pdf) and [Users Manual Crossed Gratings](https://mcgrating.com/files/UserManualCr.pdf).
