File tree Expand file tree Collapse file tree 5 files changed +24
-0
lines changed Expand file tree Collapse file tree 5 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ Ingesting and Modifying Data
2
2
====================================
3
3
4
4
.. toctree ::
5
+ :glob:
5
6
ingesting_publications
6
7
ingest_scripts
8
+ spectra
7
9
8
10
9
11
.. note ::
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ Spectra
2
+ #######
3
+
4
+ .. toctree ::
5
+ :glob:
6
+ spectra/*
7
+
8
+
9
+ Check if spectra are plottable
10
+ ------------------------------
11
+
12
+ Use the :py:mod: `check_spectrum_plottable<astrodb_utils.spectra.check_spectrum_plottable> ` function
13
+ to check if a spectrum is loadable by `astropy.specutils ` and plottable.
14
+ The `matplotlib ` package needs to be installed to display the spectrum using `show_plot=True `.
15
+
16
+ .. code-block :: python
17
+ from astrodb_utils.spectra import check_spectrum_plottable
18
+ file = < path to file >
19
+ plottable = check_spectrum_plottable(file , show_plot = True )
20
+ print plottable
21
+
22
+ > True
You can’t perform that action at this time.
0 commit comments