title: PSF (point spread function) for an image (2D)
body: <p>I'm new in image analysis (with Python) and I would like to apply the richardson_lucy deconvolution (from skimage) on my data (CT scans). For this reason, I estimated the PSF in "number of voxels" by means of a specific software. Its value is roughly 6.73 voxels, but I don't know how to use it as a paramter in the function.</p>
  
  <p>The function uses the PSF parameter as a ndarray, so I tried in this way:</p>
  
  <pre><code>from skimage import io
  from pylab import array
  img = io.imread ("Slice1.tif")
  import skimage.restoration as rst
  PSF = array (6.7)
  img_dbl = rst.richardson_lucy (img, PSF, iterations=10)
  </code></pre>
  
  <p>It shows me this error: <code>IndexError: too many indices for array</code></p>
  
  <p>In CT scans, blurring between two different materials can be linked to a Gaussian PSF. If you have more tips for deblurring (maybe better than RL) just write them.</p>
  
  <p>Can any one please help me.</p>