-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add conical aperture support in the spectral extraction plugin (#2679)
* Add conical aperture support in the spectral extraction plugin * Update test, address review comments, remove debug statements * Remove change to SPECTRUM_SIZE in conftest * Add docs * Change button to Slice to Wavelength * Add link to photutils docs, use blank mask cube * Use center as default aperture masking method * Switch test to use exact * Throw exception if spectral axis is not in wavelength * Undo boolean conversion * Remove loaded_mask_cube * Simplify cone_aperture algorithm by not repeating unnecessary calculations * Apply fractional pixel array when needed and update test * Return cone aperture as float32 pixel array * Cover case where function is mean * Remove subpixel option and add warning for exact plus min or max * Extend fractional pixel functionality to cylindrical apertures * Move aperture functionality and checks to get_aperture * Remove snackbar message * Move display unit check to cone aperture section * Clarify when physical type must be wavelength * Remove old methods * Add test for non-wavelength axis units * pllim code clean-up and add tests as part of JDAT-4194 * Add shape check in cone section of get_aperture * Make test case off-center * Implement JDAT-4268 and add tests and also more clean-ups --------- Co-authored-by: P. L. Lim <[email protected]> Co-authored-by: Brett M. Morris <[email protected]>
- Loading branch information
1 parent
20de93b
commit c8d6353
Showing
6 changed files
with
364 additions
and
123 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
Oops, something went wrong.