Quickstart
Once installed, jdaviz
can be run either as a standalone web application or in a Jupyter notebook.
As a Web Application
jdaviz
provides a command-line tool to start the web application. To see the syntax and usage,
from a terminal, type:
jdaviz --help
jdaviz /path/to/data/spectral_file --layout=specviz
For example, to load a SDSS MaNGA IFU data cube into Cubeviz
, you would run the following from a terminal:
jdaviz /my/manga/cube/manga-7495-12704-LOGCUBE.fits --layout=cubeviz
In a Jupyter Notebook
The power of jdaviz
is that it can integrated into your Jupyter notebook workflow:
from jdaviz import Specviz
specviz = Specviz()
specviz.app
jdaviz
also provides a directory of sample notebooks to test the application, located in the notebooks
sub-directory
of the git repository. CubevizExample.ipynb
is provided as an example that loads a SDSS MaNGA IFU data cube with the
Cubeviz
configuration. To run the provided example, start the jupyter kernel with the notebook path:
jupyter notebook /path/to/jdaviz/notebooks/CubevizExample.ipynb
To learn more about the various jdaviz
application configurations and loading data, see the Cubeviz,
Specviz, Mosviz, or Imviz tools.