diff --git a/meanas/fdfd/farfield.py b/meanas/fdfd/farfield.py index b4b9dbe..d0ec008 100644 --- a/meanas/fdfd/farfield.py +++ b/meanas/fdfd/farfield.py @@ -6,7 +6,7 @@ import numpy from numpy.fft import fft2, fftshift, fftfreq, ifft2, ifftshift from numpy import pi -from .. import fdfield_t +from ..fdmath import fdfield_t def near_to_farfield(E_near: fdfield_t, diff --git a/meanas/fdmath/__init__.py b/meanas/fdmath/__init__.py index f70634f..cf5e7d8 100644 --- a/meanas/fdmath/__init__.py +++ b/meanas/fdmath/__init__.py @@ -88,7 +88,7 @@ and where \\( \\hat{g} \\) and \\( \\tilde{g} \\) are located at \\((m,n,p)\\) with components at \\( (m \\pm \\frac{1}{2},n,p) \\) etc., - while \\( \\hat{h} \\) and \\( \\tilde{h} \\) are located at \\((m \pm \\frac{1}{2}, n \\pm \\frac{1}{2}, p \\pm \\frac{1}{2})\\) + while \\( \\hat{h} \\) and \\( \\tilde{h} \\) are located at \\((m \\pm \\frac{1}{2}, n \\pm \\frac{1}{2}, p \\pm \\frac{1}{2})\\) with components at \\((m, n \\pm \\frac{1}{2}, p \\pm \\frac{1}{2})\\) etc. TODO: Explain fdfield_t vs vfdfield_t / operators vs functional