title: Log to the base 2 in python
body: <p>How should I compute log to the base two in python. Eg. I have this equation where I am using log base 2</p>
  
  <pre><code>import math
  e = -(t/T)* math.log((t/T)[, 2])
  </code></pre>