class_docstr: A simple wrapper for response functions represented using only axially
  symmetric, even spherical harmonic functions (ie, m == 0 and n even).
  
  Parameters
  ----------
  S0 : float
      Signal with no diffusion weighting.
  dwi_response : array
      Response function signal as coefficients to axially symmetric, even
      spherical harmonic.
class_docstr_tok: ["A","simple","wrapper","for","response","functions","represented","using","only","axially","symmetric",",","even","spherical","harmonic","functions","(","ie",",","m","==","0","and","n","even",")",".","Parameters","--","--","--","--","--","S0",":","float","Signal","with","no","diffusion","weighting",".","dwi_response",":","array","Response","function","signal","as","coefficients","to","axially","symmetric",",","even","spherical","harmonic","."]
code: def __init__(self, S0, dwi_response, bvalue=None):
      self.S0 = S0
      self.dwi_response = dwi_response
      self.bvalue = bvalue
      self.m = np.zeros(len(dwi_response))
      self.sh_order = 2 * (len(dwi_response) - 1)
      self.n = np.arange(0, self.sh_order + 1, 2)
  
imports: import warnings
  import numpy
  import numbers
  from scipy.integrate import quad
  from scipy.special import lpn, gamma
  import scipy.linalg
  import scipy.linalg.lapack
  from dipy.data import small_sphere, get_sphere, default_sphere
  from dipy.core.geometry import cart2sphere
  from dipy.core.ndindex import ndindex
  from dipy.sims.voxel import single_tensor
  from dipy.reconst.multi_voxel import multi_voxel_fit
  from dipy.reconst.dti import TensorModel, fractional_anisotropy
  from dipy.reconst.shm import sph_harm_ind_list, real_sh_descoteaux_from_index, sph_harm_lookup, lazy_index, SphHarmFit, real_sh_descoteaux, sh_to_rh, forward_sdeconv_mat, SphHarmModel
  from dipy.reconst.utils import _roi_in_volume, _mask_from_roi
  from dipy.direction.peaks import peaks_from_model
  from dipy.core.geometry import vec2vec_rotmat
  from dipy.utils.deprecator import deprecate_with_version, deprecated_params
label_desc: Use image node_id 1 to create a new AxSymShResponse object  with example: obj = AxSymShResponse(S0, dwi_response, bvalue)