Commit fa1223b3 authored by Leon Merten Lohse's avatar Leon Merten Lohse
Browse files

aufraeumen

parent 1236de9a
Pipeline #174172 passed with stage
in 39 seconds
from pyfftw.interfaces.numpy_fft import fftn, ifftn, ifftshift, fftshift
import numpy as np
from functools import reduce
from pyfftw.interfaces.numpy_fft import fftn, ifftn, ifftshift, fftshift
from . import finite_differences as fd
from .misc import fftfreqn
......@@ -9,8 +9,7 @@ _lambda0 = 1. # all lengths are in units of the wavelength
_k0 = 2 * np.pi / _lambda0
def _compute_potential(n_, k_=_k0):
return k_*k_ * (1 - n_*n_)
def _compute_potential(n_, k_=_k0): return k_*k_ * (1 - n_*n_)
def squaresum(a):
......
from . import hankel
from .misc import fftfreqn, gridn
import numpy as np
from pyfftw.interfaces.numpy_fft import fftn, ifftn
from scipy.signal import fftconvolve
_lambda0 = 1. # all lengths are in units of the wavelength
_k0 = 2 * np.pi / _lambda0
from . import hankel
from .misc import fftfreqn, gridn
def fresnelKernelCS(N, fresnelNumber):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment