Hey all,
I'm hoping to open a discussion on whether supporting some other polarisation conventions would be within scope for Hyperdrive. Personally, I'm keen to use it for ASKAP data, but having support for other pol. conventions would hopefully allow Hyperdrive's uptake for use on any (all?) instruments.
In particular, I would hope that the IAU convention could be supported. For linear polarisations this has X corresponding to the North-South axis, and Y the East-West. For Stokes this means:
$$\begin{align}
XX = I + Q \\\
XY = U + iV \\\
YX = U - iV \\\
YY = I - Q \\\
\end{align}$$
or
$$\begin{align}
I = (XX + YY)/2 \\\
Q = (XX - YY)/2 \\\
U = (XY + YX)/2 \\\
V = -i(XY - YX)/2 \\\
\end{align}$$
Being but a baby rustacean, it's not immediately clear to me the best way for this to be implemented. Nor if any kind of change would cause be a bunch of breaking changes downstream. I have some vague thoughts that set of Mueller-like matrices could be handy for defining conventions (see e.g. https://github.com/AlecThomson/FixMS).
Some extra thoughts if some kind of generalisation is within scope. ASKAP uses yet another Stokes convention, where:
$$\begin{align}
I = (XX + YY) \\\
Q = (XX - YY) \\\
U = (XY + YX) \\\
V = -i(XY - YX) \\\
\end{align}$$
Although I'm in two minds about adding/supporting non-IAU conventions is ever a good idea...
There's also the circular convention (potential can of worms), where:
$$\begin{align}
RR = I + V \\\
RL = Q + iU \\\
LR = Q - iU \\\
LL = I - V \\\
\end{align}$$
Although, I can certainly understand if supporting non-linear bases is completely out of scope.
I'm keen to hear what you all think, and happy to chat on anything as well :)
Hey all,
I'm hoping to open a discussion on whether supporting some other polarisation conventions would be within scope for Hyperdrive. Personally, I'm keen to use it for ASKAP data, but having support for other pol. conventions would hopefully allow Hyperdrive's uptake for use on any (all?) instruments.
In particular, I would hope that the IAU convention could be supported. For linear polarisations this has X corresponding to the North-South axis, and Y the East-West. For Stokes this means:
or
Being but a baby rustacean, it's not immediately clear to me the best way for this to be implemented. Nor if any kind of change would cause be a bunch of breaking changes downstream. I have some vague thoughts that set of Mueller-like matrices could be handy for defining conventions (see e.g. https://github.com/AlecThomson/FixMS).
Some extra thoughts if some kind of generalisation is within scope. ASKAP uses yet another Stokes convention, where:
Although I'm in two minds about adding/supporting non-IAU conventions is ever a good idea...
There's also the circular convention (potential can of worms), where:
Although, I can certainly understand if supporting non-linear bases is completely out of scope.
I'm keen to hear what you all think, and happy to chat on anything as well :)