-
Notifications
You must be signed in to change notification settings - Fork 74
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 (#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 <2090236+pllim@users.noreply.github.com> * 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 <2090236+pllim@users.noreply.github.com> * Modulo should be in radians * Apply suggestions from code review Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com> * Add test * pllim review as commit * Update jdaviz/app.py --------- Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
- 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