Python script to calculate anisotropic absorption coefficient and reflectivity as a function of incident light energy