snells_law_scalar#

optika.materials.snells_law_scalar(cos_incidence, index_refraction, index_refraction_new)[source]#

A simple form of Snell’s law which computes the cosine of the angle between the propagation direction inside the new medium and the interface normal.

Parameters:
  • cos_incidence (float | AbstractScalar) – The cosine of the incidence angle (the angle between the propagation direction and the interface normal.)

  • index_refraction (float | AbstractScalar) – The index of refraction in the current medium.

  • index_refraction_new (float | AbstractScalar) – The index of refraction in the new medium.

Return type:

AbstractScalar