Method | Description | |
---|---|---|
CalculatePrecursorMassError ( double theoreticalMass, double observedMass, int &nominalMassOffset, double &adjustedObservedMass, double difference = Constants.C13C12Difference, ToleranceUnit type = ToleranceUnit.PPM ) : |
||
FromDA ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
FromMMU ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
FromPPM ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
GetMaximumValue ( double mean ) : double |
Gets the maximum value that is still within this tolerance
|
|
GetMinimumValue ( double mean ) : double |
Gets the minimum value that is still within this tolerance
|
|
GetRange ( double mean ) : DoubleRange |
Gets the range of values encompassed by this tolerance
|
|
GetTolerance ( double experimental, double theoretical, ToleranceUnit type ) : double | ||
ToString ( ) : string | ||
Tolerance ( ToleranceUnit unit, double value, ToleranceType type = ToleranceType.PlusAndMinus ) : System |
Creates a new tolerance given a unit, value, and whether the tolerance is ±
|
|
Tolerance ( ToleranceUnit unit, double experimental, double theoretical, ToleranceType type = ToleranceType.PlusAndMinus ) : System |
Creates a new tolerance given a unit, two points (one experimental and one theoretical), and whether the tolerance is ±
|
|
Tolerance ( string s ) : System |
Calculates a tolerance from the string representation i.e., "10 PPM", "-+10 PPM", "5 DA", "±10 MMU", etc...
|
|
Within ( double experimental, double theoretical ) : bool |
Indicates if the two values provided are within this tolerance
|
public static CalculatePrecursorMassError ( double theoreticalMass, double observedMass, int &nominalMassOffset, double &adjustedObservedMass, double difference = Constants.C13C12Difference, ToleranceUnit type = ToleranceUnit.PPM ) : |
||
theoreticalMass | double | |
observedMass | double | |
nominalMassOffset | int | |
adjustedObservedMass | double | |
difference | double | |
type | ToleranceUnit | |
return |
public static FromDA ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
value | double | |
toleranceType | ToleranceType | |
return |
public static FromMMU ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
value | double | |
toleranceType | ToleranceType | |
return |
public static FromPPM ( double value, ToleranceType toleranceType = ToleranceType.PlusAndMinus ) : |
||
value | double | |
toleranceType | ToleranceType | |
return |
public GetMaximumValue ( double mean ) : double | ||
mean | double | |
return | double |
public GetMinimumValue ( double mean ) : double | ||
mean | double | |
return | double |
public GetRange ( double mean ) : DoubleRange | ||
mean | double | The mean value |
return | DoubleRange |
public static GetTolerance ( double experimental, double theoretical, ToleranceUnit type ) : double | ||
experimental | double | |
theoretical | double | |
type | ToleranceUnit | |
return | double |
public Tolerance ( ToleranceUnit unit, double value, ToleranceType type = ToleranceType.PlusAndMinus ) : System | ||
unit | ToleranceUnit | The units for this tolerance |
value | double | The numerical value of the tolerance |
type | ToleranceType | Whether the tolerance is full or half width |
return | System |
public Tolerance ( ToleranceUnit unit, double experimental, double theoretical, ToleranceType type = ToleranceType.PlusAndMinus ) : System | ||
unit | ToleranceUnit | The units for this tolerance |
experimental | double | The experimental value |
theoretical | double | The theoretical value |
type | ToleranceType | Whether the tolerance is full or half width |
return | System |
public Within ( double experimental, double theoretical ) : bool | ||
experimental | double | The experimental value |
theoretical | double | The theoretical value |
return | bool |