title: create a list of exponential decay with a predetermine half-life python
body: <p>I am trying to create a list of exponential decay  of fix length with a predetermine half-life as efficiently as possible.</p>
  
  <p>so assuming I want I half-life of  1 and a list length of 5 it would return :</p>
  
  <pre><code>[1.0, 0.5, 0.25, 0.125, 0.0625]
  </code></pre>