FRED Knowledge Base

Setting up a Bitmap Source

This knowledge base article describes how to use a bitmap image as an emitter in FRED using the Detailed Source construct.  An example system is included that demonstrates a bitmap source being imaged by an ideal 1:1 relay lens.  The example image is included in...

Read More

First Order Ghost Analysis

FRED is capable of providing the user with detailed information about arbitrary ghost and scatter paths through an opto-mechanical system.  We simply setup the optics and mechanics with physical property attributes (coatings, materials, scatter models, etc.), setup an appropriate source and tell FRED to keep...

Read More

Source Importance Sampling

Setting up a source as a lambertian emitter can be easily done in FRED using the Detailed Source model but often ends up being inefficient for raytracing because the collection optics subtend a small solid angle compared to the emission of the source.  Often, however,...

Read More

CIE 1931 Color Matching Functions

The attached FRED file contains three sampled spectra, one each for the x, y and z color matching functions.  All three spectra can be selected on the tree simultaneously and the Plot option can be selected from the right mouse click context menu so that...

Read More

Scripting Subroutines and Functions

Scripting in FRED is a very powerful capability for automating custom calculations or performing iterative tasks that would be difficult to do through the GUI.  When creating scripts, users should think in advance about whether certain portions of the script are likely to be performed...

Read More

Composite Ray Buffer – Scanner Example

This knowledge base article demonstrates how to use auxiliary ray buffers for the purpose of temporarily storing rays of interest in a system.  In this particular example, a ray bundle is scanned over a target using a rotating pentagonal reflector.  The goal of the simulation...

Read More

Hemisphere Volume Emitter

This knowledge base example demonstrates how to create a hemisphere volume emitter.  Detailed source models allow for volume emitters in the shape of spheres, cylinders and boxes but no default functionality for hemispheres.  The approach for creating a hemisphere volume emitter is a hybrid of...

Read More

Optimizing Lens Modules

The Lens Module family of surfaces (Infinite conjugate, finite conjugate, afocal and spherical) provide a convenient mechanism for quickly defining an ideal lens element.  If the circumstance arises where a lens module surface is desired to be included in an optimization, the user will find...

Read More

Scripted Encircled Energy for ARNs

This knowledge base article demonstrates how to calculate the encircled energy in an ARN by scripting.  The FRD file contains a simple gaussian source and analysis surface as well as an embedded script.  The embedded script will calculate the irradiance on the analysis surface and...

Read More