Example 5: class CV_Datas and LSV_Datas - RATE Analysis

The aim is to extract the capacitance from the surface.

Download dataset

Start by downloading the files in the folder from github: Folder

and save it an appropriate folder.

Import the class:

   from ec4py import *

Load a file:

   paths =[x for x in dirPath.glob("CV_*.tdms")]
   #load in the files
   datas = CV_Datas(paths)

Show the raw data

   datas.plot(LEGEND.RATE)

Plot of CVs

Rate Analysis

Analyse the current at a specific voltage using the RHE-potential.

   datas.RateAnalysis(0.5,RHE)

Rate Analysis

Observe the offset

It can be seen in the graph above that the there is an offset in the data. The current offset can be visualized by plotting the average of the positive and negative scan.

   datas.plot(AVG,RHE,RATE,LEGEND.RATE)

Plot of CVs

Rate Analysis of the difference

A technique to remove any offset is to take the difference between positive and negative scan(DIF).


datas.RateAnalysis(0.45,RHE,DIF,savefig="cv_datas_ex5_fig4.png")

Plot of CVs