The purpose is to study the relation between pupillary diameter measured under scotopic conditions, and the pain thresholds measured at the time of peak and residual effect of methadone/buprenorphine in opiate-dependent patients following a substitution program.