C# client for the ComboCurve REST API
View the Project on GitHub insidepetroleum/combocurve-client-csharp
One piece of a factor’s piecewise fit. xStart is the segment’s lower bound. There is no upper bound to send: a segment ends where the next one starts, and the last segment is unbounded. xStart must therefore increase strictly from one segment to the next; an out-of-order or repeated value returns a 400. Which coefficients are required depends on fitType: linear (y = aValue * x + bValue) and power_law_fit (y = aValue * x ^ bValue) require both aValue and bValue; 1_to_1 is y = x and must include neither.
| Name | Type | Description | Notes |
|---|---|---|---|
| XStart | decimal | Lower bound of this segment on the x axis. | |
| FitType | string | The curve to fit over this segment. To leave a factor un-normalized, send an empty `segments` list instead. | |
| AValue | decimal? | Slope for a `linear` fit, scale for a `power_law_fit`. Required for both. | [optional] |
| BValue | decimal? | Intercept for a `linear` fit, exponent for a `power_law_fit`. Required for both. | [optional] |