Core Optical, Inc.
FourierSpectrumBatch SetImaginaryArray Method Industrial Strength, Scientific Grade
Assigns the data in a one-dimensional array to the imaginary components of a specified spectrum's complex values.

Namespace: PrecisionImage.FrequencyDomainProcessing
Assembly: PrecisionImage (in PrecisionImage.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public void SetImaginaryArray(
	int BatchRow,
	int BatchColumn,
	float[] imaginaryValues
)

Parameters

BatchRow
Type: OnlineSystem Int32
An OnlineInt32 type indicating the zero-based row index in the target batch.
BatchColumn
Type: OnlineSystem Int32
An OnlineInt32 type indicating the zero-based column index in the target batch.
imaginaryValues
Type:  OnlineSystem Single 
A one-dimensional array of type OnlineSingle encapsulating the imaginary values to copy into the spectrum.

Return Value

A one-dimensional array of type OnlineSingle.
Exceptions

ExceptionCondition
OnlineSystem ArgumentOutOfRangeException Thrown when BatchRow and/or BatchColumn refer to coordinates outside of the dimensions of the batch grid.
OnlineSystem ArgumentException Thrown when the total length of imaginaryValues is not equal to the product of the spectrum rows and columns;
Remarks

Use this method to assign the data in a one-dimensional array to the imaginary components of the complex values of the specified spectrum. The spectrum of interest is specified according to the BatchRow and BatchColumn grid coordinate arguments.

See Also