Skip to contents

Returns a dataframe with f' and f'' at various wavelengths for the specific chemical element.

Usage

load_anomalous_data(chem_el)

Arguments

chem_el

1- or 2-letters character string. The chemical symbol of interest.

Value

A dataframe with 3 columns, the specific wavelength in angstroms (lambda), f' (f1) and f'' (f2).

Examples

# Load anomalous data for Fe
ano_Fe <- load_anomalous_data("Fe")
print(ano_Fe[1:10,])
#>        lambda        f1        f2
#> 278 0.4979920 0.2563753 0.4381573
#> 277 0.5000000 0.2576380 0.4415328
#> 276 0.5020243 0.2589039 0.4449462
#> 275 0.5040650 0.2601728 0.4483981
#> 274 0.5061224 0.2615686 0.4518891
#> 273 0.5081967 0.2628444 0.4554200
#> 272 0.5102881 0.2641232 0.4589911
#> 271 0.5123967 0.2654049 0.4626029
#> 270 0.5145228 0.2666895 0.4662563
#> 269 0.5166667 0.2679769 0.4699518