Example 2: class CV_Data - Tafel Analysis

Download dataset

Start by downloading a test file from github:

CV_152635_ 3.tdms

and save it an appropriate folder.

Import the class:

   from ec4py import CV_Data

Load a file:

   data = CV_Data("CV_152635_ 3.tdms")

Plot file and add some smoothing

   line,p = data.plot()
   data.plot(plot = p, y_smooth = 10)

Plot of CV

Tafel Analysis

   Tafel_Range = [-0.03,-0.15]
   slopes = data.Tafel(Tafel_Range)
   print(slopes[0] )
   print(slopes[1] )

Plot of CVs

Tafel Analysis using diffusion limit correction

   Tafel_Range = [-0.03,-0.15]
   E_dl = -0.4
   slopes = data.Tafel(Tafel_Range,E_dl)
   print(slopes[0] )
   print(slopes[1] )

Plot of CVs