biosspheres.miscella.forcouplings.currents#

Functions

biosspheres.miscella.forcouplings.currents.i_fitzhughnagumo_n_spheres_function_creation(big_l: int, big_l_c: int, n: int, radii: ndarray) → Callable[[ndarray, ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • big_l_c (int) – >= 0, parameter for the integral quadratures

  • n (int) – > 0, number of spheres.

  • radii (np.ndarray) – Array with the radii of the spheres.

Returns:

i_current – Each argument must be an array of length n*(big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray, np.ndarray], np.ndarray]

biosspheres.miscella.forcouplings.currents.i_fitzhughnagumo_one_sphere_function_creation(big_l: int, big_l_c: int, radius: float) → Callable[[ndarray, ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • big_l_c (int) – >= 0, parameter for the integral quadratures

  • radius (float) – > 0. Radius of the sphere.

Returns:

i_current – Each argument must be an array of length (big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray, np.ndarray], np.ndarray]

biosspheres.miscella.forcouplings.currents.i_kavian_leguebe_ea_2014_1_sphere_2d(big_l: int, big_l_c: int, radius: float, s_l: float, s_ir: float) → Callable[[ndarray, ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • big_l_c (int) – >= 0, parameter for the integral quadratures

  • radius (float) – > 0. Radius of the sphere.

  • s_l (float) – Must be different from zero.

  • s_ir (float) – Must be different from zero.

Returns:

i_current – Each argument must be an array of length (big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray, np.ndarray], np.ndarray]

biosspheres.miscella.forcouplings.currents.i_kavian_leguebe_ea_2014_n_sphere_2d(big_l: int, big_l_c: int, n: int, radii: ndarray, s_l: ndarray, s_ir: ndarray) → Callable[[ndarray, ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • big_l_c (int) – >= 0, parameter for the integral quadratures

  • n (int) – > 0, number of spheres.

  • radii (np.ndarray) – Array with the radii of the spheres.

  • s_l (np.ndarray) – of floats. Length n. Each entry must be different from zero.

  • s_ir (np.ndarray) – of floats. Length n. Each entry must be different from zero.

Returns:

i_current – Each argument must be an array of length n*(big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray, np.ndarray], np.ndarray]

biosspheres.miscella.forcouplings.currents.i_linear_resistive_current_function_creation_n_spheres(big_l: int, n: int, radii: ndarray, r_m: ndarray) → Callable[[ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • n (int) – > 0, number of spheres.

  • radii (np.ndarray) – Array with the radii of the spheres.

  • r_m (np.ndarray) – of floats. Length n. Each entry must be different from zero.

Returns:

i_current – Its argument must be an array of length n*(big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray], np.ndarray]

biosspheres.miscella.forcouplings.currents.i_linear_resistive_current_function_creation_one_sphere(big_l: int, radius: float, r_m: float) → Callable[[ndarray], ndarray][source]#
Parameters:
  • big_l (int) – >= 0, max degree of spherical harmonics used.

  • radius (float) – > 0. Radius of the sphere.

  • r_m (float) – Must be different from zero.

Returns:

i_current – Its argument must be an array of length (big_l+1)**2. It returns an array of the same size.

Return type:

Callable[[np.ndarray], np.ndarray]