-
Notifications
You must be signed in to change notification settings - Fork 76
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 Rampviz helper, generalize cube config helper and profile viewer #3120
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a8dc574
add config helper for cubic data like cubeviz and rampviz
bmorris3 e1a9fc7
add base profile viewer class
bmorris3 e0856c5
add rampviz to labeler
bmorris3 2199c06
initial rampviz helper with Roman support + assoc changes
bmorris3 55a83e5
adding initial rampviz docs
bmorris3 f07497a
docstring fixes
bmorris3 fe0f5ad
add rampviz example nb, turn off ramp extract export
bmorris3 5074beb
clean up rampviz hdulist parser
bmorris3 c3108c1
Comments from Kyle, plus rebase
bmorris3 9ad53ed
adding support for visualizing all pixels in subsets, and per pixel o…
bmorris3 a22035e
basic mouseover coords info support
bmorris3 bddc521
add ramp subset preview toggle, Roman L1+L2 metadata support
bmorris3 e9ccea1
docstring fix
bmorris3 fb3091c
first ramp extraction tests
bmorris3 e009c1f
adding tests for rampviz
bmorris3 614dc8d
home button override, test improvements
bmorris3 33f5f49
working on rampviz test coverage
bmorris3 b7ad85b
adding limit to pixels shown in subset preview
bmorris3 18f8263
Review comments from Kyle
bmorris3 662fd86
Review comment from Ricky
bmorris3 f796e77
rebase repair
bmorris3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ User Guide | |
cubeviz/index | ||
specviz2d/index | ||
mosviz/index | ||
rampviz/index | ||
plugin_api | ||
save_state | ||
display | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. |cubeviz_logo| image:: ../logos/cube.svg | ||
:height: 42px | ||
|
||
.. _rampviz: | ||
|
||
###################### | ||
|cubeviz_logo| Rampviz | ||
###################### | ||
|
||
|
||
Rampviz is a visualization and analysis toolbox for ramp cubes from | ||
infrared detectors. It is built on top of the | ||
`glue visualization <https://glueviz.org>`_ tool. Rampviz is designed to work | ||
with ramp files from the Roman Space Telescope and JWST. | ||
|
||
**Using Rampviz** | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
plugins |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
********************* | ||
Data Analysis Plugins | ||
********************* | ||
|
||
|
||
|
||
.. _rampviz-metadata-viewer: | ||
|
||
Metadata Viewer | ||
=============== | ||
|
||
.. seealso:: | ||
|
||
:ref:`Metadata Viewer <imviz_metadata-viewer>` | ||
Documentation on using the metadata viewer. | ||
|
||
|
||
.. _rampviz-plot-options: | ||
|
||
Plot Options | ||
============ | ||
|
||
This plugin gives access to per-viewer and per-layer plotting options. | ||
To show axes on image viewers, toggle on the "Show axes" option at the bottom of the plugin. | ||
|
||
.. seealso:: | ||
|
||
:ref:`Image Plot Options <imviz-display-settings>` | ||
Documentation on Imviz display settings in the Jdaviz viewers. | ||
|
||
.. _rampviz-subset-plugin: | ||
|
||
Subset Tools | ||
============ | ||
|
||
.. seealso:: | ||
|
||
:ref:`Subset Tools <imviz-subset-plugin>` | ||
Imviz documentation describing the concept of subsets in Jdaviz. | ||
|
||
|
||
Markers | ||
======= | ||
|
||
.. seealso:: | ||
|
||
:ref:`Markers <markers-plugin>` | ||
Imviz documentation describing the markers plugin. | ||
|
||
.. _rampviz-slice: | ||
|
||
Slice | ||
===== | ||
|
||
.. seealso:: | ||
|
||
:ref:`Slice <slice>` | ||
Documentation on using the Slice plugin. | ||
|
||
.. _ramp-extraction: | ||
|
||
Ramp Extraction | ||
=============== | ||
|
||
|
||
|
||
Comment on lines
+62
to
+66
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To be added once we converge on the way it works... |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,9 @@ Plugins API | |
.. automodapi:: jdaviz.configs.cubeviz.plugins.slice.slice | ||
:no-inheritance-diagram: | ||
|
||
.. automodapi:: jdaviz.configs.cubeviz.plugins.spectral_extraction.spectral_extraction | ||
:no-inheritance-diagram: | ||
|
||
Comment on lines
+51
to
+53
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you believe this was missing!? |
||
.. automodapi:: jdaviz.configs.imviz.plugins.aper_phot_simple.aper_phot_simple | ||
:no-inheritance-diagram: | ||
|
||
|
@@ -86,3 +89,6 @@ Plugins API | |
|
||
.. automodapi:: jdaviz.configs.specviz2d.plugins.spectral_extraction.spectral_extraction | ||
:no-inheritance-diagram: | ||
|
||
.. automodapi:: jdaviz.configs.rampviz.plugins.ramp_extraction.ramp_extraction | ||
:no-inheritance-diagram: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
from .cubeviz import * # noqa | ||
from .specviz import * # noqa | ||
from .specviz2d import * # noqa | ||
from .default import * # noqa | ||
from .mosviz import * # noqa | ||
from .imviz import * # noqa | ||
from .mosviz import * # noqa | ||
from .rampviz import * # noqa | ||
from .specviz import * # noqa | ||
from .specviz2d import * # noqa |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .tools import * # noqa | ||
from .mixins import * # noqa | ||
from .viewers import * # noqa | ||
from .parsers import * # noqa | ||
from .moment_maps.moment_maps import * # noqa | ||
from .slice.slice import * # noqa | ||
from .spectral_extraction.spectral_extraction import * # noqa | ||
from .tools import * # noqa |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Of course, we don't have a Rampviz logo yet, and won't until we have Jenn back. I'm leaving the cubeviz logo here in the mean time.