sampleCV: Create Subsample of a Simulated Cyclic Voltammogram
Description
Used to create a reduced data file of potentials and currents for a cyclic voltammogram or a linear sweep voltammogram. When passed to plotCV, the resulting plot shows the data as discrete points instead of as a line.
Usage
sampleCV(filename, data.reduction = 1)
Arguments
filename
The filename that contains the result of a simulated cyclic voltammetry experiment (created using the cvSim function).
data.reduction
A value that gives the percentage of the original data to keep, which then is spaced evenly across the full data set.
Value
Returns a list with the following components
expt
type of experiment; CV for a cyclic voltammetry simulation
file_type
value that indicates whether the output includes all data (full) or a subset of data (reduced); defaults to reduced