curve_power: Piecewise power model voltage curve

Description Usage Arguments Value

View source: R/device_models.R

Description

Model voltage curve based on a power fit. Two pmax are used. pmax(0,x) removes the -ve x part of the curve. pmax(log(1e-13),v) is used to cap the minimum value to log(1e-13).

Usage

1
curve_power(x, param)

Arguments

x

a range of values for which the model curve is evaluated

param

list consisting of 4 parameters for the curve function:

Value

A range of values, corresponding to the value of the curve for the given parameters, over the provided range of x values.


csgillespie/voltagefit documentation built on May 14, 2019, 12:23 p.m.