Home › Forums › GRATING › Grating shape › Reply To: Grating shape
Hi Ricardo,
You can import the fiber profile from a file, e.g. listing radii-indices of each region. For custom grating profiles, however, the ‘user defined function’ option provides ultimate flexibility in defining the profile. You can simply define the shape function and possibly use the built-in scripting capability (similar to Basic, e.g. IF THEN ELSE etc.) to define desired shape function over the grating period. The function editing area comes with quick access (click & place from combo boxes) to global variables (x:the position variable varying from 0 to grating period, Period:grating period etc.), math functions and constants. You can readily run/debug the function and visualize the grating profile graphically with designing your profile. For complete list of capabilities and scripting commands please see Appendix A of the Manual.
You should be able to define a square profile with custom duty cycle through a conditional block using global ‘x’ and ‘Period’ variables.
Kind regards,
Amin
Categories
- All
-
Knowledge
Contains a detailed Q&A knowledge base. -
General
All non-technical questions. -
System
Optical system design and analysis. -
Instrument
Communicate and control different kinds of instruments. -
SPICE
Opto-electronic circuit design. -
FDTD
Finite-Difference Time-Domain simulation. -
BPM
Beam Propagation Method analysis and design. -
Grating
Fiber optic grating simulation. -
Fiber
Optical fiber design and characterization. -
Exchange
Users can exchange design files.
(Matlab, C++, etc.)