QUEST Psychometric Function

I've been using QUEST for a bit, though I'm having trouble figuring out how to extract the equation for the psychometric function. In the functions I've looked through it appears that when it is plotting the functions in the demos that it is actually using an interpolation between the fit probabilities (q.p2) at the fitted stimulus intensities (q.x2). I was curious if there is an obvious way that I'm missing to find the final values for that function or if it would be necessary to fit a Weibull to those intensity/probability values.