docstr: Calculates PDF and ODF and other properties for a single voxel
  
  Parameters
  ----------
  model : object,
      DiffusionSpectrumModel
  data : 1d ndarray,
      signal values
docstr_tok: ["Calculates","PDF","and","ODF","and","other","properties","for","a","single","voxel","Parameters","--","--","--","--","--","model",":","object",",","DiffusionSpectrumModel","data",":","1d","ndarray",",","signal","values"]
code: def __init__(self, model, data):
      """Calculates PDF and ODF and other properties for a single voxel
  
      Parameters
      ----------
      model : object,
          DiffusionSpectrumModel
      data : 1d ndarray,
          signal values
      """
      self.model = model
      self.data = data
      self.qgrid_sz = self.model.qgrid_size
      self.dn = self.model.dn
      self._gfa = None
      self.npeaks = 5
      self._peak_values = None
      self._peak_indices = None
  
imports: import numpy
  from scipy.ndimage import map_coordinates
  from scipy.fftpack import fftn, fftshift, ifftshift
  from dipy.reconst.odf import OdfModel, OdfFit
  from dipy.reconst.cache import Cache
  from dipy.reconst.multi_voxel import multi_voxel_fit
label_desc: Use image node_id 1 to create a new DiffusionSpectrumFit object from inherited base classes: OdfFit with example: obj = DiffusionSpectrumFit(model, data)