-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Manos Gionanidis
authored
Apr 29, 2018
1 parent
a0d052b
commit b51c9b1
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |