Package: terms 1.2.0

Baptiste Auguié

terms: T-matrix for Electromagnetic Radiation with Multiple Scatterers

A set of Fortran modules/routines for T-matrix-based calculations of light scattering by clusters of individual scatterers.

Authors:Dmitri Schebarchov [aut], Atefeh Fazel-Najafabadi [aut], Eric Le Ru [aut], Baptiste Auguié [aut, cre]

terms_1.2.0.tar.gz
terms_1.2.0.zip(r-4.7)terms_1.2.0.zip(r-4.6)terms_1.2.0.zip(r-4.5)
terms_1.2.0.tgz(r-4.6-any)terms_1.2.0.tgz(r-4.5-any)
terms_1.2.0.tar.gz(r-4.7-any)terms_1.2.0.tar.gz(r-4.6-any)
terms_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
terms/json (API)

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

Bug tracker:https://github.com/nano-optics/terms/issues

Pkgdown/docs site:https://nano-optics.ac.nz

On CRAN:

Conda:

lightscattering

6.50 score 9 stars 1.4k scripts 30 exports 40 dependencies

Last updated from:e6f1c9ef74. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE173
source / vignettesOK204
linux-release-x86_64NOTE169
macos-release-arm64NOTE119
macos-oldrel-arm64NOTE84
windows-develNOTE151
windows-releaseNOTE129
windows-oldrelNOTE143
wasm-releaseOK131

Exports:amat_to_tmatlistcluster_chaincluster_geometrycluster_helixcluster_positionscluster_satelliteconsolidate_partialsconsolidate_xsecdisplay_amatdisplay_prestageddisplay_tmatequal_anglesequal_sizeseuler_to_axisangleexport_cubatureexport_dielectricextract_timeget_geometryindicesp_indexread_amatread_tmatrotation_euler_activerotation_euler_passivesample_fibonaccistore_xsecsymmetric_rangeunpack_indicesvisualise_rglx3d_scene

Dependencies:biocmakeclicpp11cubsdielectricdir.expirydplyrfarverfilelockgenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6randtoolboxRColorBrewerrhdf5rhdf5filtersRhdf5librlangrngWELLS7scalesstatmodstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Keywords
Main input parameters | ModeAndScheme M S | Scatterers N | TmatrixFiles Nfiles | DielectricFunctions Nfuns | Medium X | Wavelength L1 [ L2 n ] | Incidence a b c [ p ] / [ na nb nc ] | MultipoleCutoff n1 [ n2 [ t ] ] | MultipoleSelections Ns | Output control | OutputFormat F [ filename ] | Verbosity L | Near-field specific keywords | SpacePoints filename | MapQuantity [p] [E] [B] [C] | MapOaQuantity [p] | Polarimetry keywords | ScatteringAngles a b c / [ na nb nc ] | Advanced use / development | ScattererCentredCrossSections | DumpCollectiveTmatrix [ filename ] | DumpPrestagedA | DumpStagedA | DumpScaCoeff | DumpIncCoeff | DisableStoutBalancing | DisableRTR

Last update: 2026-04-30
Started: 2021-11-22

Indexing conventions
Single particle T-matrix | Multi-particle matrices

Last update: 2023-12-05
Started: 2021-11-22

Code organisation
Main program termsProgram | multiscat module | miet module | swav module | sphmsv module | linalg module | eps module | HDFfive module

Last update: 2022-02-23
Started: 2022-02-23

Brief theory
Homogeneous Helmholtz equation | Scalar and vector spherical waves | Linear superposition approach and the T-matrix ansatz | Transformation under rotation/translation of coordinates | Rotation | Translation | Factorized translation (involving rotation) | Multiple scattering | Formulating the problem | From linearity and imposition of appropriate boundary conditions, again, the excitation coefficients $\rbc^ | \begin | T-matrix constructions for $N$ scatterers | \begin | Calculation of optical cross-sections and activity | Convergence, truncation, and error propagation | Solution schemes | Stout's recursive scheme with matrix balancing | Mackowski and Mishchenko's scheme

Last update: 2022-02-07
Started: 2021-11-22

TODO
New core features | User level | Code optimisation

Last update: 2022-02-07
Started: 2021-11-22

Readme and manuals

Help Manual

Help pageTopics
Clusters of particlescluster_chain cluster_helix cluster_positions cluster_satellite
Utility functionsamat_to_tmatlist cluster_geometry display_amat display_prestaged display_tmat equal_angles equal_sizes euler_to_axisangle export_cubature export_dielectric get_geometry indices p_index read_amat read_tmat rotation_euler_active rotation_euler_passive symmetric_range unpack_indices visualise_rgl
Extract timings from log filesextract_time
sample_fibonaccisample_fibonacci
Reshape cross-section results into a convenient format for post-processing and plottingconsolidate_partials consolidate_xsec store_xsec
Interactive display of cluster geometriesx3d_scene