IVfeature: Calculate IV feature from a IV curve

Description Usage Arguments Details Value Examples

View source: R/IVfeature.R

Description

Calculate IV feature from the given IV curve with one step

Usage

1
IVfeature(I, V, crt = 0.2, num = 75, crtvalb = 0.3)

Arguments

I

A vector of current values from IV data frame

V

A vector of voltage values from IV data frame

crt

A value to set for how large of regression coefficient change rate we use as not changing much. This is due to the value 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.2.

num

A value of number of data points. The default is 75.

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

Details

Note that IV curve should have voltage ordered from the smalles value to the largest value.

This function can gives result for IV curves with more than one steps, but the results are not accurate. To extract IV features for IV curves with more than one steps, or unsure about the steps of IV curves, please use IVExtractResult(). For IV curve has only one step, this function can be used.

Value

a list of the following items:

Examples

1
2
3
4
5
6
7
#this IV curve is of step=1
#if IV curve is of step>1, please use IVsteps to first find the number of
#steps and change points, then apply this function for each steps
#load the data provided in the package
data(IV_step1)
IV1 <- data.frame(IV_step1)
result <- IVfeature(IV1$I,IV1$V,crt=0.2,num=75,crtvalb=0.3)

ddiv documentation built on May 2, 2019, 8:24 a.m.