Skip to content

Commit

Permalink
Add instructions for how to use spectrum_plottable
Browse files Browse the repository at this point in the history
  • Loading branch information
kelle committed Dec 17, 2024
1 parent c93044e commit c45c329
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion documentation/Spectra.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ For example: `$ASTRODB_SPECTRA/infrared/filename.fits`
- Data based on data from multiple observation dates has 'Multiple observation dates'
indicated in the *comments* field.
One of the dates should be used for the *observation_date*.
- Spectra for companions should be associated with individual sources and not grouped with the primary source.
- Spectra for companions should be associated with individual sources and not grouped with the primary source.

# Check if spectra are plottable by the website
```Python
from simple.utils.spectra import spectrum_plottable
file = <path to file>
spectrum_plottable(file, show_plot=True)
```

0 comments on commit c45c329

Please sign in to comment.