Example 1 class CV_Datas

Download dataset

Start by downloading a test file from github:

CV_144700_ 3.tdms

CV_144913_ 3.tdms

and save it an appropriate folder.

Import the class:

   from ec4py import CV_Datas

Load a file:

   fileList= [
               "CV_144700_ 3.tdms",
               "CV_144913_ 3.tdms"
   ]

   datas = CV_Datas(fileList)

Plot file

   datas.plot()

Plot of CV

Visualize that a CV consists of two LSV;

   line, p = data.plot(dir="pos")
   data.plot(dir="neg", plot = p)

Plot of CV

.. image:: cv_datas_ex1_fig2.png :width: 400 :alt: Alternative text