Skip to contents

A collection of refractive-index spectra for some materials.

Usage

refractive_index.mspct

Format

A "generic_mspct" object containing multiple "generic_spct" objects.

Details

The "generic_mspct" object contains "generic_spct" objects with refractive index data.

The variables in each member spectrum are as follows:

  • w.length (nm)

  • n

  • k

Note

Data labeled "for unrestricted use" originate from the Filmmetrics Refractive Index Database at https://www.filmetrics.com/refractive-index-database where primary sources are provided. The names in refractive_index.mspct are the same as in the downloaded files, except for the `.txt` tag.

Examples

length(refractive_index.mspct)
#> [1] 17
names(refractive_index.mspct)
#>  [1] "Ag"     "air"    "Al"     "Au"     "Cr"     "Cu"     "Ge"     "NBAF10"
#>  [9] "NBK7"   "Ni"     "PC"     "PET"    "PMMA"   "PS"     "PVC"    "Ti"    
#> [17] "water" 
refractive_index.mspct$PMMA # acrylic or Plexiglas
#> Object: generic_spct [101 x 2]
#> Wavelength range 436.8-1052 nm, step 6-7 nm 
#> Label: Refractive index (n) for  PMMA 
#> Variables:
#>   
#> --
#> # A tibble: 101 × 2
#>    w.length     n
#>       <dbl> <dbl>
#>  1     437.  1.50
#>  2     443   1.50
#>  3     449.  1.50
#>  4     455.  1.50
#>  5     461.  1.50
#>  6     468.  1.50
#>  7     474.  1.50
#>  8     480.  1.50
#>  9     486   1.50
#> 10     492.  1.50
#> # ℹ 91 more rows
refractive_index.mspct[["PMMA"]]
#> Object: generic_spct [101 x 2]
#> Wavelength range 436.8-1052 nm, step 6-7 nm 
#> Label: Refractive index (n) for  PMMA 
#> Variables:
#>   
#> --
#> # A tibble: 101 × 2
#>    w.length     n
#>       <dbl> <dbl>
#>  1     437.  1.50
#>  2     443   1.50
#>  3     449.  1.50
#>  4     455.  1.50
#>  5     461.  1.50
#>  6     468.  1.50
#>  7     474.  1.50
#>  8     480.  1.50
#>  9     486   1.50
#> 10     492.  1.50
#> # ℹ 91 more rows

# Compute spectral reflectance for an interface between acrylic and air
# incidence angle of colimated light 60 degrees away from the normal.
Rfr_from_n(angle_deg = 60, n = refractive_index.mspct[["PMMA"]])
#> Object: reflector_spct [101 x 2]
#> Wavelength range 436.8-1052 nm, step 6-7 nm 
#> Variables:
#>  w.length: Wavelength [nm]
#>  Rfr: Total spectral reflectance [/1] 
#> --
#> # A tibble: 101 × 2
#>    w.length    Rfr
#>       <dbl>  <dbl>
#>  1     437. 0.0895
#>  2     443  0.0894
#>  3     449. 0.0893
#>  4     455. 0.0892
#>  5     461. 0.0891
#>  6     468. 0.0890
#>  7     474. 0.0889
#>  8     480. 0.0888
#>  9     486  0.0887
#> 10     492. 0.0886
#> # ℹ 91 more rows