Post

Chromatogram.Constructor

Creates a chromatogram 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
Chromatogram(int count = 0)Creates a chromatogram sized for the given number of data points.

Parameters

NameTypeDescription
countintThe number of data points.

Example

1
2
3
4
5
6
using Nova.Data;

Chromatogram chromat = new Chromatogram(2);
chromat.ID = "TIC";
chromat.DataPoints[0] = new ChromatDataPoint { RT = 10.0, Intensity = 1200 };
chromat.DataPoints[1] = new ChromatDataPoint { RT = 10.5, Intensity = 5400 };
This post is licensed under CC BY 4.0 by the author.

Trending Tags