-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
This projects definitely needs a redesign. It should be CUDA compatible and also differentiable by automatic differentiation!
First, I want to focus (:zany_face:) on scalar optics.
I think it might make sense to introduce types like:
struct ScalarField{T, N, A <: Union{Array{T, N}, CuArray{T, N}}}
# wavelength
λ :: T
# length of eletrical field
L :: T
# Array, CuArray, ... of
field :: A
end
Those are the trivial parameters we need to describe a field. Scalar Fourier optics is possible with such a type.
Metadata
Metadata
Assignees
Labels
No labels