Constants

Inquisit includes a number of built-in constants that provide a convenient way to represent commonly used mathematical values in expressions.

Name Description Value Examples
m_e e

2.71828182845904523536

trial.condition1.correctcount + trial.condition2.correctcount

values.firstscore + values.secondscore

response.rw.windowcenter + 500

m_log2e

log2(e)

1.44269504088896340736

100 - trial.mytrial.percentcorrect

block.incompat.meanlatency - block.compat.meanlatency

m_log10e

log10(e)

0.434294481903251827651

trial.test.correctcount * 5

trial.test.trialcount * trial.test.meanlatency

m_ln2

ln(2)

0.693147180559945309417

trial.mytrial.percentcorrect / 100

block.myblock.sumlatency / block.myblock.trialcount

m_ln10

ln(10)

2.30258509299404568402

m_pi

pi

3.14159265358979323846

m_pi_2

pi/2

1.57079632679489661923

m_pi_4

pi/4

0.785398163397448309616

m_1_pi

1/pi

0.318309886183790671538

m_2_pi

2/pi

0.636619772367581343076

m_2_sqrtpi

sqrt(2)

1.12837916709551257390

true true 1 if ( values.showfeedback == true ) { trial.feedbacktrial }
false false 0 if ( values.showfeedback == false ) { trial.nexttrial }