Core Optical, Inc.
FourierSpectrumBatch SetRealArray Method Industrial Strength, Scientific Grade
Assigns the data in a one-dimensional array to the real 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 SetRealArray(
	int BatchRow,
	int BatchColumn,
	float[] realValues
)

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.
realValues
Type:  OnlineSystem Single 
A one-dimensional array of type OnlineSingle encapsulating the real 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 realValues 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 real 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