-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
498 additions
and
399 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
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 |
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
from .plugins import * # noqa | ||
from .helper import Rampviz # noqa |
Empty file.
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,23 @@ | ||
from astropy.nddata import NDDataArray | ||
|
||
from jdaviz.core.registries import viewer_registry | ||
from jdaviz.core.freezable_state import FreezableProfileViewerState | ||
from jdaviz.configs.default.plugins.viewers import JdavizProfileView | ||
|
||
__all__ = ['RampvizProfileView'] | ||
|
||
|
||
@viewer_registry("rampviz-profile-viewer", label="Profile 1D (Rampviz)") | ||
class RampvizProfileView(JdavizProfileView): | ||
# categories: zoom resets, zoom, pan, subset, select tools, shortcuts | ||
tools_nested = [ | ||
['jdaviz:homezoom', 'jdaviz:prevzoom'], | ||
['jdaviz:boxzoom', 'jdaviz:xrangezoom', 'jdaviz:yrangezoom'], | ||
['jdaviz:panzoom', 'jdaviz:panzoom_x', 'jdaviz:panzoom_y'], | ||
['bqplot:xrange'], | ||
['jdaviz:sidebar_plot', 'jdaviz:sidebar_export'] | ||
] | ||
|
||
default_class = NDDataArray | ||
_state_cls = FreezableProfileViewerState | ||
_default_profile_subset_type = 'temporal' |
Oops, something went wrong.