JuliaPhysics / JuliaPhysics/PhysicalOptics.jl

Complete Redesign

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
53
Forks
6
PR merge metrics
No merged PRs in 30d

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:
```julia
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by reading the existing Julia package structure and determine how scalar optics is currently represented, then assess the proposed ScalarField type against the CUDA and automatic-differentiation goals. Done would require an agreed design and an implemented scalar-optics foundation, but the scope is not defined here.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.