Camera is part of the WaveTrain system class library
Camera models a camera with 2D focal-plane-array sensor chip. An incident wavefront is propagated to the focal (sensor) plane using an FFT, and the resulting intensity computed. If multiple wavefronts are received simultaneously they are assumed to be mutually incoherent, so their intensities add. The net intensity is then integrated over the exposure length to produce an "integratedIntensity" output in units of J/m^2. Camera also allows an optional delay used to model readout time: if this is set non-zero, then the output only becomes available at that delay after the end of the exposure length window.
See the WT User Guide for a detailed discussion of the triggering of sensor exposures. Note in particular that the input "sampleInterval" is only used to generate multiple samples within one "exposureLength". To obtain one sample per "exposureLength" (the typical practice), set "sampleInterval" to 0.0.
For guidance in setting the sensor-plane mesh parameters, see the WT User Guide.
Like all WaveTrain optical sensors, Camera works with both pulsed and continuous wave illumination.
Note that two of the parameters are annotated as "Used ONLY with Wavesharing". For essentially all WaveTrain usage, these parameters have NO effect whatsoever: leave the values at their defaults (for advanced usage, see WT User Guide for details).
|
Parameters
|
focalLength |  float | focal length (m) | 1.0f |
minWavelength |  float | minimum wavelength sensed (m) | 1.0e-06f |
maxWavelength |  float | maximum wavelength sensed (m) | 1.0e-06f |
nxyPupil |  int | Used ONLY with Wavesharing (see WT User Guide) | 512 |
dxyPupil |  float | Used ONLY with Wavesharing (see WT User Guide) | 0.01f |
nxyDetector |  int | dimension of sensor plane mesh (same in x & y) in cam focal plane | 512 |
dxyDetector |  float | mesh spacing (m) of sensor plane (same in x & y) | 1.0e-06f |
computationalLag |  double | time lag between end of exposure and availability of outputs (s) | 0.0 |
Inputs
|
incident |  WaveTrain | Incident light | WaveTrain() |
on |  bool | on/off switch (on=true, off=false) | true |
exposureInterval |  double | Time between start of successive exposure windows (s) | 0.001 |
exposureLength |  double | Length of each exposure window (s) | 0.000002 |
sampleInterval |  double | Time between samples within one exposureLength (s) | 0.0 |
Outputs
|
fpaImage |  Grid<float> | Temporally-integrated intensity at focal plane (J/m^2) | |
Subsystems |
|
|
Last Saved: Mon Feb 04 17:09:08 MST 2008 by TVE version 2008A
|
|