Skip to content

Commit afd8652

Browse files
Fixed equation spacing
1 parent 618f9ce commit afd8652

File tree

1 file changed

+3
-1
lines changed
  • blog/2024/2024-10-30-generating-phase-functions-luts-with-mieplot

1 file changed

+3
-1
lines changed

blog/2024/2024-10-30-generating-phase-functions-luts-with-mieplot/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ while (file.peek() != EOF)
103103
```
104104
105105
Unfortunately, we aren't done yet. MiePlot's documentation states that the phase function is normalized to 4pi, so that integrating it as such will give the following result:
106+
106107
$$\frac{1}{4\pi} \int_{0}^{2\pi} \int_{0}^{\pi} f(\theta, \phi) \sin(\theta) \, d\theta \, d\phi = 1$$
108+
107109
However, when we numerically perform this integration ourselves, we get a very tiny result (around 1e-8). I don't know if this is caused by an error on my or MiePlot's part, but I do know a cheeky way to fix it.
108110
109111
![A sign that says "Warning: Engineering disguised as math](engineering_cropped_small.png)
@@ -247,4 +249,4 @@ Analytical phase functions:
247249

248250
https://cs.dartmouth.edu/~wjarosz/publications/dissertation/chapter4.pdf
249251

250-
https://www.desmos.com/calculator/thqhfqahfp
252+
https://www.desmos.com/calculator/thqhfqahfp

0 commit comments

Comments
 (0)