This repository has been archived by the owner on Jul 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #599 from pllim/bye-bye-bye
MNT: Officially retire cubeviz
- Loading branch information
Showing
113 changed files
with
59 additions
and
13,344 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
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
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,46 +1,17 @@ | ||
# CubeViz | ||
|
||
![](http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat) | ||
[![Coverage Status](https://codecov.io/gh/spacetelescope/cubeviz/branch/master/graph/badge.svg)](https://codecov.io/gh/spacetelescope/cubeviz) | ||
[![DOI](https://zenodo.org/badge/36305330.svg)](https://zenodo.org/badge/latestdoi/36305330) | ||
|
||
For documentation see http://cubeviz.readthedocs.io/en/latest/ | ||
For documentation see https://cubeviz.readthedocs.io/en/latest/ | ||
|
||
Current Status | ||
-------------- | ||
## Current Status | ||
|
||
Please note that this version of CubeViz is **no longer being actively supported | ||
or maintained**. The functionality of CubeViz is now available and being actively | ||
developed as part of [Jdaviz](https://github.com/spacetelescope/jdaviz). | ||
|
||
## Release 0.3 | ||
If you must use legacy CubeViz, please try v0.3 in Python 3.6. | ||
|
||
We are pleased to announce the release of CubeViz, a visualization and analysis tool for data cubes from integral field units (IFUs). This is an early release (v0.3) and we would appreciate your feedback. It is built on top of the "glue" visualization tool. | ||
|
||
To install: | ||
* Install [Minconda3](https://conda.io/miniconda.html) if it is not on your system (**) | ||
* To install, type: `$ conda create -n cubeviz030 python=3.7`, activate the environment `$ conda activate cubeviz030` and pip install cubeviz `$ pip install cubeviz`. | ||
|
||
To run: | ||
* Activate the environment: `$ conda activate cubeviz030` | ||
* Run cubeviz: `$ cubeviz` | ||
* Once done, deactivate the environment: `source deactivate` | ||
|
||
More installation instructions will be on the RTD page (currently incorrectly displaying the wrong docs and appears to be an RTD bug). | ||
|
||
Read the Docs: http://cubeviz.readthedocs.io/en/latest/ | ||
|
||
More info on glue: http://glueviz.org | ||
|
||
If you run into any issues or have suggestions for new features, we encourage you to create issues on GitHub. | ||
|
||
This release requires Python >= 3.6. | ||
|
||
** Note: There have been some issues with Miniconda3 with conda version less than 4.5. If you see any problems with installation or running cubeviz and your conda version is less than 4.5 it is best to update to 4.5. See [upgrade instructions](https://conda.io/miniconda.html) for more information. | ||
|
||
![](/docs/images/CubeViz_splitviewer.png) | ||
|
||
|
||
# License | ||
## License | ||
|
||
This project is Copyright (c) JDADF Developers and licensed under the terms of the BSD 3-Clause license. See the licenses folder for more information. |
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,38 +1,13 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
|
||
""" | ||
This is an Astropy affiliated package. | ||
""" | ||
|
||
__minimum_python_version__ = "3.6" | ||
|
||
# Affiliated packages may add whatever they like to this file, but | ||
# should keep this content at the top. | ||
# ---------------------------------------------------------------------------- | ||
from ._internal_init import * | ||
# ---------------------------------------------------------------------------- | ||
|
||
from pkg_resources import get_distribution, DistributionNotFound | ||
|
||
try: | ||
__version__ = get_distribution(__name__).version | ||
except DistributionNotFound: | ||
from cubeviz.version import version as __version__ | ||
except Exception: | ||
# package is not installed | ||
__version__ = "unknown" | ||
|
||
__all__ = ['__version__'] | ||
|
||
# This *must* occur before any imports from glue. It prevents the "python must | ||
# be installed as a framework" error that occurs on OSX. Since we now | ||
# explicitly depend on PyQt5, we use it as the mpl backend. | ||
import matplotlib as mpl | ||
mpl.use('Qt5Agg') | ||
|
||
import astropy.units as units | ||
from .flux_equivalences import CustomFluxEquivalences | ||
# We override the units.equivalencies.spectral_density function with | ||
# CustomFluxEquivalences before the program starts. We expect all libraries | ||
# to access CustomFluxEquivalences when calling for units.equivalencies.spectral_density | ||
units.equivalencies.spectral_density = CustomFluxEquivalences(units.equivalencies.spectral_density) | ||
units.spectral_density = units.equivalencies.spectral_density | ||
|
||
from . import keyboard_shortcuts | ||
print('cubeviz is no longer supported, please use jdaviz. ' | ||
'If you must use legacy cubeviz, please try v0.3 ' | ||
'in Python 3.6.') |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.