# Advanced Scanning

Advanced Scanning — MC Grating documentation for Modal Collinear and Modal Conical and Modal Crossed and Chandezon Collinear and Chandezon Conical and…

Canonical: https://mcgrating.com/docs/common/advanced-scanning.html


Written by Nikolay M. LyndinLast revised 2017-03-08

This documentation was written for releases up to 2018 and is being revised. Some dialogs have changed since. If something does not match what you see, write to [mc@mcgrating.com](mailto:mc@mcgrating.com).

This submenu contains three samples: the one-dimensional scanning using data from a table and the one-dimensional or two-dimensional scanning using the equations. The user can edit on your needs this part according to the rules written in the comments to this part.
 The data table can have a single column argument (this column name must not contain the character '_'). If this column is not available, in output will be added the default column with the name *DataLine* in which the index of row data will be presented. Names of the other columns should refer to the structure parameters in accordance with the rules in remarks of example. The data corresponding to the names begin with ‘_’ will not be contained in the output. The output file of one-dimensional scanning will also contain data defined on the page *Settings* -> *Scanning*. In the case of a two-dimensional scanning output file will correspond to the page *Settings* -> *Scanning*, with one exception, in conjunction with *Advanced* *Output* result will be determined by the last line of the *Advanced* *Output*.
 For the user convenience (if there is a valid part of the *Advanced Scanning* and the left shift button is pressed) the mouse click displays a message in following cases. In case the *Editor Window* points to the project structure the message informs about the values of the line and column of structure parameter pointed to. In case the *Editor Window* points to the line of a data part the user can copy the data from this line into the structure. In case the *Editor Window* points to the *Advanced Scanning* part by formulas the user can set the value of the argument(s) and change the corresponding parameters of the structure. For example if the scanning changes the grating profile the last option provides the user with a possibility to evaluate profile for selected scanning point.
 MC Grating software includes some built-in edit checks, but nevertheless the user is solely responsible for the corresponding data values and its correct destination to parameters of the project structure.

From the in-application help of Modal Collinear and Modal Conical, documented through 2018. If you publish results computed with MC Grating, see [how to cite it](https://mcgrating.com/references.html#cite).
