Data is in Target_detection_Dec23 > OLED (This refers to the monitor that was used to the collect the data).  


Participant data folders: [pt1, pt2, pt3, pt4, pt5].  
	Session data folders: e.g., [pt1_1, pt1_2, pt1_3 etc].  These folder contain data and analysis from a single experimental session in which all conditions were run once.
		condition data folder: e.g., sep_4.  This refers to the fact that the probes were separated by four pixels.  There is only one condition data folder per participant.  
			_output.csv: (e.g., pt1_1_output.csv), this is the raw output from the experiment.  
			_frames.png: (e.g., pt1_1_frames.png), this is a plot showing the duration of each frame during the stimulus presentation.  Is part of the experiment script that records the frame intervals to check for timing issues.  
		RUNDATA-sorted.xlsx:  This extracts and concatenates the output.csv data from the condition data folders and A copy of the output.csv, Sorted by staircase and trial number so that the first 25 rows are the 25 trials from the first staircase, the next 25 are the second staircase etc.
		psignifit_thresholds.csv:  The thresholds calculated by psignifit software for each condition based on the 25 trials in that staircase.
		curve_plots: This directory contains visualizations of the psychometric curves fitted to the data for each condition.  The vertical line represents the point of subjective equality or threshold for that trial.

	Participant_means: There are several csv files with participant data in each participant data folder.  For each participant there are several plots.
		MASTER_p_trial_data.csv: This is a concatenation of all trial data for this participant, taked from RUNDATA-sorted.xlsx.
		MASTER_psignifit_thresholds.csv.  This contains the threshold data for this participant.  Is is made by concatenating each of the psignifit_thresholds.csv files from each session.  The stack column refers to the experimental session in which the data was collected.
		MASTER_TM2_thresholds.csv.  This file is a trimmed version of the file above.  That is, for each condition (e.g., ISI and separation combination), the values are sorted and the two highest and two lowest values have been removed, leaving eight values.  The stack column no longer relates to the session in which the data was collected, it is now just sorted with the lowest remaining value for a condition in stack 1, and the highest in stack 8. For any datasets with TM2 in their name, this refers to the fact that the two highest and two lowest values have been trimmed.  
		MASTER_ave_TM2_thresh.csv.  This file contains the mean thresholds for each condition, based on the trimmed thresholds in the file above.  (note: for pt2, who hasn't completed the experiment, their data has not been trimmed and this file is called MASTER_ave_thresh.csv)
		MASTER_ave_TM2_thr_error_SE.csv:  This file has the standard error for the thresholds in each condition. (note: for pt2, who hasn't completed the experiment, their data has not been trimmed and this file is called MASTER_ave_thresh_error_SE.csv)
		

		all_run_stairs...mean.png:  This plot shows participants responses for all trials.  The x-axis shows the point in the staircase (from 1 to 25 for each condition), the y-axis shows the target luminance.  Each sub-plot represents a target durations and the red and blue line represent the different background motion conditions.  Light lines are the actual trial data, with one from each experimental session.  Dark lines are the mean of the responses at that point in the staircase.  

		pt1_All_data_(untrimmed)_joinedplot.png:  This plot shows the mean thresholds before trimming (e.g., data from all 12 sessions), taken from MASTER_psignifit_thresholds.csv.  Along side the means and standard error bars, scatter plots show each threshold, with pairs of datapoints from the same session joined together.  

		pt1_TM2_not_joined.png:  This plot shows the mean thresholds after trimming (e.g., the two highest and lowest values have been removed.  A scatter plot also shows the eight remaining datapoints from each session.

		pt1_TM2_diff_line.png:  This plot shows the difference in target lumiance beween pairs of data points for the same duration condition (e.g., luminance for congruent condition - luminance for incongruent).  These are not necessarily datapoints from the same session, as data has been trimmed, but are pairs from sorted lists (e.g., the two lowest datapoints first).  



Experiment means: There are several files with experiment level data in this folder, and four plots.  
	MASTER_exp_all_thr.csv: This file shows the mean threshold for each condition, for each participant.  
	MASTER_exp_ave_thr.csv.  This file has the experiment mean threshold for each condition.  That is, it shows the mean of the participant thresholds from MASTER_exp_all_thr.csv.
	MASTER_ave_thr_error_SE.csv.  This file has the standard error of the mean of the participant thresholds from MASTER_exp_thr.csv.
	

exp_ave_joinedplot.png:  This plot shows the experiment mean thresholds, taken from MASTER_exp_all_thr.csv.  Along side the means and standard error bars, scatter plots show each threshold, with pairs of datapoints from the same participant joined together.  

exp_ave_TM[2, None, 2, 2, 2]_not_joined.png: This is the same as the joined plot (see above) but without lines joining datapoints from the same participant.  Note: the filename here indicates that not all participants' data has been trimmed.  Once all participants have completed the experiment, it will be named exp_ave_TM2_not_joined.png.

exp_ave_TM[2, None, 2, 2, 2]_diff_line.png:  This plot shows the difference in target lumiance beween pairs of mean thresholds from the same participant, for the same duration condition (e.g., luminance for congruent condition - luminance for incongruent).  Note: the filename here indicates that not all participants' data has been trimmed.  Once all participants have completed the experiment, it will be named exp_ave_TM2_diff_line.png.


