title: SimpleITK.ImageFileWriter in Python has no method "SetImageIO" but C++ docs say it has
body: <p>I'm using SimpleITK for Python and have created an empty image using NumPy as follows:</p>
  
  <pre><code>import SimpleITK as sitk
  import numpy as np
  
  pixels = np.zeros((64, 64))
  image = sitk.GetImageFromArray(pixels)
  </code></pre>
  
  <p>Then, when I try to write the image to file in NIFTI format it complains that it cannot find the method "SetImageIO" on the ImageFileWriter object.</p>
  
  <pre><code>write = sitk.ImageFileWriter()
  write.SetFileName('hello.nii.gz')
  write.SetImageIO('NiftiImageIO')
  write.Execute(image)
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>AttributeError: 'ImageFileWriter' object has no attribute 'SetImageIO'
  </code></pre>
  
  <p>Does anybody know why this is? The C++ docs clearly mention a method "SetImageIO" for ImageFileWriter.</p>
  
  <p>Thanks, Ralph</p>