def makeTrueParams(Din):
  ''' Create mixture weights, means, covariance matrices for all components
  '''
  global K, D
  D = Din
  K = 8
  global w
  global Mu
  global Sigma
  global cholSigma

  w  = np.ones(K)
  w = np.sum(w) / w
  Mu = np.zeros((K,D))

  Sigma = np.zeros((K,D,D))
  cholSigma = np.zeros(Sigma.shape)
  for k in xrange(K):
    Sigma[k] = makeImgPatchCovMatForComp(D, k)
    cholSigma[k] = scipy.linalg.cholesky(Sigma[k])
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/demodata/DeadLeaves.py/makeTrueParams/swapped operands of `/`