docstr: Save parcel analysis information in NPZ file.
docstr_tok: ["Save","parcel","analysis","information","in","NPZ","file","."]
code: def dump_results(self, path=None):
      """
      Save parcel analysis information in NPZ file.
      """
      if path is None and self.res_path is not None:
          path = self.res_path
      else:
          path = "."
      np.savez(
          join(path, "parcel_analysis.npz"),
          values=self.parcel_values,
          labels=self.parcel_labels,
          prob=self.parcel_prob,
          mu=self.parcel_mu,
          s2=self.parcel_s2,
          dof=self.parcel_dof,
      )
  
imports: import warnings
  from os.path import join
  import numpy
  import scipy.ndimage
  import scipy.stats
  from nibabel import io_orientation
  from ...None import save_image
  from ...core.image.image_spaces import make_xyz_image, xyz_affine
  from ..kernel_smooth import fwhm2sigma
  from ..registration import resample
  from ..statistics.bayesian_mixed_effects import two_level_glm
  from ..statistics.histogram import histogram
label_desc: Use image node_id 5 for calling the ParcelAnalysis obj's underlying member method code with example usage: obj.dump_results(path) without return types