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
{{ message }}
Repository navigation
Pyregion should use distortion-aware WCS functions for coordinate transformations #35
Currently, pyregion uses WCS functions that do not take into account distortion corrections: wcs.wcs_world2pix() and wcs.wcs_pix2world(). However, distortions for most HST instruments are significant and should be taken into account. This could be done by switching to wcs.all_world2pix() and wcs.all_pix2world() - really a very simple change to the code.
I will post here when it is safe to do this transition.
NOTE: for images that do not have distortions wcs.all_world2pix() and wcs.all_pix2world() are similar to their -non-distortion-aware analogs wcs.wcs_world2pix() and wcs.wcs_pix2world().
All of the issues you linked to are now closed or merged.
Maybe, as a start, @mcara , you could post a test case example here, or contribute it directly as a test via a pull request?
Such a concrete example could be useful, so that everyone can run it through DS9 and pyregion and then participate in the discussion whether the change you're proposing should be made.
Activity
Obliterate Kapteyn code. Leave no survivors.
Obliterate Kapteyn code. Leave no survivors.
Obliterate Kapteyn code. Leave no survivors.
cdeil commentedon Aug 1, 2016
@mcara - Thanks for filing this issue.
All of the issues you linked to are now closed or merged.
Maybe, as a start, @mcara , you could post a test case example here, or contribute it directly as a test via a pull request?
Such a concrete example could be useful, so that everyone can run it through DS9 and pyregion and then participate in the discussion whether the change you're proposing should be made.
Obliterate Kapteyn code. Leave no survivors.
mcara commentedon Aug 10, 2016
@cdeil Please review my PR #97
Obliterate Kapteyn code. Leave no survivors.
Obliterate Kapteyn code. Leave no survivors.