PieterTack / polycap

Polycapillary X-ray raytracing
GNU General Public License v3.0
3 stars 3 forks source link

refractivity support #43

Open PieterTack opened 5 years ago

PieterTack commented 5 years ago

Include calculation of angle of refraction when travelling from one medium to another. This would in time be useful for simulating refractive optics (e.g. Fresnel Zone Plates) (currently the angle of refraction is considered equal to the angle of reflection)

PieterTack commented 5 years ago

Use Snell's law: n1sin(theta_incidence) = n2sin(theta_refract)