Source Type Panel

The Source Type Panel allows the user to select the desired source type and specify the source’s value for LAMBDA.


Choosing the Source Type :

The Choose Source Type portion of the Source Type Panel allows the user to specify the desired type of source:

sourcetype_panel.choose_source_type

Coherent

The field shown in the source viewer is a coherent field.

Incoherent

The field shown in the source viewer is an incoherent field. That is, the brightness as shown in the viewer is a collection of independent source points that are treated as individual emitters in the propagation calculations. The brightness of each point as shown in the viewer describes the relative brightness of each point in relation to the other source points.

To calculate the light pattern resulting from an incoherent source, OPTISCAN calculates the operation of objects in the chain on the field from each source point. The number of source points used is selectable in the edit box as described below. The position of the source points is randomly chosen from the nonzero distribution shown in the viewer.

When you select Incoherent, you are allowed to enter the number of source points and the base index.

sourcetype_panel.incoherent

The Sampling Style determines how Incoherent Source points are generated:

sourcetype_panel.sampling_style

If the sampling style is “random,” then OPTISCAN will randomly choose “N Source Points” without replacement from the X, Y, and Z components of the input field. The non-zero values of the resulting selection are used as incoherent source points.

If the sampling style is “grid,” then OPTISCAN will select grid^2 points by forming new ordinate and abcissa vectors as shown:

sysxvec = linspace(min(sysxvec), max(sysxvec), grid);
sysyvec = linspace(min(sysyvec), max(sysyvec), grid);

Interpolation is then used to determine grid^2 values. The non-zero values of the resulting interpolation are then used as incoherent source points.

The base index is used with the save and restore fields objects. The source point files are numbered as follows:

source_point.1000.mat
source_point.1001.mat
source_point.1002.mat
etc…

The number scheme is: IncoherentBaseIndex + ii, where ii = 0:(NSourcePoints-1).

See Also: Save and Restore Fields Filenames

Partially Coherent

Not Implemented Yet.

Babinet

Not Implemented Yet.


Specifying the Value for Lambda:

The Source’s Lambda portion of the Source Type Panel allows the user to specify the source’s wavelength, LAMBDA:

sourcetype_panel.lambda

If the Update Simulator’s LAMBDA With This One check-box is a checked, then the Optiscan Simulation Engine will update the value LAMBDA used in its calculations with the one specified. If the Update Simulator’s LAMBDA With This One check-box is not checked, then the Optiscan Simulation Engine will not update the value of LAMBDA; Instead, the simulator’s current value for LAMBDA will be retained.