Home › Forums › FIBER › user defined function in RI profile › Reply To: user defined function in RI profile
January 11, 2019 at 11:17 am
#50268

In the Fiber Profile dialog box (Design Fiber), select one of the Regions, then
1) in the Function combo box, select “user function”
2) click the “Define” button to the right of the Profile combo box.
In the User DefinedFunction dialog box, write your function. See the OptiFiber manual, Appendix A – Script Language Reference for the syntax.
3) click Display to check you got it right.
4) close the box, you should see your funtion in the Fiber Profile now. It will be approximated in “steps”, the number entered in that field in the Fiber Profile dialog box
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.)