#NEWLINE# def osu_run1( data_set = 'osu_run1' , sample_every = 4 ) : #NEWLINE# #INDENT# path = os . path . join ( data_path , data_set ) #NEWLINE# if ( not data_available ( data_set ) ) : #NEWLINE# #INDENT# download_data ( data_set ) #NEWLINE# zip = zipfile . ZipFile ( os . path . join ( data_path , data_set , 'run1TXT.ZIP' ) , 'r' ) #NEWLINE# for name in zip . namelist ( ) : #NEWLINE# #INDENT# zip . extract ( name , path ) #NEWLINE# #UNINDENT# #UNINDENT# ( Y , connect ) = GPy . util . mocap . load_text_data ( 'Aug210106' , path ) #NEWLINE# Y = Y [ 0 : ( - 1 ) : sample_every , : ] #NEWLINE# return data_details_return ( { #NEWLINE# #INDENT# 'Y' : Y , #NEWLINE# 'connect' : connect , #NEWLINE# #UNINDENT# } , data_set )