RP Resonator – Advanced Software for Laser Resonator Design and Optimization
Version History of RP Resonator
The software has been subject to an extensive development program over the years, which greatly expanded its capabilities as well as the quality of the user interface.
This was the original version.
Version 2 introduced substantial improvements of the user interface.
Version 3 allows one to create custom forms, defined in scripts, i.e., in text form. This means that interactive forms can be made which are tailored to specific applications. The screen shot below is just an example of a custom form containing tabs and graphical controls.
Below you see part of the code used for defining the custom form. Simple but flexible commands define which variables are edited, with what units they are displayed, what are their minimum and maximum allowed values, etc.
Custom form: -------------------------------------------------------------- $font: "Arial", bold, size = 24 Focusing of a Laser Beam $font: "Courier New", size = 11, space = 2.1 $def pwidth := 500 $tabcontrol, size = (pwidth, 0) $tab "Initial beam" Wavelength: ############# $input lambda:d6:"(n)m" Beam radius: ############# $input w0:d6:"m" M2: ############# $input M2:d6, min = 1 Rayleigh length: ############# $output z_R:d3:"m" $tabcontrol end
You can make such forms yourself, or get them made through the technical support, and then enjoy very convenient handling for your everyday work. When given such a form, anyone can very easily get certain calculations done without dealing himself or herself with the underlying script code. And if additional features are required later on, just get the form expanded accordingly.
Version 4 introduced various powerful and very useful tools for developing scripts:
- There are much improved script editors with highly convenient features such as syntax highlighting: recognized names of commands or functions and keywords are highlighted with different colors. Also, the software displays some things such as comments and string constants differently.
- In order to easily recall the required parameters of the many supported functions, we have introduced so-called parameter help. If you just type a function name followed by “(” into an editor, you will get the parameter help displayed; you can also later on click on a function parameter to get it.
- You can quickly call a syntax check of a script without executing it.
- You can get a script automatically reformatted according to standard rules. That way, you get consistently formatted and thus nicely readable scripts, even when you have been somewhat sloppy when writing them.
- With the new debugger you can execute scripts command by command and check the state of the system at any time. Just click the left of a line in order to create a breakpoint (shown in green, see the screen shot below). Similarly, you can debug expressions. This can be extremely helpful when developing sophisticated simulation scripts.
In the version history of RP Fiber Power (for V7) you find some screen shots for the same kinds of features as you get in RP Resonator V4.
See also the RP Photonics Software News of 2017-07-13.
If you have any further questions or need a quotation: