|
Programming Reference for VirtualLab Fusion
2022.1
|
This class provides methods for manipulations, evaluations and creation of harmonic fields and fields sets. More...
Static Public Member Functions | |
| static ComplexField | ExtractComplexField (ChromaticFieldsSetBase inputData) |
| Extracts a ComplexField object out of a Chromatic Fields Set. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (ChromaticFieldsSetBase inputData, long wavelengthIndex) |
| Extracts a ComplexField object out of a Chromatic Fields Set. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (ComplexAmplitude inputField, VectorialComponent vectorialComponent) |
| Extracts a ComplexField object out of a harmonic field. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (DataArrayBase inputData, long subsetIndex) |
| Extracts a ComplexField object out of a Numerical Data Array. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (FieldComponent inputField, int subsetIndex) |
| Extracts a ComplexField object out of a Field Vector or Pulse Component. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (FieldComponentAtLine inputField) |
| Extracts a ComplexField object out of a Field or Pulse Component At Line. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (FieldComponentAtPoint inputField) |
| Extracts a ComplexField object out of a Field or Pulse Component At One Point. This ComplexField can then among others be used for various detector functions. More... | |
| static ComplexField | ExtractComplexField (HarmonicFieldsSet inputField, int index, VectorialComponent vectorialComponent) |
| Extracts a ComplexField object out of a harmonic fields set. This ComplexField can then among others be used for various detector functions. More... | |
| static PulseComponentAtPoint | ExtractSpectrumAtPoint (HarmonicFieldsSet harmonicFieldsSet, VectorD position, VectorialComponent vectorialComponent) |
| Extracts the spectrum of a Harmonic Fields Set at the given point. More... | |
| static DataArrayBase | ExtractSquaredAmplitude (ComplexAmplitude inputField, VectorialComponents vectorialComponents) |
| Extracts the squared amplitudes from the given input field. More... | |
| static DataArrayBase | ExtractSummedSquaredAmplitude (HarmonicFieldsSet inputField, VectorialComponents vectorialComponents) |
| Extracts the summed squared amplitudes from the given input field. More... | |
| static ComplexAmplitude | FourierTransformation (ComplexAmplitude inputField) |
| Applies a Fourier transform on the given field. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a field in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the field do not change. More... | |
| static HarmonicFieldsSet | FourierTransformation (HarmonicFieldsSet inputField) |
| Applies a Fourier transform on the given fields set. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a fields set in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the fields set do not change. More... | |
| static Vector3D | GetDirectionVectorFromLinearPhaseFit (ComplexAmplitude inputField) |
| Method that fits a linear phase to a harmonic field and returns it as direction vector. It is detected by evaluating the center of gravity in the frequency domain. For locally polarized fields, a weighted average vector is calculated. More... | |
| static ComplexAmplitude | InverseFourierTransformation (ComplexAmplitude inputField) |
| Applies an inverse Fourier transform on the given field. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a field in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the field do not change. More... | |
| static HarmonicFieldsSet | InverseFourierTransformation (HarmonicFieldsSet inputField) |
| Applies an inverse Fourier transform on the given fields set. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a fields set in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the fields set do not change. More... | |
| static ComplexAmplitude | OptimizeSamplingByRemovingLinearPhase (ComplexAmplitude inputField, InterpolationMethod interpolationMethodForLinearPhaseSampling) |
| Optimizing method handling the linear phase of a harmonic field. More... | |
| static HarmonicFieldsSet | OptimizeSamplingByRemovingLinearPhase (HarmonicFieldsSet inputField, InterpolationMethod interpolationMethodForLinearPhaseSampling) |
| Optimizing method handling the linear phase of a harmonic fields set, whereas each member field is treated separately. More... | |
| static ComplexAmplitude | RemoveSampledLinearPhase (ComplexAmplitude inputField, Vector3D centralDirectionVector) |
| Method that removes a linear phase from the sampled complex values of a harmonic field. More... | |
| static HarmonicFieldsSet | RemoveSampledLinearPhase (HarmonicFieldsSet inputField, Vector3D centralDirectionVector) |
| Method that removes a linear phase from the sampled complex values of a harmonic fields set, whereas each member field is treated separately. More... | |
| static ComplexAmplitude | SampleLinearPhaseFromDirectionVector (ComplexAmplitude inputField, InterpolationMethod interpolationMethod) |
| Samples a linear phase from a given direction vector and multiplies it with a given harmonic field. More... | |
| static HarmonicFieldsSet | SampleLinearPhaseFromDirectionVector (HarmonicFieldsSet inputField, InterpolationMethod interpolationMethod) |
| Samples a linear phase from a given direction vector and multiplies it with a given harmonic field. More... | |
| static ComplexAmplitude | Truncate (ComplexAmplitude inputField, double powerPortion=double.NaN, bool allowAnalyticDirectionVectorInNonparaxialCase=false) |
| Truncates the field, i. e. determines the minimum field size which contains the fraction powerPortion of the original power and removes all pixels outside this region. So a loss of (1 - powerPortion) may occur. Important: The center of the field will not be changed, so an original decentered field will not be optimally truncated. More... | |
| static HarmonicFieldsSet | Truncate (HarmonicFieldsSet inputField, double powerPortion=double.NaN, bool allowAnalyticDirectionVectorInNonparaxialCase=false) |
| Truncates a fields set. This means that for each member field the minimum field size is determined which contains the fraction powerPortion of the original power. All pixels outside this region are removed. So a loss of (1 - powerPortion) may occur. Important: The center of the field will not be changed, so an original decentered field will not be optimally truncated. More... | |
This class provides methods for manipulations, evaluations and creation of harmonic fields and fields sets.
|
static |
Extracts a ComplexField object out of a Chromatic Fields Set. This ComplexField can then among others be used for various detector functions.
| inputData | The Chromatic Fields Set from which the data summed over all wavelengths is extracted. |
|
static |
Extracts a ComplexField object out of a Chromatic Fields Set. This ComplexField can then among others be used for various detector functions.
| inputData | The Chromatic Fields Set from which the data for one wavelength is extracted. |
| wavelengthIndex | Index of the wavelength to be extracted. |
|
static |
Extracts a ComplexField object out of a harmonic field. This ComplexField can then among others be used for various detector functions.
| inputField | The harmonic field from which either the Ex-, Ey- or the Ez-component is extracted as ComplexField. |
| vectorialComponent | The vectorial component which shall be extracted. |
| System.ArgumentException | The given vectorial component is not supported. |
|
static |
Extracts a ComplexField object out of a Numerical Data Array. This ComplexField can then among others be used for various detector functions.
| inputData | The Numerical Data Array from which one subset is extracted. |
| subsetIndex | Index of the subset to be extracted. |
| System.ArgumentException | A ComplexField cannot be extracted for the given type of data array. |
|
static |
Extracts a ComplexField object out of a Field Vector or Pulse Component. This ComplexField can then among others be used for various detector functions.
| inputField | The Field Vector or Pulse Component from which one subset is extracted. |
| subsetIndex | Index of the subset to be extracted. |
|
static |
Extracts a ComplexField object out of a Field or Pulse Component At Line. This ComplexField can then among others be used for various detector functions.
| inputField | The Field Vector or Pulse Component At Line from which the underlying data is extracted. |
|
static |
Extracts a ComplexField object out of a Field or Pulse Component At One Point. This ComplexField can then among others be used for various detector functions.
| inputField | The Field Vector or Pulse Component At One Point from which the underlying data is extracted. |
|
static |
Extracts a ComplexField object out of a harmonic fields set. This ComplexField can then among others be used for various detector functions.
| inputField | The harmonic field set from which either the Ex-, Ey- or the Ez-component of one member field is extracted as ComplexField. |
| index | The zero-based index of the member field to extract. |
| vectorialComponent | The vectorial component which shall be extracted. |
| System.ArgumentException | The given vectorial component is not supported. |
|
static |
Extracts the spectrum of a Harmonic Fields Set at the given point.
| harmonicFieldsSet | The Harmonic Fields Set. |
| position | The position to evaluate. |
| vectorialComponent | The vectorial component (Ex, Ey, or Ez) form which the spectrum is extracted. |
|
static |
Extracts the squared amplitudes from the given input field.
| inputField | The input field. |
| vectorialComponents | The squared amplitudes for the given vectorial component(s) are extracted. If a combination of vectorial components is specified,the squared amplitudes are then summed up. |
|
static |
Extracts the summed squared amplitudes from the given input field.
| inputField | The input field. |
| vectorialComponents | The squared amplitudes for the given vectorial component(s) are extracted. If a combination of vectorial components is specified,the squared amplitudes are then summed up. |
|
static |
Applies a Fourier transform on the given field. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a field in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the field do not change.
| inputField | The field to transform. |
|
static |
Applies a Fourier transform on the given fields set. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a fields set in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the fields set do not change.
| inputField | The fields set to transform. |
|
static |
Method that fits a linear phase to a harmonic field and returns it as direction vector. It is detected by evaluating the center of gravity in the frequency domain. For locally polarized fields, a weighted average vector is calculated.
| inputField | Harmonic field to fit the linear phase to. |
|
static |
Applies an inverse Fourier transform on the given field. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a field in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the field do not change.
| inputField | The field to transform. |
|
static |
Applies an inverse Fourier transform on the given fields set. Note that the physical scaling as described in the manual is used therefor. This ensures that if you embed the Fourier transform of a fields set in a zeroized frame and then perform the inverse transformation, the power and maximum amplitude of the fields set do not change.
| inputField | The fields set to transform. |
|
static |
Optimizing method handling the linear phase of a harmonic field.
| inputField | The harmonic field to be optimized. |
| interpolationMethodForLinearPhaseSampling | Interpolation method used for resampling |
|
static |
Optimizing method handling the linear phase of a harmonic fields set, whereas each member field is treated separately.
| inputField | The harmonic fields set to be optimized. |
| interpolationMethodForLinearPhaseSampling | Interpolation method used for resampling |
|
static |
Method that removes a linear phase from the sampled complex values of a harmonic field.
| inputField | Harmonic field to remove the linear phase from. |
| centralDirectionVector | Direction vector that describes the linear phase. |
|
static |
Method that removes a linear phase from the sampled complex values of a harmonic fields set, whereas each member field is treated separately.
| inputField | Harmonic fields set to remove the linear phase from. |
| centralDirectionVector | Direction vector that describes the linear phase. |
|
static |
Samples a linear phase from a given direction vector and multiplies it with a given harmonic field.
| inputField | The harmonic field to sample the linear phase on. |
| interpolationMethod | The interpolation method to be used if resampling is necessary. |
|
static |
Samples a linear phase from a given direction vector and multiplies it with a given harmonic field.
| inputField | The harmonic field to sample the linear phase on. |
| interpolationMethod | The interpolation method to be used if resampling is necessary. |
|
static |
Truncates the field, i. e. determines the minimum field size which contains the fraction powerPortion of the original power and removes all pixels outside this region. So a loss of (1 - powerPortion) may occur. Important: The center of the field will not be changed, so an original decentered field will not be optimally truncated.
| inputField | The field to truncate. |
| powerPortion | Optional parameter to set the fraction of the original power that has to be conserved in the size optimized result. If this parameter is not specified, the “Field Size Estimation Reference” from the Global Options dialog is used. |
| allowAnalyticDirectionVectorInNonparaxialCase | Flag indicating whether the shift operation may set an analytical central direction vector if necessary. |
|
static |
Truncates a fields set. This means that for each member field the minimum field size is determined which contains the fraction powerPortion of the original power. All pixels outside this region are removed. So a loss of (1 - powerPortion) may occur. Important: The center of the field will not be changed, so an original decentered field will not be optimally truncated.
| inputField | The fields set to truncate. |
| powerPortion | Optional parameter to set the fraction of the original power that has to be conserved in the size optimized result. If this parameter is not specified, the “Field Size Estimation Reference” from the Global Options dialog is used. |
| allowAnalyticDirectionVectorInNonparaxialCase | Flag indicating whether the shift operation may set an analytical central direction vector if necessary. |