Closed mweastwood closed 8 years ago
This turns out to not be useful for polcal
:
StructOfArrays(JonesMatrix, dims...)
creates 4 Array{Complex64}
s. What we really want is 8 Array{Float32}
s.SplayedJonesMatrix
type that stores the real and imaginary components of the elements separately (to fix the previous problem). However this makes the code pretty ugly.This may still be useful for the unpolarized calibration.
Closing because I no longer think this is the right thing to do to get SIMD vectorization. My current thinking is that maybe SIMD.jl might be helpful for this, but it will require some work that I don't think is terribly important right now.
I should be able to eek out some more performance by using StructsOfArrays.jl to SIMD vectorize the inner calibration loop.