forked from spacetelescope/jdaviz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reparenting subsets between rotation orientations (spacetelescope…
…#2734) * Experimenting... * Radius calculation now correct under rotation, trying to handle angle properly * Account for rotation to update theta attribute * Updated labels since we reparent to Orientation now. Numbers probably wrong * Added correct calculations for rotated rectangle subset * Codestyle * Add to changelog * Update jdaviz/configs/imviz/tests/test_delete_data.py Co-authored-by: P. L. Lim <[email protected]> * Remove extra pixel_to_pixel call * Fixed bug with deleting second non-default orientation, debugging new angle with flip * Fix flip handling, add modulo for angles * Address review comments Co-authored-by: P. L. Lim <[email protected]> * Modulo should be in radians * Apply suggestions from code review Co-authored-by: P. L. Lim <[email protected]> * Add test * pllim review as commit * Update jdaviz/app.py --------- Co-authored-by: P. L. Lim <[email protected]>
- Loading branch information
Showing
4 changed files
with
120 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters