You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python interface is certainly something that could be smarted up. Demitri Muna had a plan for creating a more Pythonesque interface, but I'm not sure he ever got very far with it. ANy change would need to go through the whole of pyast, not just the tran function. However, for that particular example, you could do:
If I want to output the transformed locations of e.g. a whole CCD, something like this is the obvious approach:
but this doesn't work, as tran wants flattened arrays, but then the output has to be reshaped:
It would be useful if tran supported generic NDarrays, outputting the result in the same shape.
The text was updated successfully, but these errors were encountered: