Post

SpectrumEx.Constructor

Creates an extended spectrum sized for the given number of data points.


Remarks

Count is set to the given size, and DataPoints holds that many empty points.


Syntax

SyntaxDescription
SpectrumEx(int count = 0)Creates a spectrum sized for the given number of data points.

Parameters

NameTypeDescription
countintThe number of data points.

Example

1
2
3
4
using Nova.Data;

SpectrumEx spectrum = new SpectrumEx(1);
spectrum.DataPoints[0] = new SpecDataPointEx(445.12, 10523.0, 150.0, 0, 2, 120000);
This post is licensed under CC BY 4.0 by the author.

Trending Tags