Installing modspectra¶
Requirements¶
This package has the following dependencies:
- Python 3.6 or later
- Numpy 1.8 or later
- Astropy 1.0 or later
- Scipy 1.2 or later
- spectral cube >=0.4.4
- numexpr 2.0 or later
- extinction>=0.4.0
- dustmaps>=1.0.3
- pyregion>=2.0
- dask optional
- (Used when creating high resolution cubes and memmap = True is set)
- Regions >=0.3dev, optional (Serialises/Deserialises DS9/CRTF region files and handles them. Used when extracting a subcube from region)
Installation¶
To install the latest developer version of modspectra you can type:
git clone https://github.com/Deech08/modspectra.git
cd modspectra
python setup.py install
You may need to add the --user option to the last line if you do not
have root access.
You can also install the latest developer version in a single line with pip:
pip install git+https://github.com/Deech08/modspectra.git
Note
Known Install Issue: dask may not install all requirementents needed for memmap procedure. If you use conda, you can fix this by running:: conda install dask