IVuncertain: Uncertainty for IV feature extraction

Description Usage Arguments Value Examples

View source: R/IVuncertain.R

Description

Calculate the uncertainty of this data driven IV feature extraction

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
IVuncertain(
  dat,
  k = 7,
  crt = 0.2,
  num = 75,
  crtvalb = 0.3,
  iter = 100,
  diff_slp = 0.01,
  plot.option = FALSE
)

Arguments

dat

A dataframe of IV curve. The variable names should be "V" for voltage, and "I" for current. And rank with increasing voltage.

k

The number of equally-spaced values to supply as starting values for the breakpoints. The default is 7.

crt

a value to set for how large of regression coefficient change rate we use as not changing much. Should be the same as using function "IVExtractResult". Default is 0.6.

num

a value of number of data points. The default is 25.

crtvalb

a value to set the change of I(current) we want to use as changing very much (to detect the end of IV curve). Suggestion is to test this function with several IV curves for your data and find the proper value. The default is 0.3

iter

number of iterations want to use to calculate uncertainty. Default is 100, takes about 2 minutes to finish calculation.

diff_slp

The difference between the slope on the left and on the right of the change point. The default is 0.01.

plot.option

True/False, it plots the IV curve. The default is false.

Value

a list of the following items:

Examples

1
2
3
4
#this IV curve is of step=1
data(IV_step1)
IV1 <- data.frame(IV_step1)
IVuncertain(IV1)

ddiv documentation built on April 15, 2021, 1:06 a.m.