VPSpectralConverter ConvertCoefficient Method (Double, AbsorptionCoefficientUnit)Virtual Photonics - VTS Library
Virtual Photonics
Method to convert coefficient values with a default MolarUnit of MicroMolar

Namespace: Vts.SpectralMapping
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static double ConvertCoefficient(
	this double CoefficientValue,
	AbsorptionCoefficientUnit Unit
)

Parameters

CoefficientValue
Type: OnlineSystem Double
The coefficient value to convert
Unit
Type: Vts AbsorptionCoefficientUnit
An enum representing the units of the value to convert

Return Value

Type: OnlineDouble
The converted value as a double

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OnlineDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also