-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add documentation for reading lower-dimensional objects #834
add documentation for reading lower-dimensional objects #834
Conversation
Codecov Report
@@ Coverage Diff @@
## master #834 +/- ##
==========================================
+ Coverage 77.87% 78.17% +0.30%
==========================================
Files 24 24
Lines 5863 5921 +58
==========================================
+ Hits 4566 4629 +63
+ Misses 1297 1292 -5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a few text suggestions.
Co-authored-by: Eric Koch <[email protected]>
Co-authored-by: Eric Koch <[email protected]>
Co-authored-by: Eric Koch <[email protected]>
Co-authored-by: Eric Koch <[email protected]>
Co-authored-by: Eric Koch <[email protected]>
This probably ought to be squashed on merge because of all the gh-suggest commits |
afaict, the error is unrelated. I'm gonna merge and hope the windows-based, dask-test error just goes away... |
…tools#834) * add documentation for reading lower-dimensional objects * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]>
…tools#834) * add documentation for reading lower-dimensional objects * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]>
author SpacialTree <[email protected]> 1658337021 -0400 committer Adam Ginsburg (keflavich) <[email protected]> 1663972401 -0400 Add cube mosaicking Created functions to mosaic cubes together. Made Requested Changes to Pull Request Delete .gitignore Revert "Delete .gitignore" This reverts commit 04ccb30. Update .gitignore Fix for Colorbar already exists error In the case where the FITSFigure has already has a colorbar, will not attempt to add the colorbar again. Catch all Exceptions for Quicklook Should print out all exceptions when encountering them in quicklook, and display an image still instead of crashing. Change to Combine Headers Rename `reproject_together` and change function to use headers instead of cubes. mosaic_cubes now takes a list Rework of mosaic_cubes to take a list of cubes and mosaic them all together into the same field. Update cube_utils.py Change function name to combine_headers where it was called Update combine_headers Fixed problems with find_optimal_celestial_wcs line being passed 3D WCS and wrong order of WCS & shape Update cube_utils.py Fixed masking out additional cubes Update test_regrid.py Added test for mosaic_cubes Update cube_utils.py Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update cube_utils.py += was causing an error Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update lower_dimensional_structures.py Update test_regrid.py add import statement Update test_regrid.py more specific import statement Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py block size argument error Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> pass kwargs to reproject add documentation for reading lower-dimensional objects (radio-astro-tools#834) * add documentation for reading lower-dimensional objects * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> fix some simple issues fix up first part of test (testing WCS) remove comments minor whitespace Fix whitespace Fix for missing edges Add fix to other reproject pass kwargs to mosaic_cubes
author SpacialTree <[email protected]> 1658337021 -0400 committer Adam Ginsburg (keflavich) <[email protected]> 1663972401 -0400 Add cube mosaicking Created functions to mosaic cubes together. Made Requested Changes to Pull Request Delete .gitignore Revert "Delete .gitignore" This reverts commit 04ccb30. Update .gitignore Fix for Colorbar already exists error In the case where the FITSFigure has already has a colorbar, will not attempt to add the colorbar again. Catch all Exceptions for Quicklook Should print out all exceptions when encountering them in quicklook, and display an image still instead of crashing. Change to Combine Headers Rename `reproject_together` and change function to use headers instead of cubes. mosaic_cubes now takes a list Rework of mosaic_cubes to take a list of cubes and mosaic them all together into the same field. Update cube_utils.py Change function name to combine_headers where it was called Update combine_headers Fixed problems with find_optimal_celestial_wcs line being passed 3D WCS and wrong order of WCS & shape Update cube_utils.py Fixed masking out additional cubes Update test_regrid.py Added test for mosaic_cubes Update cube_utils.py Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> Update cube_utils.py += was causing an error Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update lower_dimensional_structures.py Update test_regrid.py add import statement Update test_regrid.py more specific import statement Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/cube_utils.py block size argument error Co-authored-by: Adam Ginsburg <[email protected]> Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> pass kwargs to reproject add documentation for reading lower-dimensional objects (radio-astro-tools#834) * add documentation for reading lower-dimensional objects * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> fix some simple issues fix up first part of test (testing WCS) remove comments minor whitespace Fix whitespace Fix for missing edges Add fix to other reproject pass kwargs to mosaic_cubes
* Add cube mosaicking Created functions to mosaic cubes together. * Made Requested Changes to Pull Request * Delete .gitignore * Revert "Delete .gitignore" This reverts commit 04ccb30. * Update .gitignore * Fix for Colorbar already exists error In the case where the FITSFigure has already has a colorbar, will not attempt to add the colorbar again. * Catch all Exceptions for Quicklook Should print out all exceptions when encountering them in quicklook, and display an image still instead of crashing. * Change to Combine Headers Rename `reproject_together` and change function to use headers instead of cubes. * mosaic_cubes now takes a list Rework of mosaic_cubes to take a list of cubes and mosaic them all together into the same field. * Update cube_utils.py Change function name to combine_headers where it was called * Update combine_headers Fixed problems with find_optimal_celestial_wcs line being passed 3D WCS and wrong order of WCS & shape * Update cube_utils.py Fixed masking out additional cubes * Update test_regrid.py Added test for mosaic_cubes * Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/cube_utils.py Co-authored-by: Adam Ginsburg <[email protected]> * Update cube_utils.py * Update cube_utils.py += was causing an error * Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> * Update lower_dimensional_structures.py * Update test_regrid.py add import statement * Update test_regrid.py more specific import statement * Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/cube_utils.py block size argument error Co-authored-by: Adam Ginsburg <[email protected]> * Update spectral_cube/tests/test_regrid.py Co-authored-by: Adam Ginsburg <[email protected]> * pass kwargs to reproject * add documentation for reading lower-dimensional objects (#834) * add documentation for reading lower-dimensional objects * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update docs/creating_reading.rst Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/lower_dimensional_structures.py Co-authored-by: Eric Koch <[email protected]> * fix some simple issues * fix up first part of test (testing WCS) * remove comments * minor whitespace * Fix whitespace * Fix for missing edges * Add fix to other reproject * pass kwargs to mosaic_cubes * fix tests and add some helpful error messages * fix bug uncovered with new test * Update spectral_cube/tests/test_regrid.py Co-authored-by: Eric Koch <[email protected]> * Update spectral_cube/cube_utils.py Co-authored-by: Eric Koch <[email protected]> * resolve comment from e-koch * minor flake8 fixes Co-authored-by: Adam Ginsburg <[email protected]> Co-authored-by: Eric Koch <[email protected]>
Solves #833
I smuggled in a configuration item -
ext=0
is now a keyword arg instead of hard-coding it.