Deep Learning for Automated Spectral Classification of Supernovae
Project description
# DASH
Supernovae classifying and redshifting software: development stage
## 1. How to install:
1.1 pip install astrodash
or download from github (https://github.com/daniel-muthukrishna/DASH)
## 2. Get started with the Python Library interface:
2.1 Use the following example code:
import dash
classification = dash.Classify([filenames], [knownRedshifts])
print classification.list_best_matches(n=1) # Shows top 'n' matches for each spectrum
2.2 To open the gui from a script use:
import dash
dash.run_gui()
## 3. Get started with GUI
2.1 Run GUI/main.py
2.2 Once open, type in a known redshift
2.3 Browse for any single spectrum FITS, ASCII, dat, or two-column text file.
2.4 Click any of the best matches to view the continuum-subtracted binned spectra.
2.5 If the input spectrum is too noisy, increase the smoothing level, and click 'Re-fit with priors'
## 4. Dependencies:
Using pip will automatically install numpy, scipy, specutils, pyqtgraph, and tensorflow.
PyQt4
This can be installed with anaconda: "conda install pyqt=4" (or else independently - only needed for the GUI)
## 5. How to raise issues:
## 6. Examples
## 7. API Usage
Notes:
Current version requires an input redshift (inaccurate results if redshift is unknown)
Supernovae classifying and redshifting software: development stage
## 1. How to install:
1.1 pip install astrodash
or download from github (https://github.com/daniel-muthukrishna/DASH)
## 2. Get started with the Python Library interface:
2.1 Use the following example code:
import dash
classification = dash.Classify([filenames], [knownRedshifts])
print classification.list_best_matches(n=1) # Shows top 'n' matches for each spectrum
2.2 To open the gui from a script use:
import dash
dash.run_gui()
## 3. Get started with GUI
2.1 Run GUI/main.py
2.2 Once open, type in a known redshift
2.3 Browse for any single spectrum FITS, ASCII, dat, or two-column text file.
2.4 Click any of the best matches to view the continuum-subtracted binned spectra.
2.5 If the input spectrum is too noisy, increase the smoothing level, and click 'Re-fit with priors'
## 4. Dependencies:
Using pip will automatically install numpy, scipy, specutils, pyqtgraph, and tensorflow.
PyQt4
This can be installed with anaconda: "conda install pyqt=4" (or else independently - only needed for the GUI)
## 5. How to raise issues:
## 6. Examples
## 7. API Usage
Notes:
Current version requires an input redshift (inaccurate results if redshift is unknown)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
astrodash-0.1.6.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for astrodash-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7fcec9631d99a0c2e33bc06cf4518a777bcba3fca6d22a699c960bc9bd34e58 |
|
MD5 | 911e8c965b9fe40cd904fa6baa6528af |
|
BLAKE2b-256 | 2e8e783546ca47045699138b973dd577ef4bacf8e01a5b943ae06912d0b0c9ad |