lsurf.materials.create_cauchy_material
- lsurf.materials.create_cauchy_material(name, A, B, C=0.0, absorption_coef=0.0)[source]
Create a material with Cauchy dispersion.
- Parameters:
- Returns:
material – Material with wavelength-dependent refractive index.
- Return type:
Examples
>>> # Create simple glass with Cauchy dispersion >>> glass = create_cauchy_material("Glass", A=1.52, B=0.004)