.claude/skills/complex-refractive-index-relations/SKILL.md
Convert between complex dielectric function components (ε₁, ε₂) and optical constants (refractive index nᵣ, extinction coefficient κ) for absorbing media. Use when analyzing optical properties of semiconductors or materials with absorption/damping.
npx skillsauth add ShaneLogic/SolarLab complex-refractive-index-relationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The complex dielectric function ε = ε₁ + iε₂ is related to optical constants:
ε₁ = nᵣ² - κ²
ε₂ = 2 × nᵣ × κ
Where:
ε₁ = Real part of complex dielectric functionε₂ = Imaginary part of complex dielectric functionnᵣ = Refractive indexκ (kappa) = Extinction coefficientTo solve for nᵣ and κ given ε₁ and ε₂:
nᵣ = √[(|ε| + ε₁) / 2]
κ = √[(|ε| - ε₁) / 2]
where |ε| = √(ε₁² + ε₂²)
| Symbol | Description | Type | |--------|-------------|------| | ε₁ | Real part of complex dielectric function | real | | ε₂ | Imaginary part of complex dielectric function | real | | nᵣ | Refractive index | real | | κ | Extinction coefficient | real |
development
Understand and comply with Driftfusion software licensing terms, including the open-source AGPL v3.0 frontend and proprietary MATLAB pdepe solver backend. Use when using, modifying, or distributing Driftfusion code.
development
Initialize the Driftfusion simulation environment and create parameter objects. Use this skill when starting a new MATLAB session or setting up device properties for simulation.
development
Define device layer structure, configure spatial and time meshes, and build device structures with interface grading. Use this skill when setting up the physical geometry and discretization of a simulation device.
research
Analyze simulation solutions, calculate physical quantities, and generate plots. Use this skill when processing completed simulations, extracting currents/densities, or visualizing results.