Commit 1bf89d86 authored by Kaj Wiik's avatar Kaj Wiik
Browse files

Cleanup

parent 84f0fdbd
Pipeline #394 skipped
2.57340969e-02 2.58429171e-02 2.63349269e-02 2.65515999e-02 2.63119969e-02 2.67531286e-02 2.68601168e-02 2.75949371e-02 2.78925495e-02 2.73768291e-02 2.71668653e-02 2.75473435e-02 2.76675565e-02 2.74205191e-02 2.75234291e-02 2.69282710e-02 2.70981274e-02 2.71090777e-02 2.80490146e-02 2.70621686e-02 2.78505555e-02 2.77476722e-02 2.81298742e-02 2.78187222e-02 2.78864235e-02 2.78999979e-02 2.80875963e-02 2.77801670e-02 2.76149963e-02 2.78559281e-02 2.72958190e-02 2.77297755e-02 2.76585275e-02 2.76791037e-02 2.69644221e-02 2.63811953e-02 2.64807380e-02 2.58580620e-02 2.61043676e-02 2.55090689e-02 2.58001082e-02 2.52587724e-02 2.54473386e-02 2.44025003e-02 2.39329310e-02 2.35374271e-02 2.33197148e-02 2.30244805e-02 2.24100263e-02 2.23805567e-02 2.18731870e-02 2.26866256e-02 2.27827221e-02 2.25955984e-02 2.20524952e-02 2.20455340e-02 2.19175218e-02 2.20170859e-02 2.25065553e-02 2.33172381e-02 2.29459185e-02 2.33208784e-02 2.29026348e-02 2.36102221e-02 2.26977197e-02 2.37375939e-02 2.39497969e-02 2.52274661e-02 2.50898527e-02 2.55388226e-02 2.55664597e-02 2.62828239e-02 2.65861071e-02 2.66762266e-02 2.74930690e-02 2.66422419e-02 2.79026560e-02 2.69897467e-02 2.75703313e-02 2.71967245e-02 2.70522890e-02 2.78692868e-02 2.81259106e-02 2.86136096e-02 2.81993901e-02 2.87830947e-02 2.79690954e-02 2.83261910e-02 2.76708101e-02 2.77509964e-02 2.74735411e-02 2.71531598e-02 2.70987382e-02 2.70104535e-02 2.73731724e-02 2.71578503e-02 2.72704453e-02 2.67686249e-02 2.72077384e-02 2.64372204e-02 2.67918809e-02 2.63663631e-02 2.66975283e-02 2.67759030e-02 2.72159586e-02 2.70207152e-02 2.70640241e-02 2.71670486e-02 2.73913101e-02 2.68413665e-02 2.72417441e-02 2.65186673e-02 2.69806156e-02 2.67949922e-02 2.66657883e-02 2.66021946e-02 2.68194530e-02 2.63723160e-02 2.68401444e-02 2.64442346e-02 2.63852155e-02 2.61536687e-02 2.61972736e-02 2.54344529e-02
function müller_rec(::Linear; ϵ = 0.0, ϕ = 0.0, ΔG = 1.0, δα = 0.0, ψ = 0.0, s = +)
± = s(1.0)
= -±
return [1 *ΔG/2 2ϵ*cos(ϕ) 2ϵ*sin(ϕ)
ΔG/2 ± 0 ±*2δα
2ϵ*cos(ϕ + ψ) ±*2δα*sin(ψ) cos(ψ) *sin(ψ)
2ϵ*sin(ϕ + ψ) *2δα*cos(ψ) sin(ψ) ±*cos(ψ)]
end
function müller_rec(::Circular; ϵ = 0.0, ϕ = 0.0, ΔG = 1.0, δα = 0.0, ψ = 0.0, s = +)
± = s(1.0)
= -±
return [1 *2ϵ*sin(ϕ) 2ϵ*cos(ϕ) ±*ΔG/2
ΔG/2 *2δα 0 ±
2ϵ*cos(ϕ + ψ) ±*sin(ψ) cos(ψ) ±*2δα*sin(ψ)
2ϵ*sin(ϕ + ψ) *cos(ψ) sin(ψ) *2δα*cos(ψ)]
end
function müller_sky(PAaz)
cpa = cos(2*PAaz)
spa = sin(2*PAaz)
return [1 0 0 0
0 cpa spa 0
0 -spa cpa 0
0 0 0 1]
end
function müller_rec(::Linear, ϵ, ϕ, ΔG, δα, ψ, ±)
∓ = -±
return [1 ∓*ΔG/2 2ϵ*cos(ϕ) 2ϵ*sin(ϕ)
ΔG/2 ± 0 ±*2δα
2ϵ*cos(ϕ + ψ) ±*2δα*sin(ψ) cos(ψ) ∓*sin(ψ)
2ϵ*sin(ϕ + ψ) ∓*2δα*cos(ψ) sin(ψ) ±*cos(ψ)]
end
function müller_rec(::Circular, ϵ, ϕ, ΔG, δα, ψ, ±)
∓ = -±
return [1 ∓*2ϵ*sin(ϕ) 2ϵ*cos(ϕ) ±*ΔG/2
ΔG/2 ∓*2δα 0 ±
2ϵ*cos(ϕ + ψ) ±*sin(ψ) cos(ψ) ±*2δα*sin(ψ)
2ϵ*sin(ϕ + ψ) ∓*cos(ψ) sin(ψ) ∓*2δα*cos(ψ)]
end
function müller_sky(PAaz)
cpa = cos(2*PAaz)
spa = sin(2*PAaz)
return [1 0 0 0
0 cpa spa 0
0 -spa cpa 0
0 0 0 1]
end
-62.99610824 -63.23779654 -63.47384802 -63.70373876 -63.92984905 -64.14966285 -64.36452056 -64.88419592 -65.07937831 -65.26816238 -65.45120502 -65.62792962 -65.79815586 -65.96168737 -66.34554262 -66.48438395 -66.61529768 -66.73846891 -66.85204203 -66.95736298 -67.05248992 -67.25132524 -67.30983861 -67.3567433 -67.39096648 -67.41208444 -67.4190116 -67.4108045 -67.31302187 -67.24156844 -67.1484233 -67.03243483 -66.89174306 -66.72463854 -66.52765325 -65.86032727 -65.53382144 -65.16272377 -64.74045838 -64.25986131 -63.7098769 -63.09645719 -61.03533177 -60.06503553 -57.69010339 -56.2636781 -54.62589307 -52.74761898 -46.13848569 -42.94083441 -39.25846324 -34.99442518 -30.122091 -24.5898853 -18.3562625 1.07858927 15.43336382 21.92665915 27.78521411 37.52618591 47.08022302 49.72133085 51.99216507 53.98032292 55.71081125 57.22665849 58.54485292 61.32148561 62.14527435 62.87471427 63.51573037 64.08372153 64.58653687 65.03096804 65.94683303 66.22350151 66.46250044 66.66835933 66.84433558 66.99284939 67.11605648 67.32837823 67.37581673 67.40534199 67.41821469 67.41565639 67.39869793 67.36827252 67.23507545 67.16238504 67.07950632 66.98624312 66.883618 66.77186868 66.65217685 66.31116566 66.16322504 66.0073344 65.84576165 65.67670133 65.50141445 65.32052012 64.83714595 64.63517366 64.42752118 64.21476477 63.99609498 63.77205701 63.5427369 62.94655607 62.69984085 62.447612 62.19044214 61.92893541 61.66258327 61.39141583 60.69135898 60.40286357 60.11024403 59.81289346 59.51081437 59.20400575 58.89246264 58.09353187
\ No newline at end of file
-9.94699351e-04 -9.50405043e-04 -9.99314370e-04 -9.83974340e-04 -1.09516229e-03 -1.01394319e-03 -1.00067869e-03 -9.19167420e-04 -9.03323505e-04 -1.09188918e-03 -1.06175628e-03 -9.92386886e-04 -1.04397126e-03 -9.66333339e-04 -1.02267265e-03 -1.02325156e-03 -9.88829131e-04 -9.38043176e-04 -1.03910110e-03 -9.59681061e-04 -1.01572458e-03 -9.64228313e-04 -9.61043276e-04 -9.80610505e-04 -9.96808857e-04 -1.00650720e-03 -1.00398632e-03 -1.00884846e-03 -9.51181893e-04 -1.00183733e-03 -9.56251415e-04 -9.73854562e-04 -9.26935317e-04 -9.40410550e-04 -9.52376763e-04 -9.48163761e-04 -9.08544917e-04 -8.89121817e-04 -9.22834097e-04 -8.73079616e-04 -9.38243784e-04 -8.78198530e-04 -8.99729059e-04 -8.75348553e-04 -8.63433608e-04 -9.01883420e-04 -9.13975243e-04 -8.78006146e-04 -6.55068908e-04 -6.12043168e-04 -4.97757790e-04 -4.66835255e-04 -3.05901545e-04 -1.60031190e-04 2.34227493e-06 7.41930433e-04 9.41318349e-04 1.06486854e-03 1.11988258e-03 1.12167279e-03 9.05560971e-04 8.35780241e-04 7.94376764e-04 7.40243963e-04 6.52604806e-04 5.73981197e-04 5.92429361e-04 3.88675770e-04 4.41170906e-04 3.84761749e-04 3.15989072e-04 3.60001074e-04 2.57213041e-04 3.28825807e-04 2.46896419e-04 2.26008500e-04 2.28136690e-04 2.33462431e-04 2.14787527e-04 1.99114047e-04 1.74114331e-04 1.65850481e-04 2.10979278e-04 1.76652636e-04 5.48278294e-05 1.81414522e-04 1.79001563e-04 2.05984653e-04 2.36253988e-04 1.67310645e-04 1.79553039e-04 1.67557667e-04 2.27143136e-04 2.03452776e-04 1.77393303e-04 2.05317609e-04 1.61346489e-04 2.11300305e-04 2.40925302e-04 2.42302856e-04 2.16694992e-04 2.24172208e-04 2.55316626e-04 2.39545314e-04 3.10035918e-04 2.83779132e-04 3.04961678e-04 2.67014991e-04 2.84048991e-04 2.93428304e-04 3.34226384e-04 2.63463122e-04 3.51844633e-04 3.73871167e-04 3.98221752e-04 3.88285380e-04 3.77766264e-04 3.64189029e-04 4.19124886e-04 3.88979554e-04 3.92603703e-04 3.58823868e-04 3.80670696e-04 3.81162014e-04
using Plots
pa = readdlm("pa")
pa = reshape(pa', length(pa))
i = readdlm("i")
i = reshape(i', length(i))
q = readdlm("q")
q = reshape(q', length(q))
u = readdlm("u")
u = reshape(u', length(u))
v = readdlm("v")
v = reshape(v', length(v))
plot(pa,i)
-1.24437880e-04 -2.40274677e-05 -1.04142587e-04 -6.44441429e-05
-9.89773508e-05 -7.42573540e-05 -4.98223849e-05 -7.14283511e-05
-1.18048142e-05 -3.19112302e-06 -5.11420702e-06 3.84888070e-06
-3.88414277e-06 -6.12402933e-05 2.04021244e-05 -6.20786957e-05
-3.81501466e-05 -6.39034698e-05 1.67652274e-05 -3.46267462e-05
-5.88397242e-05 -7.41340584e-05 1.17681057e-05 1.09836384e-05
1.93354691e-06 -3.12099110e-06 2.18997628e-05 8.34795821e-05
1.83525341e-05 2.93054236e-05 -3.71849512e-05 4.27715584e-05
-6.19904945e-05 1.70855362e-05 -6.42941935e-05 -3.05366857e-05
-7.12423264e-05 -7.69013142e-05 -3.43477272e-05 -1.32006104e-04
-8.85766035e-05 -1.62027981e-04 -7.92632785e-05 -1.67459123e-04
-2.26463121e-04 -2.52410288e-04 -2.90305160e-04 -3.45390923e-04
-5.24567001e-04 -6.15121501e-04 -6.47407957e-04 -7.28716903e-04
-7.85987458e-04 -7.62822912e-04 -7.45451360e-04 -6.39341741e-04
-2.96595189e-04 -9.36364597e-05 -8.17077472e-06 2.26012278e-04
4.36087710e-04 4.52340739e-04 4.61681494e-04 4.98580072e-04
5.11308857e-04 5.39137180e-04 5.32395977e-04 6.74696326e-04
6.40268767e-04 6.32655032e-04 6.26269821e-04 6.22047233e-04
6.77881618e-04 6.73802032e-04 7.15186975e-04 6.32769342e-04
6.89122383e-04 7.04785551e-04 6.85516726e-04 6.48401840e-04
6.89227734e-04 6.71967100e-04 6.93200154e-04 7.19839806e-04
7.20064034e-04 7.40765133e-04 7.14891259e-04 7.41711956e-04
6.97825036e-04 7.19976456e-04 6.90972620e-04 6.70837423e-04
6.71521369e-04 6.75282836e-04 6.66827892e-04 7.03640334e-04
7.04905788e-04 6.96584989e-04 7.03685020e-04 7.00683257e-04
7.20731976e-04 6.36297302e-04 7.71046513e-04 7.72901720e-04
7.86259159e-04 7.80741660e-04 7.78967033e-04 7.44620257e-04
8.26977868e-04 8.01554439e-04 8.07370366e-04 8.06980677e-04
8.03343650e-04 7.46709392e-04 8.30167851e-04 8.09241094e-04
9.25603384e-04 8.28335513e-04 8.67324754e-04 8.35756589e-04
8.57048622e-04 9.22374509e-04 8.80824156e-04 8.32014078e-04
-1.65755768e-04 3.26625361e-05 -1.96725890e-04 -1.86875486e-04
-7.52887901e-05 -1.58631281e-04 -1.85311012e-04 -4.75426534e-04
-2.68792192e-04 1.66351058e-04 4.95348325e-04 -2.54711504e-06
2.49601103e-04 -4.33167080e-06 -4.49110956e-06 4.78071580e-04
4.52498025e-04 2.32052214e-04 8.32350903e-05 1.13311049e-05
2.53681110e-05 -2.21828442e-04 2.32773772e-04 2.27061895e-04
1.59799776e-04 1.25275196e-04 1.32967807e-04 4.85311839e-04
7.28043082e-05 1.91558298e-04 2.14045291e-04 3.10385945e-05
-8.07364783e-05 -6.86586442e-06 -2.26932783e-04 -1.39613241e-04
-3.56352052e-04 -2.32318098e-04 -5.37750979e-05 -1.30004690e-05
-1.34072986e-04 1.32644371e-04 3.97878053e-04 3.59464160e-04
5.85604457e-04 8.07750863e-04 6.57358870e-04 5.26248877e-04
2.49399088e-04 1.83391128e-04 2.32086250e-04 1.58173820e-04
1.96655913e-04 1.10794915e-04 2.74275186e-04 3.38465935e-04
4.00059640e-04 3.11866203e-04 5.26307005e-05 -2.21724750e-04
1.50562675e-04 1.03447370e-04 7.36178455e-05 9.81593965e-05
2.21993496e-04 3.03895436e-04 2.44642035e-04 2.59282340e-04
2.61488647e-04 3.23560404e-04 2.46688582e-04 -1.88738185e-04
1.21212421e-04 -9.21214029e-05 -1.73485855e-04 -5.29817699e-05
-3.02502525e-04 -1.79292180e-04 4.41745811e-05 -2.79246721e-05
-1.47457524e-04 -1.07736420e-04 -7.42782968e-05 -2.43642788e-04
-1.95183148e-04 8.79319810e-05 2.53548749e-04 5.42386181e-04
2.78102401e-04 3.08875909e-04 3.93336111e-04 4.67817903e-04
3.84236371e-04 3.64917594e-04 4.14383738e-04 3.28865962e-04
3.08526915e-04 2.61794740e-04 4.78226994e-04 5.17229484e-04
6.29107991e-04 8.31251424e-04 5.21301902e-04 3.89648171e-04
2.61537939e-04 1.10859469e-04 1.12503860e-04 1.40095834e-04
-1.05740240e-04 -3.07996517e-05 -1.39832142e-04 7.55161803e-05
-3.73596344e-05 3.96737077e-05 1.27137015e-04 -2.56124709e-05
-1.35121161e-04 -7.94405026e-05 3.00443171e-05 1.83839680e-05
-1.16821661e-05 -1.54138737e-05 -4.93846170e-05 2.35331030e-05
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment