I am reading interleaved complex data as (abscissa, real, imaginary) numbers in one vector. Elements 1, 4 ,7, … are the abscissa, and elements (2,3), (4,5), … are the (real, imaginary) components of the complex numbers. I would like to have a result of abscissa and ordinate, where the abscissa is a real vector and the ordinate is a complex vector. I am part way there, with the MWE
julia> _data = rand(3*10);
julia> tmp = reshape(reinterpret(Float32, _data), (3, :))';
julia> abscissa = tmp[:, 1];
julia> data = reinterpret(ComplexF32, reshape(tmp[:, 2:3]', (:, 1)));
julia> isa(data, AbstractVector)
false
julia> isa(abscissa, AbstractVector)
true
How can I get Julia to recognize data as an AbstractVector?