Class IvCurve
Represents an IV curve for scripting
Namespace: Scripting
Syntax
public class IvCurve
Constructors
IvCurve(IEnumerable<Double>, IEnumerable<Double>)
Initializes a new instance of the IvCurve class.
Declaration
public IvCurve(IEnumerable<double> currents, IEnumerable<double> voltages)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Double> | currents | The currents. |
System.Collections.Generic.IEnumerable<System.Double> | voltages | The voltages. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | There must be equal counts of current and voltage values |
Properties
Currents
Gets the currents.
Declaration
public IReadOnlyList<double> Currents { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.Double> |
Voltages
Gets the voltages.
Declaration
public IReadOnlyList<double> Voltages { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<System.Double> |