Questions tagged [optics]

Questions on the use of Mathematica to model light propagation and interaction with matter. This tag should be used for questions specifically related to the physics of light--problems dealing with ray-tracing, radiative transfer, lens equations, and electromagnetic field equations all belong here.

23 questions
Filter by
Sorted by
Tagged with
57 views

Deriving Expressions for R1, R2, and R12 , Normalized Coincident Detection Probability, and LG Mode Formalism

I am currently reviewing a research paper on orbital angular momentum entanglement between two photons (signal and idler) generated from a pump photon via SPDC. The paper introduces the following ...
• 45
73 views

How to preserve my constants

\[Sigma] = Constant a = Constant b = Constant \[Epsilon] = Constant T[x_] := (\[Sigma]/(2*\[Epsilon]))[a/(a^2 + x^2)^(1/2) - b/(b^2 + x^2)^(1/2)] In mathematica ...
126 views

Nonlinear Differential Equation (Nonlinear Helmholtz) - How to solve?

I am relatively new to Mathematica, but I know that it is a powerful tool. I am looking to solve a nonlinear equation that could be seen in nonlinear optics. I have tried in MATLAB, but was struggling ...
489 views

Finding shadow area of a 3D object

Given a 3D object, how could one find the area of the shadow? In effect, this is a measure of optical cross section. The ultimate goal would be a table showing latitude, longitude, and, optical cross ...
• 1,070
1 vote
57 views

How to solve an Integral analytically using a predefined definition for Besselfunctions (phi part of angular spectrum representation)

I'd like to use mathematica to calculate an Integral that is dependent on phi and theta (to obtain the intensity distribution of a tightly focused TEM20 mode using the angular spectrum representation)....
• 21
1 vote
143 views

Parabolic Mirror - proving focal length

I would like to prove that there is a focal length in the parabolic mirror. I wrote script, but it's not working, can you guys see what I did wrong? ...
• 115
2k views

I have a data set of intensities and corresponding wavelengths. I want to fit it to the Planck black body radiation curve so that I can estimate the temperature for the given data . I have used the ...
• 111
4k views

Circular Aperture Diffraction Pattern

I am unsure if this is even possible in Mathematica, but my optics professor assigned a project to me on circular apertures and Fourier transforms. I have found plenty on the Airy function, but I am ...
421 views

single slit diffraction numerical simulation

I'm trying to simulate the Fraunhoffer diffraction at slits(single,double,triple) with Mathematica. In the picture, the red one is analytical result and the green one is numerical result. The ...
• 441
686 views

Computation of a Fresnel Diffraction pattern with Discrete Hankel Transform

In the next link: Computation of Hankel Transform using FFT (Fourier) Rainer implemented a great solution given in the next reference: Manuel Guizar-Sicairos and Julio C. Gutiérrez-Vega, "Computation ...
• 31
150 views

How to do the Fourier transform of a picture? [duplicate]

I want to generate Fourier transforms of a picture. the transform can represent the diffraction pattern of the picture. Basically, if I have a picture. Then, the result should look like this: For a ...
• 929
1 vote
785 views

Optics Diffraction Grating Plot [closed]

I was unsure whether to post this in physics stackexchange or mathematica stackexchange, so I posted it in both. I'm trying make an intensity plot for a diffraction grating that contains 100 lines/mm....
• 83
159 views

Adding extinction factor to Monte Carlo analysis

I'm looking to add an absorption component to this Monte Carlo analysis, essentially I want there to be a 1% chance that a photon gets absorbed at each event as it travels through the medium, once the ...
• 153
1 vote
171 views

Change in direction when a line hits an ellipse? [duplicate]

I'm trying to simulate reflecting light off an elliptical mirror. I currently store the ellipse in the form {center,{radii},rotationAngle} and the ray of light is ...
• 2,219
1 vote
465 views

Numerically solving a 2D oscillating integral [closed]

I'm having trouble solving this integral numerically: ...
• 11
658 views

How to improve visualisation of trajectories in 3D space

I have a list of trajectories from a bunch of photons that travel inside a scattering medium. Each trajectory is a list of $(x,y,z)$ pairs. I'd like to visualise them in 3D space. I came up with the ...
• 3,054
2k views

Is this the most effective and efficient programming style for prototyping (a ray tracer) in Mathematica?

I am trying out Mathematica as a prototyping tool. As an initial exercise I have put together a brute force ray tracer, with a view to using Mathematica's built in probability distribution functions ...
• 771
1 vote
316 views

Export Graphics using Move in Optica

I am modeling an eye and am using TurboPlot and DrawSystem. I would like to export the graph, but using the ...
514 views

Volumetric Rendering of cylinder symmetric radial image

I would like to render a cylinder symmetric radial cross-section with Image3D. As an example one could use the propagation of a Bessel Beam through a Lens: Here the cylinder axis is the bottom of the ...
• 2,931
7k views

Computation of Hankel Transform using FFT (Fourier)

To address circularly symmetric cases of 2-D Fourier Transformations, the so-called Hankel Transform can be applied (for a detailed derivation of the relation between the 2-D Fourier transform and the ...
• 2,931
552 views

Finding resolution of an optical system using Rayleigh criterion

I want to use the Rayleigh criterion to find the resolution of an optical system. I have two functions f1 = Sinc[x]^2 and ...
3k views

How can I create a glass distortion effect in an image?

I'd like to overlay a glass jar onto an image with realistic light bending. Can anyone think of a way to automate this effect? Perhaps this can be done with the raytracing package Rayica / Optica?
• 31.6k