Closed keflavich closed 5 years ago
If the user mis-specifies major and minor, they'll be swapped. Is there any risk that this causes trouble for users because they flipped the definition of the PA too? Or is the warning enough?
I think we should adjust PA by 180 deg whenever this occurs as a default, and then have the warning state that the PA is adjusted. That way we're consistently transforming from the original inputs.
you mean 90 deg?
hm, maybe we should just raise an exception then..... I'm not convinced there's a clear default in this case.
I definitely mean 90 deg.
The exception seems reasonable to me. I'm imagining the case where a few highly elongated beams (that maybe you would mask out, anyways, but) end up giving weird convolution products if the PA is off by 90 deg.
Otherwise, LGTM.
if minor > major, they should be swapped (on reading)