Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Server maintenance on Tue 31.5. at 12:00.
Open sidebar
Kaj Wiik
PolCal.jl
Commits
84f0fdbd
Commit
84f0fdbd
authored
Jun 22, 2016
by
Kaj Wiik
Browse files
Cleanup
parent
32d84911
Pipeline
#393
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/mueller.jl
0 → 100644
View file @
84f0fdbd
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
src/test.jl
0 → 100644
View file @
84f0fdbd
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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment