{"action":"created","issue":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/1013","labels_url":"https://api.github.com/repos/psychopy/psychopy/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/psychopy/psychopy/issues/1013/comments","events_url":"https://api.github.com/repos/psychopy/psychopy/issues/1013/events","html_url":"https://github.com/psychopy/psychopy/issues/1013","id":118217145,"number":1013,"title":"Psi staircase not working?","user":{"login":"hoechenberger","id":2046265,"avatar_url":"https://avatars.githubusercontent.com/u/2046265?v=3","gravatar_id":"","url":"https://api.github.com/users/hoechenberger","html_url":"https://github.com/hoechenberger","followers_url":"https://api.github.com/users/hoechenberger/followers","following_url":"https://api.github.com/users/hoechenberger/following{/other_user}","gists_url":"https://api.github.com/users/hoechenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/hoechenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoechenberger/subscriptions","organizations_url":"https://api.github.com/users/hoechenberger/orgs","repos_url":"https://api.github.com/users/hoechenberger/repos","events_url":"https://api.github.com/users/hoechenberger/events{/privacy}","received_events_url":"https://api.github.com/users/hoechenberger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-21T19:43:22Z","updated_at":"2015-11-25T21:14:12Z","closed_at":"2015-11-25T21:14:12Z","body":"I cannot seem to get the Psi adaptive staircase to work. It always sticks to the lowest possible intensity value. This issue was also [reported](https://groups.google.com/d/msg/psychopy-users/frva_zDMBEM/pw8Ff8O6T2gJ) by another user on the mailing list.\r\n\r\nExample code:\r\n```python\r\nfrom __future__ import print_function\r\nfrom psychopy.data import PsiHandler\r\n\r\nif __name__ == '__main__':\r\n    nTrials = 10\r\n    intensRange = [0.01, 100]\r\n    alphaRange = [0.01, 100]\r\n    betaRange = [0.01, 10]\r\n    delta = 0.01\r\n    intensPrecision, alphaPrecision, betaPrecision = 10000, 100, 100\r\n    stepType = 'lin'\r\n    TwoAFC = False\r\n    prior = None\r\n\r\n    stairs = PsiHandler(\r\n        nTrials, intensRange, alphaRange, betaRange, delta,\r\n        intensPrecision, alphaPrecision, betaPrecision, TwoAFC=TwoAFC,\r\n        stepType=stepType, prior=prior\r\n    )\r\n\r\n    responses = [1, 1, 0, 0, 1, 1, 0, 0, 1, 1]\r\n\r\n    for trialN, intensityN in enumerate(stairs):\r\n        stairs.addResponse(responses[trialN])\r\n        print(intensityN)\r\n```\r\nOutput:\r\n```\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n0.01\r\n```\r\n@JosephGlavan, maybe you have an idea? :)"},"comment":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/comments/159732804","html_url":"https://github.com/psychopy/psychopy/issues/1013#issuecomment-159732804","issue_url":"https://api.github.com/repos/psychopy/psychopy/issues/1013","id":159732804,"user":{"login":"hoechenberger","id":2046265,"avatar_url":"https://avatars.githubusercontent.com/u/2046265?v=3","gravatar_id":"","url":"https://api.github.com/users/hoechenberger","html_url":"https://github.com/hoechenberger","followers_url":"https://api.github.com/users/hoechenberger/followers","following_url":"https://api.github.com/users/hoechenberger/following{/other_user}","gists_url":"https://api.github.com/users/hoechenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/hoechenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoechenberger/subscriptions","organizations_url":"https://api.github.com/users/hoechenberger/orgs","repos_url":"https://api.github.com/users/hoechenberger/repos","events_url":"https://api.github.com/users/hoechenberger/events{/privacy}","received_events_url":"https://api.github.com/users/hoechenberger/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:14:12Z","updated_at":"2015-11-25T21:14:12Z","body":"This is fixed via #1024 and #1025."}}