Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Manos Gionanidis authored Apr 29, 2018
1 parent a0d052b commit b51c9b1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions feature_extraction_techniques/readFiles.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!usr/bin/python
import os

def readCases():
#healthy cases = 1.825 , we are going to mark these cases with 0(zero)
#parkinson cases = 278 , and theses cases with 1(one)
healthyCases = os.listdir('/home/gionanide/Theses_2017-2018_2519/gionanide/Audio_Files/HC')
capturedCases = os.listdir('/home/gionanide/Theses_2017-2018_2519/gionanide/Audio_Files/PD')
#using the os libary that Python provides to read all the files from a scertain directory
#the function return two arrays with all the file names that are in the specific directory

0 comments on commit b51c9b1

Please sign in to comment.