(*^ ::[ Information = "This is a Mathematica Notebook file. It contains ASCII text, and can be transferred by email, ftp, or other text-file transfer utility. It should be read or edited using a copy of Mathematica or MathReader. If you received this as email, use your mail application or copy/paste to save everything from the line containing (*^ down to the line containing ^*) into a plain text file. On some systems you may have to give the file a name ending with ".ma" to allow Mathematica to recognize it as a Notebook. The line below identifies what version of Mathematica created this file, but it can be opened using any other version as well."; FrontEndVersion = "Macintosh Mathematica Notebook Front End Version 2.2"; MacintoshStandardFontEncoding; fontset = title, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, bold, e8, 24, "Times"; fontset = subtitle, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, bold, e6, 18, "Times"; fontset = subsubtitle, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeTitle, center, M7, italic, e6, 14, "Times"; fontset = section, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, grayBox, M22, bold, a20, 18, "Times"; fontset = subsection, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, blackBox, M19, bold, a15, 14, "Times"; fontset = subsubsection, inactive, noPageBreakBelow, nohscroll, preserveAspect, groupLikeSection, whiteBox, M18, bold, a12, 12, "Times"; fontset = text, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = smalltext, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 10, "Times"; fontset = input, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeInput, M42, N23, bold, L-5, 12, "Courier"; fontset = output, output, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, L-5, 12, "Courier"; fontset = message, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, R65535, L-5, 12, "Courier"; fontset = print, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, L-5, 12, "Courier"; fontset = info, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeOutput, M42, N23, B65535, L-5, 12, "Courier"; fontset = postscript, PostScript, formatAsPostScript, output, inactive, noPageBreakInGroup, nowordwrap, preserveAspect, groupLikeGraphics, M7, l34, w282, h287, 12, "Courier"; fontset = name, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, italic, 10, "Geneva"; fontset = header, inactive, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = leftheader, inactive, L2, 12, "Times"; fontset = footer, inactive, noKeepOnOnePage, preserveAspect, center, M7, 12, "Times"; fontset = leftfooter, inactive, L2, 12, "Times"; fontset = help, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 10, "Times"; fontset = clipboard, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = completions, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special1, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special2, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special3, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special4, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; fontset = special5, inactive, nohscroll, noKeepOnOnePage, preserveAspect, M7, 12, "Times"; paletteColors = 128; automaticGrouping; currentKernel; ] :[font = title; inactive; preserveAspect; startGroup] Rayleigh_intensity.m :[font = section; inactive; preserveAspect; startGroup] The intensity of Rayleigh scattering as a function of scattering angle and polarization :[font = text; inactive; preserveAspect] In order to match a clear blue sky, which has a maximum polarization of around 80%, these formulae include an additional isotropic, unpolarized fraction, a. :[font = input; preserveAspect; startGroup] a=0.0625 :[font = output; output; inactive; preserveAspect; endGroup] 0.0625 ;[o] 0.0625 :[font = text; inactive; preserveAspect] Number of plot points for 3D plots :[font = input; preserveAspect; startGroup] pp=10 :[font = output; output; inactive; preserveAspect; endGroup] 10 ;[o] 10 :[font = subsection; inactive; preserveAspect; startGroup] Definition of the angle of scattering, b, as a function of the 'altitude' angle in the 3D plot :[font = input; preserveAspect; endGroup] b[u_]:= u-Pi/2 :[font = subsection; inactive; preserveAspect; startGroup] Scattered intensity :[font = text; inactive; preserveAspect] For the E-vector in the plane of the source, scatterer and observer, :[font = input; preserveAspect] scpar[u_]:= 0.5 Cos[b[u]]^2 :[font = input; preserveAspect; startGroup] Plot[scpar[u], {u,-Pi/2,Pi/2}] :[font = output; output; inactive; preserveAspect; endGroup; endGroup] Graphics["<<>>"] ;[o] -Graphics- :[font = subsection; inactive; preserveAspect; startGroup] 3D plots of the scattered intensity :[font = text; inactive; preserveAspect] For parallel polarization :[font = input; preserveAspect; startGroup] ParametricPlot3D[{ (a+scpar[u]) Sin[u], (a+scpar[u]) Cos[t] Cos[u], (a+scpar[u]) Sin[t] Cos[u]}, {t,-Pi/2,Pi/2}, {u,-Pi/2, Pi/2}, PlotPoints->pp, Axes -> True, AxesStyle -> Thickness[0.01]] :[font = output; output; inactive; preserveAspect; endGroup] Graphics3D["<<>>"] ;[o] -Graphics3D- :[font = text; inactive; preserveAspect] For perpendicular polarization :[font = input; preserveAspect; startGroup] ParametricPlot3D[{ (a+1)/2 Sin[u], (a+1)/2 Cos[t] Cos[u], (a+1)/2 Sin[t] Cos[u]}, {t,-Pi/2,Pi/2}, {u,-Pi/2, Pi/2}, PlotPoints->pp, Axes -> True, AxesStyle -> Thickness[0.01]] :[font = output; output; inactive; preserveAspect; endGroup] Graphics3D["<<>>"] ;[o] -Graphics3D- :[font = text; inactive; preserveAspect] The sum :[font = input; preserveAspect; startGroup] ParametricPlot3D[{ (0.5+a+scpar[u]) Sin[u], (0.5+a+scpar[u]) Cos[t] Cos[u], (0.5+a+scpar[u]) Sin[t] Cos[u]}, {t,-Pi/2,Pi/2}, {u,-Pi/2, Pi/2}, PlotPoints->pp, Axes -> True, AxesStyle -> Thickness[0.01]] :[font = output; output; inactive; preserveAspect; endGroup; endGroup] Graphics3D["<<>>"] ;[o] -Graphics3D- :[font = subsection; inactive; preserveAspect; startGroup] Fractional polarization :[font = input; preserveAspect] pray[u_]:= (0.5 - scpar[u])/(0.5 + 2a + scpar[u]) :[font = input; preserveAspect; startGroup] Plot[pray[u], {u,-Pi/2, Pi/2}] :[font = output; output; inactive; preserveAspect; endGroup] Graphics["<<>>"] ;[o] -Graphics- :[font = input; preserveAspect; startGroup] ParametricPlot3D[{ pray[u] Sin[u], pray[u] Cos[t] Cos[u], pray[u] Sin[t] Cos[u]}, {t,-Pi/2,Pi/2}, {u,-Pi/2, Pi/2}, PlotPoints->pp, Axes -> True, AxesStyle -> Thickness[0.01]] :[font = output; output; inactive; preserveAspect; endGroup; endGroup; endGroup; endGroup] Graphics3D["<<>>"] ;[o] -Graphics3D- ^*)