This class contains all data of a single curve.
The following tables list the members exposed by Curve.
Public Constructors
Public Fields
| Name | Description | |
|---|---|---|
|
Peaks | List of peaks found in this curve. |
|
Title | The title of the Curve. Is 'Curve' by default. |
|
XUnit | Unit for X Axis This field is read-only. This field is read-only. |
|
YUnit | Unit for Y axis This field is read-only. This field is read-only. |
Protected Fields
| Name | Description | |
|---|---|---|
|
IgnorePoints | Number of points at the start of the curve to ignore. |
Public Properties
| Name | Description | |
|---|---|---|
|
isFinished | Is true if a Curve is 'finished'. This means that smoothing or peak searching can be applied. |
|
MaxX | Maximum X value |
|
MaxY | Maximum Y value found in this Curve. |
|
MinX | Minimum X value found in this Curve. |
|
MinY | Minimum Y value found in this Curve. |
|
nOverloads | Returns the number of current overloads found during measurement. |
|
nPoints | Returns number of points in this Curve. |
|
nUnderloads | Returns the number of current underloads found during measurement. |
Public Methods
| Name | Description | |
|---|---|---|
|
AddPoint | Overloaded. Adds a point to the Curve. Curve must be unfinished. |
|
AddPointSilent | Add a point without raising the NewPoint event |
|
CalculateSlope | Calculate the slope between two points |
|
ClearPeaks | Obsolete. Removes all found peaks for this curve. |
|
Equals | Determines whether the specified |
|
FindNearestX | Find the index of the X point nearest to p |
|
FindPeaks | Overloaded. Find peaks in this curve. |
|
FindPeaksCV | Find peaks in a CV curve in two directions |
|
Finish | Finishes or closes the curve. |
|
get_CurrentStatus | Obtain the current status for the specified index |
|
get_X | Returns the X value that corresponds with the given index. |
|
get_XDirection | Indicates direction of X data points for this curve |
|
get_Y | Returns the Y value that corresponds with the given index. |
|
get_YDirection | Indicates direction of Y axis for this curve |
|
GetHashCode | Serves as a hash function for a particular type. |
|
GetType | Gets the |
|
IsCompatible | Check whether two curves are compatible - i.e. can be drawn in the same plot |
|
LLS | Overloaded. Calculate linear line parameters for this curve between two indexes y = offset + slope * x |
|
Smooth | Smoothes the curve using one of the following smoothlevels:
|
|
ToString | Overridden. Returns title of this Curve. |
Protected Methods
| Name | Description | |
|---|---|---|
|
Finalize | Allows an |
|
MemberwiseClone | Creates a shallow copy of the current |
Public Events
| Name | Description | |
|---|---|---|
|
Finished | Raised when the curve is finished. |
|
NewCurvePoint | This event is raised everytime a point is added to the curve class. |
|
Overload | Event raised when an overload is received |
|
Underload | Event raised when an underload is received |