Welcome to ClientVPS Mirrors

README

mnpPlasmonR

R package for optical response of metallic nanoparticles using Drude dielectric model and Rayleigh approximation.

Install from source

install.packages("mnpPlasmonR_0.1.0.tar.gz", repos = NULL, type = "source")

Example

library(mnpPlasmonR)

resp <- sphere_response(
  wavelength_nm = 550,
  radius_nm = 25,
  material = "Au",
  medium_refractive_index = 1.0
)

resp$sigma_ext
resp$sigma_sca
resp$sigma_abs

Physical model (plain text)

Drude dielectric function:

epsilon(omega) = epsilon_inf - (omega_p^2) / (omega * (omega + i*gamma))

Rayleigh polarizability:

alpha(omega) = 4pia^3 * (epsilon_p(omega) - epsilon_m) / (epsilon_p(omega) + 2*epsilon_m)

Cross-sections:

sigma_ext = (4pi/k) Im(alpha) sigma_sca = (k^4/(6pi)) |alpha|^2 sigma_abs = sigma_ext - sigma_sca

CRAN submission

This repository provides CI checks and source tarball generation. CRAN upload is done manually via:

https://cran.r-project.org/submit.html

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.