Skip to content

Complete Redesign #9

@roflmaostc

Description

@roflmaostc

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions