Skip to content

Commit

Permalink
Merge pull request #2716 from hoechenberger/doc
Browse files Browse the repository at this point in the history
DOC: QUEST documentation fixes
  • Loading branch information
peircej committed Dec 9, 2019
2 parents 1eec06f + e6ba80c commit 8c5de03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion psychopy/contrib/quest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class QuestObject(object):
The Weibull psychometric function:
p2=delta*gamma+(1-delta)*(1-(1-gamma)*exp(-10**(beta*(x2+xThreshold))))
p2=delta*gamma+(1-delta)*(1-(1-gamma)*exp(-10**(beta*(x-xThreshold))))
where x represents log10 contrast relative to threshold. The
Weibull function itself appears only in recompute(), which uses
Expand Down
3 changes: 1 addition & 2 deletions psychopy/data/staircase.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,7 @@ class QuestHandler(StairHandler):
The Weibull psychometric function:
_e = -10**(beta * (x2 + xThreshold))
p2 = delta * gamma + (1-delta) * (1 - (1 - gamma) * exp(_e))
Psi(x) = delta * gamma + (1-delta) * (1 - (1 - gamma) * exp(-10 ** (beta * (x - xThreshold))))
**Example**::
Expand Down

0 comments on commit 8c5de03

Please sign in to comment.