- This topic has 2 replies, 2 voices, and was last updated 4 years, 10 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.
Optiwave software can be used in different industries and applications, including Fiber Optic Communication, Sensing, Pharma/Bio, Military & Satcom, Test & Measurement, Fundamental Research, Solar Panels, Components / Devices, etc..
Download our 30-day Free Evaluations, lab assignments, and other freeware here.
Dear all,
I’m trying to simulate a long period grating with a square wave profile. I want to change the duty cycle but I don’t know how to do that with functions in optigrating. I saw that it is possible to get the grating shape from a file. Yet I don’t know how it works.
Could you please give me any feedback about this question?
Thanks
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
Thanks,
It was easy to program.
Best regards
Notifications