title: Ignore divide by 0 warning in NumPy
body: <p>I have a function for statistic issues:</p>
  
  <pre><code>import numpy as np
  from scipy.special import gamma as Gamma
  
  def Foo(xdata):
      ...
      return x1 * (
                   ( #R is a numpy vector
                    ( ((R - x2)/beta) ** (x3 -1) ) * 
                    ( np.exp( - ((R - x2) / x4) ) ) /
                    ( x4 * Gamma(x3))
                   ).real
                  )
  </code></pre>
  
  <p>Sometimes I get from the shell the following warning:</p>
  
  <pre><code>RuntimeWarning: divide by zero encountered in...
  </code></pre>
  
  <p>I use the numpy <code>isinf</code> function to correct the results of the function in other files, so I do not need this warning. </p>
  
  <p>Is there a way to ignore the message?
  In other words, I do not want the shell to print this message.</p>
  
  <p>I do not want to disable all python warnings, just this one.</p>