3.2.6.5. A_FMM.Layer.calculate_epsilon
- Layer.calculate_epsilon(x: ndarray = 0.0, y: ndarray = 0.0, z: ndarray = 0.0) dict[str, ndarray]
Return epsilon given the coordinates
The epsilon returned here is the one reconstructed from the Fourier transform. The epsilon is reconstructed on the meshgrid of x,y, and z.
- Parameters:
x (array_like) – x coordinates (1D array).
y (array_like) – y coordinates (1D array).
z (array_like) – z coordinates (1D array).
- Returns:
Epsilon value at coordinates. Shape of ndarray is the same as x,y, and z.
- Return type:
ndarray
- Raises:
ValueError – if x,y,z have different shapes