Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-tejada authored Mar 17, 2023
1 parent 33b43e4 commit ed2d5c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/analysis/analysis_tobii_AOI_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@

out = csv.writer(open(os.path.join(DATADIR, '%s.aoi.analisis.txt' % ppname),"a"), delimiter=';', quoting=csv.QUOTE_ALL)
out.writerow(["Sujeto","Imagen","Area","Ensayo","FF_AOI","DF_AOI","LF_AOI","FE_AOI0","DE_AOI0","LE_AOI0", "Dwell_AOI"])
AOI_Fixations = pd.DataFrame(np.zeros(((len(edfdata)), 5)), columns=['area','trial', 'starttime_mean','duration','frequency'])
AOI_DwellTime = pd.DataFrame(np.zeros(((len(edfdata)), 3)), columns=['area','trial','frequency'])
AOI_Fixations = pd.DataFrame(np.zeros(((len(edfdata)), 5)), columns=['area','trial', 'starttime_mean','duration','frequency'])
AOI_SaccadesEntries = pd.DataFrame(np.zeros(((len(edfdata)), 5)), columns=['area','trial','latency','frequency', 'duration'])
AOI_Fixations = pd.DataFrame(np.zeros(((len(df)), 5)), columns=['area','trial', 'starttime_mean','duration','frequency'])
AOI_DwellTime = pd.DataFrame(np.zeros(((len(df)), 3)), columns=['area','trial','frequency'])
AOI_Fixations = pd.DataFrame(np.zeros(((len(df)), 5)), columns=['area','trial', 'starttime_mean','duration','frequency'])
AOI_SaccadesEntries = pd.DataFrame(np.zeros(((len(df)), 5)), columns=['area','trial','latency','frequency', 'duration'])
# dataframe of pupil diameter
out2 = csv.writer(open(os.path.join(DATADIR, '%s.aoi.pupil.txt' % ppname),"a"), delimiter=';', quoting=csv.QUOTE_ALL)
# loop through trials
Expand Down

0 comments on commit ed2d5c0

Please sign in to comment.