Calculating non-dielectric reflectance without using complex numbers

In summary: Just a point of discussion forum etiquette -- it's usally best to post a follow up reply with the corrections. Editing your OP after issues have been pointed out confuses all who read the thread afterward (since the issues are not there in your OP anymore). :smile:...
  • #1
kaasisdebaas
4
0
TL;DR Summary
I need a to calculate the fresnel reflection ratio of a non dielectric material given the incident angle, the refractive indexes of the incident and interfacing materials and the extinction coefficient of the interfacing material. I need to to this without directly using complex numbers.
I need a to calculate the fresnel reflection ratio of a non dielectric material given the incident angle, the refractive indexes of the incident and interfacing materials and the extinction coefficient of the interfacing material. I need to to this without directly using complex numbers, due to limitations of the software i am using.

I do not have a physics background, but here is what i have been able to figure out so far.

given
incident angle θi in radians
incident IOR n1
interfacing IOR n2
and interfacing extinction coefficient k

I calculate the transmissive angle using snells law
1.png

Then using the fresnel equations I calculate the effective reflectance

2.png

3.png

4.png


this gives me this graph for a air to glass interface which looks correct
5.png


this works for dielectric materials that have a neglectable extinction coefficient, but for metals i need to extend the formulas i have. all the reference i can find extends the IOR with an imaginary component that handles the extinction coefficient, the problem is the graphic software im using does not allow complex numbers, so i need some way to extend the formulas i have using real numbers only.

the only reference i was able to find is this page https://seblagarde.wordpress.com/2013/04/29/memo-on-fresnel-equations/#more-1921
the code on that page is avoiding the use of complex numbers but i am unable to make heads or tails of what is actually happening here.
To be clear this is not the software im working in, this is just an example of an intergration that seems to not use complex numbers directly. I am just looking for the equations that describe it

any help intergrating the extinction coefficient into the existing formulas above is appreciated, thanks!
 
Last edited:
Physics news on Phys.org
  • #2
Introducing imaginary number is helpful for calculation and we get real results we need at the end. I observe it in the page you refer.
 
  • #3
anuttarasammyak said:
Introducing imaginary number is helpful for calculation and we get real results we need at the end. I observe it in the page you refer.
right, I understand that it is usefull, however the software i need this to work in does not allow for complex or imaginairy numbers, hence the question.
 
  • #4
kaasisdebaas said:
.... the only reference i was able to find is this page https://seblagarde.wordpress.com/2013/04/29/memo-on-fresnel-equations/#more-1921
the code on that page is avoiding the use of complex numbers but i am unable to make heads or tails of what is actually happening here.
I suspect that a "float3" structure is made from three floating-point real numbers. Those three values .x, .y, and .z, define a 3D point, or a vector in 3D space.

Before I could expand the float3 functions needed into 1D real arithmetic, I would need a reference to the float3 structure and library.
https://learn.microsoft.com/en-us/windows/win32/numerics_h/float3-structure

It may be easier to import the float3 library, then refer to the elements using the .x, .y or .z components, which are real numbers.
 
  • #5
Baluncore said:
I suspect that a "float3" structure is made from three floating-point real numbers. Those three values .x, .y, and .z, define a 3D point, or a vector in 3D space.

Before I could expand the float3 functions needed into 1D real arithmetic, I would need a reference to the float3 structure and library.
https://learn.microsoft.com/en-us/windows/win32/numerics_h/float3-structure

It may be easier to import the float3 library, then refer to the elements using the .x, .y or .z components, which are real numbers.
I edited the original post, cause there seems to be some confusion, this is not the software in using, its only an example i found that seems to not directly use complex numbers in its intergration.
 
  • #6
kaasisdebaas said:
I edited the original post, cause there seems to be some confusion,
Just a point of discussion forum etiquette -- it's usally best to post a follow up reply with the corrections. Editing your OP after issues have been pointed out confuses all who read the thread afterward (since the issues are not there in your OP anymore). :smile:
 
  • #7
kaasisdebaas said:
... this works for dielectric materials that have a neglectable extinction coefficient, but for metals i need to extend the formulas i have. all the reference i can find extends the IOR with an imaginary component that handles the extinction coefficient, the problem is the graphic software im using does not allow complex numbers, so i need some way to extend the formulas i have using real numbers only.
Then you need to give us a copy of the code with the imaginary component using complex numbers. We can then expand that out into real arithmetic for you.
 

FAQ: Calculating non-dielectric reflectance without using complex numbers

What is non-dielectric reflectance?

Non-dielectric reflectance refers to the reflection of light from a material that does not have dielectric properties, meaning it is typically a metal or a conductor. These materials have free electrons that interact with the incident light, leading to different reflective behaviors compared to dielectric materials.

Why avoid using complex numbers in calculating non-dielectric reflectance?

Complex numbers are often used in optics to represent the phase and amplitude of electromagnetic waves. However, avoiding complex numbers can simplify calculations and make the concepts more accessible to those less familiar with complex mathematics. It can also be useful in computational methods where real-number calculations are preferred for efficiency.

What are the basic principles behind calculating reflectance without complex numbers?

Calculating reflectance without complex numbers involves using real-number approximations and simplifications of the Fresnel equations. This typically involves focusing on the real part of the refractive index and using empirical or semi-empirical formulas to estimate reflectance based on known material properties and incident angles.

How can Snell's Law be applied in non-dielectric reflectance calculations?

Snell's Law, which describes the relationship between the angles of incidence and refraction, can still be applied by considering only the real parts of the refractive indices. This helps to determine the angles at which light is transmitted and reflected at the interface between two media, which is essential for calculating reflectance.

Are there any limitations to calculating non-dielectric reflectance without complex numbers?

Yes, there are limitations. Simplifying the calculations by avoiding complex numbers can lead to less accurate results, especially for materials with significant imaginary components in their refractive indices. This approach may fail to account for phase shifts and other phenomena that are naturally described using complex numbers, leading to potential inaccuracies in the reflectance values.

Similar threads

Back
Top