This class contains all data of a single curve.


The following tables list the members exposed by Curve.

Public Constructors

  Name Description
Static Public method Curve Overloaded.  
Top

Public Fields

  Name Description
Public field Peaks List of peaks found in this curve.
Public field Title The title of the Curve. Is 'Curve' by default.
Public field XUnit Unit for X Axis This field is read-only. This field is read-only.
Public field YUnit Unit for Y axis This field is read-only. This field is read-only.
Top

Protected Fields

  Name Description
Family field IgnorePoints Number of points at the start of the curve to ignore.
Top

Public Properties

  Name Description
Public property isFinished Is true if a Curve is 'finished'. This means that smoothing or peak searching can be applied.
Public property MaxX Maximum X value
Public property MaxY Maximum Y value found in this Curve.
Public property MinX Minimum X value found in this Curve.
Public property MinY Minimum Y value found in this Curve.
Public property nOverloads Returns the number of current overloads found during measurement.
Public property nPoints Returns number of points in this Curve.
Public property nUnderloads Returns the number of current underloads found during measurement.
Top

Public Methods

  Name Description
Public method AddPoint Overloaded. Adds a point to the Curve. Curve must be unfinished.
Public method AddPointSilent Add a point without raising the NewPoint event
Public method CalculateSlope Calculate the slope between two points
Public method ClearPeaks Obsolete. Removes all found peaks for this curve.
Public method Equals Determines whether the specified Object is equal to the current Object. (inherited from Object)
Public method FindNearestX Find the index of the X point nearest to p
Public method FindPeaks Overloaded. Find peaks in this curve.
Public method FindPeaksCV Find peaks in a CV curve in two directions
Public method Finish Finishes or closes the curve.
Public method get_CurrentStatus Obtain the current status for the specified index
Public method get_X Returns the X value that corresponds with the given index.
Public method get_XDirection Indicates direction of X data points for this curve
Public method get_Y Returns the Y value that corresponds with the given index.
Public method get_YDirection Indicates direction of Y axis for this curve
Public method GetHashCode Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object)
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method IsCompatible Check whether two curves are compatible - i.e. can be drawn in the same plot
Public method LLS Overloaded. Calculate linear line parameters for this curve between two indexes y = offset + slope * x
Public method Smooth Smoothes the curve using one of the following smoothlevels:
  • 0 = no smooth
  • 1 = 5 points
  • 2 = 9 points
  • 3 = 15 points
  • 4 = 24 points
Public method ToString Overridden. Returns title of this Curve.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

Public Events

  Name Description
Public event Finished Raised when the curve is finished.
Public event NewCurvePoint This event is raised everytime a point is added to the curve class.
Public event Overload Event raised when an overload is received
Public event Underload Event raised when an underload is received
Top

Explicit Interface Implementations

  Name Description
Static Private method Curve Overloaded.  
Top

See Also