pygsti.tools.
rb_decay
Return the Randomized Benchmarking (RB) decay function:
decay(x,a,b) = (1 + (2a-1) exp(-bx))/2