Example 3: class CV_Datas - Levich Analysis

Download dataset

Start by downloading a test file from github: CV_151512_ 3.tdms CV_151725_ 3.tdms CV_153036_ 3.tdms CV_152150_ 3.tdms CV_152403_ 3.tdms CV_152635_ 3.tdms

and save it an appropriate folder.

Import the class:

   from ec4py import *

Load a file:

   paths = [
   "CV_151512_ 3.tdms",
   "CV_151725_ 3.tdms",
   "CV_153036_ 3.tdms",
   "CV_152150_ 3.tdms",
   "CV_152403_ 3.tdms",
   "CV_152635_ 3.tdms",
]
   datas = CV_Datas(paths)

Datas

   datas.plot(LEGEND.ROT)

Plot of CVs

Plot of data normalized to the square root of rotation.

   datas.plot("sqrt_rot",LEGEND.ROT)

Plot of CVs

Levich Analysis

   Epot = -0.5
   slopes = datas.Levich(Epot)
   print(slopes[0] )
   print(slopes[1] )

Plot of CVs

Levich Analysis when normalizing the current to area

   Epot = -0.5
   slopes = datas.Levich(Epot, AREA_CM)
   print(slopes[0] )
   print(slopes[1] )

Plot of CVs