Description Usage Arguments Value Examples
Calculate steps of IV curve
1 |
I |
A vector of current values from IV data frame |
V |
A vector of voltage values from IV data frame |
k |
The number of equally-spaced values to supply as starting values for the breakpoints. The default is 7. |
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. |
a list of the following items:
"step": a value that shows how many steps of IV curve
"xsep": a vector of values (voltage) that shows the change point indicating steps. NA means that the IV curve has only one step and there is no change points.
1 2 3 4 5 6 7 8 9 10 | #this IV curve is of step=1
#load the data provided in the package
data(IV_step1)
IV1 <- data.frame(IV_step1)
result <- IVsteps(IV1$I,IV1$V)
#use the IV curve with step=2
data(IV_step2)
IV2 <- data.frame(IV_step2)
#with plot.option=TRUE, IV curve and steps are ploted
result2 <- IVsteps(IV2$I,IV2$V,plot.option=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.