beamlabdemosin the MATLAB command-line interface.
beamlabdocin the MATLAB command-line interface. If you want to directly open the documentation of a certain function, use the command
beamlabdoc <functionname>, e.g.,
beamlabdoc beamset. You can also view the documentation of a specific parameter by executing
beamlabdoc <parametername>, e.g.,
bpmsolvergenerates an output structure that contains all relevant information with regard to your simulation. In our demos this output structure usually has the name
modeData, while in the documentation it is simply dubbed
Using this output structure in conjunction with the function
bpmplot, e.g., by typing
bpmplot(bpmData) in the MATLAB command-line interface, you can easily recreate all output plots of the previous simulation associated with
bpmsolverdoes not display the field distribution in x-z or y-z slices in sections that make use of the function
fasthomogeneousbecause the field is not calculated in those homogeneous areas to speed up the calculation.
bpmsolvercurrently calculates only forward propagating waves. That said, we are also working on additional solvers that will allow the calculations of reflections and backward propagating waves. These solvers will be included in a future version of BeamLab.
bpmsolvercurrently can take into account only the nonlinear change in refractive index as a function of optical intensity due to the Kerr effect.
custominputwith the output field as input parameter.
For example, if the output structure of your previous simulation has the name
bpmData, then the following command will hand over all E-field components of the output field as input field to the next simulation.
inputField = @(beamProblem) custominput(beamProblem,bpmData.OutputField.E);
bpmsolvergenerates an output structure that contains all relevant information with regard to your simulation. For more details, please check out the
bpmsolverdocumentation page by typing
beamlabdoc bpmsolverin the MATLAB command-line interface.
pathtool) if it contains the directory with the function you are looking for. In case of BeamLab this usually is the folder containing your BeamLab installation.
doc savepath) for details.