Package: cda 2.0.0

Baptiste Auguie

cda: Coupled-Dipole Approximation for Electromagnetic Scattering by Three- Dimensional Clusters of Sub-Wavelength Particles

Coupled-dipole simulations for electromagnetic scattering of light by sub-wavelength particles in arbitrary 3-dimensional configurations. Scattering and absorption spectra are simulated by inversion of the interaction matrix, or by an order-of-scattering approximation scheme. High-level functions are provided to simulate spectra with varying angles of incidence, as well as with full angular averaging.

Authors:Baptiste Auguie [aut, cre]

cda_2.0.0.tar.gz
cda_2.0.0.zip(r-4.5)
cda_2.0.0.tgz(r-4.6-x86_64)cda_2.0.0.tgz(r-4.6-arm64)cda_2.0.0.tgz(r-4.5-x86_64)cda_2.0.0.tgz(r-4.5-arm64)

cda_2.0.0.tgz(r-4.5-emscripten)
manual.pdf |manual.html
card.svg |card.png
cda/json (API)
NEWS

# Install 'cda' in R:
install.packages('cda', repos = c('https://nano-optics.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/plasmonics/cda/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:
  • G0 - Precomputed array factor for a square lattice at normal incidence
  • gfun - Precomputed array factor for a square lattice at normal incidence

On CRAN:

Conda:

openblascpp

2.95 score 3 stars 60 scripts 5 downloads 27 exports 15 dependencies

Last updated from:dab8ebeaa9. Checks:4 FAIL, 9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64FAIL180
linux-devel-x86_64FAIL248
source / vignettesOK231
linux-release-arm64OK177
linux-release-x86_64OK172
macos-release-arm64OK118
macos-release-x86_64OK437
macos-oldrel-arm64OK170
macos-oldrel-x86_64OK199
windows-develFAIL192
windows-releaseFAIL245
windows-oldrelOK373
wasm-releaseOK173

Exports:alpha_barealpha_dyealpha_ellipsoidarray_factorcluster_arraycluster_ballcluster_chaincluster_dimercluster_helixcluster_pumpkincluster_shellcluster_singledye_coverageequal_anglesequal_sizeshelixquadrature_spherergl.ellipsoidrgl.ellipsoidssample_fibonaccisample_hcsample_landingssample_randomspectrum_dispersionspectrum_oaspheroid_arvisualise

Dependencies:cligluelifecyclemagrittrplyrrandtoolboxRcppRcppArmadilloreshape2rlangrngWELLstatmodstringistringrvctrs

Readme and manuals

Help Manual

Help pageTopics
cdacda-package
alpha_barealpha_bare
alpha_dyealpha_dye
alpha_ellipsoidalpha_ellipsoid
alpha_kuwataalpha_kuwata Kuwata.A Kuwata.B
array factorarray_factor
cluster_arraycluster_array
cluster_ballcluster_ball
cluster_chaincluster_chain
cluster_dimercluster_dimer
cluster_helixcluster_helix
cluster_pumpkincluster_pumpkin
cluster_shellcluster_shell
cluster_singlecluster_single
depolarisationdepolarisation
dye_coveragedye_coverage
equal_anglesequal_angles
equal_sizesequal_sizes
Precomputed array factor for a square lattice at normal incidenceG0
Precomputed array factor for a square lattice at normal incidencegfun
helixhelix
quadrature_spherequadrature_sphere
rgl.ellipsoidrgl.ellipsoid
rgl.ellipsoidsrgl.ellipsoids
Generate a random sample of points on the unit spheresample_fibonacci sample_hc sample_landings sample_random
spectrum_dispersionspectrum_dispersion
spectrum_oaspectrum_oa
spheroid_arspheroid_ar
visualisevisualise