AstroImages.polquiver — Function
polquiver(polcube::AstroImage; kwargs...)
polquiver!([ax], polcube::AstroImage; kwargs...)Given a data cube of at least 2 spatial dimensions plus a polarization axis (Pol), plot a vector field of linear polarization data with Makie. The segment length represents the polarization intensity, sqrt(Q^2 + U^2), and the color represents the linear polarization fraction, sqrt(Q^2 + U^2) / I.
Keyword arguments:
bins(default4) by how much the polarization data is binned down (block-averaged) before drawing the segmentsticklen(defaultbins) how long the 98th-percentile segment should be, in pixelscolormap(default:turbo) colormap for the linear polarization fractionminpol(default0.1) hides segments shorter thanminpoltimes the 98th-percentile intensity. Set to 0 to display all data.
Use implot and polquiver! to overplot polarization data over an image.