array_factor: array factor

View source: R/array.R

array_factorR Documentation

array factor

Description

C++ calculation of the array factor

Usage

array_factor(wavelength, N, pitch)

Arguments

wavelength

wavelength in nm

N

half the number of dipoles along one side

pitch

pitch in nm

Details

Brute-force numerical evaluation of the truncated 2D sum of dipole fields in a finite square array

Value

complex array factor

Author(s)

baptiste Auguie

Examples

S <- array_factor(seq(400, 600),  10,  500)
str(S)

baptiste/cda documentation built on May 6, 2022, 5:52 a.m.