docs: def to_python(fname, converter):
      """
      Convert a source model .hdf5 file into a :class:`SourceModel` object
      """
      with hdf5.File(fname, 'r') as f:
          source_model = f['/']
      for sg in source_model:
          for src in sg:
              if hasattr(src, 'mfd'):
                  # multipoint source
                  # src.tom = converter.tom
                  kwargs = getattr(src.mfd, 'kwargs', {})
                  if 'bin_width' not in kwargs:
                      kwargs['bin_width'] = [converter.width_of_mfd_bin]
      return source_model