I have used the builder to create and experiment that uses a method of constant stimuli. From the psychometric data, I wish to find the threshold values for my conditions using the FitWeibull.
However, I also need to know the estimate of the error fit for the data, and I am not sure how to produce that.
Based on this link (https://groups.google.com/forum/#!msg/psychopy-users/caESaU69HmY/fRNMVf7uxzYJ), it says that the SEMS takes into account the weight.
Considering that I had 5 nReps, I adjusted the to
sems = 5. Is there a command I have to use to produce the error fit?
[On a side note, the experiment produces the following files; .csv, .log, .psydat, and .xlsx
at the moment I am retrieving the data manually from the excel file so the code I am using is very basic, but I will eventually read the excel file using openpyxl]
from psychopy import data oriChange = [5,10,15,25,35] Accuracy = [0.65, 0.7, 0.85, 0.95, 0.85] thresholdVal = 0.80 fit = data.FitWeibull(oriChange, Accuracy, sems=5) print fit.params print fit.inverse(thresholdVal)