# Project window and menus

Project window and menus — MC Grating documentation for Chandezon Collinear and Chandezon Conical. The user is provided with several ways to open a project.…

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


Written by Nikolay M. LyndinLast revised 2013-01-22

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).

The user is provided with several ways to open a project. Click the frame file menu ***File*** to choose one of three options:

- ***Samples*** provides the possibility to start a new project with two options: the example of a sinusoidal grating profile and the example of a points presentation of a triangular profile followed by its sinus decomposition.
- ***Open*** is a standard menu to open previously saved projects.
- ***Reopen*** contains the list of recently saved files.

The project window has an editor type and starts with the text representation of the structure (project) parameters. At the bottom of this window there are some controls with obvious functions. Five functions ***Graph***,*** Run***,*** Settings***, ***Analysis*** and ***Optimize*** are repeated in the main frame menu. The button ***Result/Structure*** switches the edit window between text representation of the structure parameters or of the results of calculations. If the *Structure* editor is activated the user can save the structure parameters and settings in a file with the extension CHA. If the *Result* editor is activated the user can save the calculated result in a file with the extension DAT. The Editor provides the possibility to edit results table and structure parameters but it is recommended to use the ***[Settings Dialog](https://mcgrating.com/docs/chandezon/settings.html)*** window for the last purpose.

After opening the project window the additional items appear in the main menu:

- ***Edit*** is a standard item and its items are not fully functional while the editor is read only. The user can switch this attribute by ***Read only*** control.
- ***Font… ***is a standard menu item for editing.
- ***[Settings](https://mcgrating.com/docs/chandezon/settings.html)*** opens dialog window for editing the structure parameters, settings and calculation options.
- ***Run*** starts the process (calculation).
- ***[Optimize](https://mcgrating.com/docs/common/optimization-dialog.html)*** opens dialog window for defining the structure optimization parameters, user defined criterion function and for optimization process control.
- ***[Graph](https://mcgrating.com/docs/common/graph.html)*** represents the results of the calculations in a graphical form. If the results are not applicable to this option, or there are no results at all, the ***Graph*** is inactive.
- ***[Analysis](https://mcgrating.com/docs/common/analysis.html)*** opens dialog window for analyzing finite Gauss beam reflection and transmission and to check the resonance poles parameters.
- ***[Slider](https://mcgrating.com/docs/common/slider.html)*** is present only in the conical mount versions. The corresponding dialog provides the possibility for an express analysis of the result graph behavior versus the input polarization state.
- ***Duplicate ***duplicates the active project into a new project window. This procedure is safe at any stage.
- ***Service Window*** permanently contains the ***Structure Geometry*** submenu for viewing the coordinate system, grating orientation and incident and diffracted plane wave definitions. Depending on the project state, additional submenu references on the grating profile or activated graphs can appear.
- ***Window ***is a standard item.
- ***Help*** is a standard item. The *Version* in *Help -> About* has yyyy-MM-dd format of the code compilation date.

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