|
Programming Reference for VirtualLab Fusion
2022.1
|
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Evaluation functions for HarmonicFieldSet objects.
More...
Public Member Functions | |
| ComplexAmplitude | ExtractFieldSummation (HarmonicFieldsSet hfs, VectorialComponents componentCombination, bool applySqrtOnSummationField) |
| Calculates and returns the intensity distribution (or the square roots of it) of a given harmonic fields set and according to a given component combination. The function is parallelized. More... | |
| HarmonicFieldsSetEvaluation () | |
| Standard constructor. | |
Static Public Member Functions | |
| static SamplingParameters | AdjustSamplingParameters (HarmonicFieldsSet sf, double dOversamplingFactor) |
| The sampling parameters of all complex amplitude members in the HarmonicFieldsSet is made equal to the sampling parameters of smallest sampling distance and the largest field diameter. More... | |
| static void | CalculateDiffractiveOpticsMeritFunctions (HarmonicFieldsSet hfs, DataArray2D signalField, Region2D signalRegion, bool doAllowScaleFreedom, bool areEfficienciesRelatedToSourceField, LightSourceBaseLPE lightSource, CombinedComponent componentCombination, bool calculateWindowEfficiency, bool calculateConversionEfficiency, bool calculateSNR, bool calculateUniformityError, bool calculateZerothOrderIntensity, bool calculateZerothOrderEfficiency, bool calculateMaxRelIntensityOfStrayLight, bool calculateOptimalScaleFactor, out PhysicalValue windowEfficiency, out PhysicalValue conversionEfficiency, out PhysicalValue snr, out PhysicalValue uniformityError, out PhysicalValue zerothOrderIntensity, out PhysicalValue zerothOrderEfficiency, out PhysicalValue maxRelIntensityOfStrayLight, out PhysicalValue optimalScaleFactor) |
| Calculates diffractive optics merit function values the intensity sampling of a given harmonic fields set and a given signal field (and optionally a signal region). More... | |
| static void | CalculateDiffractiveOpticsMeritFunctions (HarmonicFieldsSet hfs, DataArray2D signalFieldAndRegion, bool doAllowScaleFreedom, bool areEfficienciesRelatedToSourceField, LightSourceBaseLPE lightSource, CombinedComponent componentCombination, bool calculateWindowEfficiency, bool calculateConversionEfficiency, bool calculateSNR, bool calculateUniformityError, bool calculateZerothOrderIntensity, bool calculateZerothOrderEfficiency, bool calculateMaxRelIntensityOfStrayLight, bool calculateOptimalScaleFactor, out PhysicalValue windowEfficiency, out PhysicalValue conversionEfficiency, out PhysicalValue snr, out PhysicalValue uniformityError, out PhysicalValue zerothOrderIntensity, out PhysicalValue zerothOrderEfficiency, out PhysicalValue maxRelIntensityOfStrayLight, out PhysicalValue optimalScaleFactor) |
| Calculates diffractive optics merit function values the intensity sampling of a given harmonic fields set and a given signal field (and optionally a signal region). More... | |
| static void | CreateAnimation (HarmonicFieldsSet sf, bool accessFieldY, FieldQuantity component) |
| Returns the HarmonicFieldsSet as an Animation document. More... | |
| static void | CreateAnimationNormalized (HarmonicFieldsSet sf, bool useRainbow, bool reverseRainbow, bool accessFieldY, FieldQuantity component) |
| Returns the pulse in time u(x,y,z,t)as a movie. The movie is normalized to the maximum amplitude of the pulse. More... | |
| static ComplexField | ExtractLineProfile (HarmonicFieldsSet inputField, VectorialComponent component, double accuracyFactor, VectorD StartPosition, VectorD EndPosition) |
| returns the line profile through all CAs in the field on a line More... | |
| static ComplexField | ExtractProfileAtAPoint (HarmonicFieldsSet inputField, VectorialComponent component, double x, double y) |
| returns the profile through all CAs in the field at one point More... | |
| static ComplexFieldArray | ExtractRectangle (HarmonicFieldsSet inputField, VectorialComponent component, VectorD centerPointRectangle, SamplingParameters samplingParametersRectangle) |
| static support function to extract a rectangle from a given harmonic fields set with some additional parameters More... | |
| static List< VectorD > | ExtractWavelengthInformation (HarmonicFieldsSet hfs) |
| Extracts all wavelengths from a Harmonic Fields Set. More... | |
| static List< HarmonicFieldBase > | SplitByWavelength (HarmonicFieldBase harmonicField) |
| Splits the given Harmonic Field by wavelength whereas the member fields are not cloned. More... | |
This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Evaluation functions for HarmonicFieldSet objects.
|
static |
The sampling parameters of all complex amplitude members in the HarmonicFieldsSet is made equal to the sampling parameters of smallest sampling distance and the largest field diameter.
| sf | the harmonic field set |
| dOversamplingFactor | additional oversampling factor |
|
static |
Calculates diffractive optics merit function values the intensity sampling of a given harmonic fields set and a given signal field (and optionally a signal region).
| hfs | Harmonic fields set for which intensities are to be calculated. |
| signalField | Data Array 2D which contains the signal field. |
| signalRegion | A signal region determines which part of the signal field is considered. |
| doAllowScaleFreedom | Iff true, the scale factor is calculated for all merit functions calculations, otherwise the scale factor is set to one |
| areEfficienciesRelatedToSourceField | Iff true, all efficiency calculations are related to an input field power. Otherwise the input field power is assumed to be equal to the output field power. |
| lightSource | The active light source object which generates the input field of the diffuser/beam splitter etc. Can be null if option areEfficienciesRelatedToSourceField is false. |
| componentCombination | Specifies which field components are considered for intensity calculation. |
| calculateWindowEfficiency | Iff true, the window efficiency will be calculated. |
| calculateConversionEfficiency | Iff true, the conversion efficiency will be calculated. |
| calculateSNR | Iff true, the SNR will be calculated. |
| calculateUniformityError | Iff true, the uniformity error will be calculated. |
| calculateZerothOrderIntensity | Iff true, the zeroth order intensity will be calculated. |
| calculateZerothOrderEfficiency | Iff true, the zeroth order efficiency will be calculated. |
| calculateMaxRelIntensityOfStrayLight | Iff true, the maximal relative intensity of stray light will be calculated. |
| calculateOptimalScaleFactor | Iff true, the optimal scale factor will be calculated. |
| windowEfficiency | Iff true, the window efficiency will be calculated. |
| conversionEfficiency | Iff true, the conversion efficiency will be calculated. |
| snr | Iff true, the SNR will be calculated. |
| uniformityError | Iff true, the uniformity error will be calculated. |
| zerothOrderIntensity | Iff true, the zeroth order intensity will be calculated. |
| zerothOrderEfficiency | Iff true, the zeroth order efficiency will be calculated. |
| maxRelIntensityOfStrayLight | Iff true, the maximal relative intensity of stray light will be calculated. |
| optimalScaleFactor | Iff true, the optimal scale factor will be calculated. |
|
static |
Calculates diffractive optics merit function values the intensity sampling of a given harmonic fields set and a given signal field (and optionally a signal region).
| hfs | Harmonic fields set for which intensities are to be calculated. |
| signalFieldAndRegion | Data Array 2D which contains the signal field as first subset and optionally a signal region as second subset. A signal region determines which part of the signal field is considered. |
| doAllowScaleFreedom | Iff true, the scale factor is calculated for all merit functions calculations, otherwise the scale factor is set to one |
| areEfficienciesRelatedToSourceField | Iff true, all efficiency calculations are related to an input field power. Otherwise the input field power is assumed to be equal to the output field power. |
| lightSource | The active light source object which generates the input field of the diffuser/beam splitter etc. Can be null if option areEfficienciesRelatedToSourceField is false. |
| componentCombination | Specifies which field components are considered for intensity calculation. |
| calculateWindowEfficiency | Iff true, the window efficiency will be calculated. |
| calculateConversionEfficiency | Iff true, the conversion efficiency will be calculated. |
| calculateSNR | Iff true, the SNR will be calculated. |
| calculateUniformityError | Iff true, the uniformity error will be calculated. |
| calculateZerothOrderIntensity | Iff true, the zeroth order intensity will be calculated. |
| calculateZerothOrderEfficiency | Iff true, the zeroth order efficiency will be calculated. |
| calculateMaxRelIntensityOfStrayLight | Iff true, the maximal relative intensity of stray light will be calculated. |
| calculateOptimalScaleFactor | Iff true, the optimal scale factor will be calculated. |
| windowEfficiency | Iff true, the window efficiency will be calculated. |
| conversionEfficiency | Iff true, the conversion efficiency will be calculated. |
| snr | Iff true, the SNR will be calculated. |
| uniformityError | Iff true, the uniformity error will be calculated. |
| zerothOrderIntensity | Iff true, the zeroth order intensity will be calculated. |
| zerothOrderEfficiency | Iff true, the zeroth order efficiency will be calculated. |
| maxRelIntensityOfStrayLight | Iff true, the maximal relative intensity of stray light will be calculated. |
| optimalScaleFactor | Iff true, the optimal scale factor will be calculated. |
|
static |
Returns the HarmonicFieldsSet as an Animation document.
| accessFieldY | use y-field component? |
| sf | sf is the input HarmonicFieldsSet |
| component | field quantity to export as bitmap |
|
static |
Returns the pulse in time u(x,y,z,t)as a movie. The movie is normalized to the maximum amplitude of the pulse.
| accessFieldY | use y-field component? |
| useRainbow | use rainbow-LUT? |
| reverseRainbow | use reverseRainbow-LUT |
| sf | sf is the HarmonicFieldsSet of u(x,y,z,t) at t instants(samples in time) |
| component | field quantity to export as bitmap |
| ComplexAmplitude ExtractFieldSummation | ( | HarmonicFieldsSet | hfs, |
| VectorialComponents | componentCombination, | ||
| bool | applySqrtOnSummationField | ||
| ) |
Calculates and returns the intensity distribution (or the square roots of it) of a given harmonic fields set and according to a given component combination. The function is parallelized.
| hfs | HarmonicFieldsSet from that intensities or square root of intensities are to be calculated |
| componentCombination | Specifies which of the field components Ex, Ey and Ez shall be considered. |
| applySqrtOnSummationField | If true, the square root will be applied on the returned array after summation. If false, the returned summation array is equivalent to the intensity distribution of the entire harmonic fields set. |
|
static |
returns the line profile through all CAs in the field on a line
| inputField | field to get the profile from |
| component | the vectorial component which shall be analyzed |
| accuracyFactor | the accuracy factor with which the profile line shall be evaluated |
| StartPosition | the start point of the profile line |
| EndPosition | the end point of the profile line |
|
static |
returns the profile through all CAs in the field at one point
| inputField | field to get the profile from |
| component | the vectorial component which shall be analyzed |
| x | x-coordinate of the point |
| y | y-coordinate of the point |
|
static |
static support function to extract a rectangle from a given harmonic fields set with some additional parameters
| inputField | the input field that should be used for the extraction |
| component | the vectorial component which shall be extracted |
| centerPointRectangle | the center point of the rectangle which should be extracted |
| samplingParametersRectangle | the sampling parameters used for the extraction |
|
static |
Extracts all wavelengths from a Harmonic Fields Set.
| hfs | The Harmonic Fields Set. |
|
static |
Splits the given Harmonic Field by wavelength whereas the member fields are not cloned.
| harmonicField | The Harmonic Fields Set to split. |