title: Understanding scipy.stats.norm.rvs()?
body: <p>In <code>scipy.stats.norm.rvs()</code> the argument scale denotes standard deviation but in the below piece of code sigma_list refers to an array. How does the code actually work?</p>
  
  <p>Where sigma_list is obtained by following code:</p>
  
  <pre><code>sigma=0.06
  
  mask=(x &gt; 0.65) &amp; (x &lt; 0.8)
  
  sigma_list=sigma+mask*0.03
  
  sigma_list
  
  y = sp.stats.norm.rvs(scale=sigma_list, size=200)
  </code></pre>
  
  <p>Even the standard deviations of both sigma_list and y are also not matching</p>
  
  <p>I want to know the working of the above scipy module</p>
  
  <p>sorry, i didn't mention that x is an array of values between 0 and 1</p>