Analysis Dialog
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.
This dialog allows calculating reflection and transmission of a finite Gaussian beam of two output polarizations the TE (s) or the TM (p) in the incident plane normal to the grating grooves (collinear geometry) or in the plane base coordinate system (conical geometry). In the case of the TE polarization the software uses Ey (collinear codes) or Es (conical codes) electrical field component. In the case of the TM polarization the software uses Hy (collinear codes) or Ep = Hp/n (conical codes; n is the propagation medium refractive index) electromagnetic field component. The FFT (Fast Fourier Transform) and Pole functions of a resonance search are implemented.
The reflected and transmitted Gaussian beams are calculated as a sum of corresponding plane waves. The Analysis button is active only if a result data is in the form of scanning versus angle or Resonance was found or external data file is a scanning versus angle of complex reflected and/or transmitted amplitude calculated in the case of conical codes with switched on the Output Polarizer (Settings dialog -> Scanning page).
The Analysis dialog contains several pages:
- General page informs about the geometry, pole functions definitions and input parameters. If Resonance was found the user can switch the pictures with information by the Picture control. If the data was loaded from the external file, the edit fields become active and it is necessary to fill them with appropriate values and press the button Ok General. The user also can add appropriate data at the end of the input data file after the blank line and in individual lines. The format is: value, double space or tab followed by specifications (Wl, Per, AngP - conical geometry, Nc, Ns, Pol).
- Gauss (FFT) page appears only if the result data is in a form of scanning versus the incidence angle.
- Gauss (Pole) page appears every time when Resonance was found.
Under the pagers area there are three buttons:
- Calculate with obvious meaning. If the process takes long time the user can terminate calculations with the same button which changed its caption and functionality to Terminate.
- OK saves the state of dialog and hides it.
- Cancel closes the dialog.
The controls of data format output to the Graph and to the Result window are also placed here. By default the output data always contains the Power option.
Depending on resonance type (single or double) the Single Resonance and Pole or the Double Resonance and Poles pagers appear. These pagers represent the appropriate resonance and poles parameters. Under these pagers the button Calculate is replaced with the button Data Window which provides ability to save the page information in data file.
Note 1 Sometimes the Graph or Result window is not accessible with open Analysis dialog. In this case the user may press OK button to hide the dialog.
Note 2 External data file, it is desirable to open by the program with the help of which it was created.
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.