import_cell_cv: Imports full cell cyclic voltammogram

Description Usage Arguments Details Value Functions Author(s)

Description

This function imports a cyclic voltammogram performed on a full cell for the purpose of measuring a polarization curve.

Usage

1
2
3
4
import_cell_cv(fname = file.choose(), area = 5, rpm = 50, cols = c("T",
  "Vf", "Im"), movingavg = TRUE, traceavg = TRUE, ...)

polcurve_averager(inputdf, voltageid = "Vf", currentid = "scurrent")

Arguments

fname

File to import.

area

Geometric area of the cell electrodes, for correction from current/power to current/power density.

rpm

Rotation rate of the pumps, in rotations per minute. This is used by the moving average filter to average the collected data over one pump pulse.

cols

Data columns to import. Must match the names given by Gamry Framework software.

movingavg

If TRUE (default is TRUE), the function will apply a moving average to the measured current to smooth out oscillations in the data from a pulsing pump.

traceavg

If TRUE (default is TRUE), the function will attempt to split the polarization curve into two traces, a top and bottom trace, and average the two. This is useful if the cyclic voltammogram is changing the state of charge of the cell.

Details

This function, by default, performs two filters on the data to smooth it. First, a moving average filter is applied to dampen pulses from non-steady flow pumps such as diaphragm pumps. The moving average is applied over one pump cycle, which is why the function takes pump RPM as an input. The second filter splits the polarization curve in half and averages the top and bottom halves, to adjust for state of charge changes while running the cyclic voltammogram.

Value

Returns a data frame with current, voltage, and power columns. The filename of each file is also reported in the state of charge ("soc") column for later analysis.

Functions

Author(s)

Mike Gerhardt


mikegerhardt/echem documentation built on May 22, 2019, 10:51 p.m.