You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/spectrum.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,20 @@ Here we will go over the different spectral types and how we use them.
4
4
5
5
## Types
6
6
7
-
Spectra are defined as possible subtypes of `AbstractSpectrum`. You can use these directly for construction, or use the catch-all [`spectrum`](@ref) function, which is preferred.
7
+
SpectrumBase are defined as possible subtypes of `AbstractSpectrum`. You can use these directly for construction, or use the catch-all [`spectrum`](@ref) function, which is preferred.
8
8
9
9
```@docs
10
-
Spectra.AbstractSpectrum
11
-
Spectra.Spectrum
12
-
Spectra.SingleSpectrum
13
-
Spectra.EchelleSpectrum
14
-
Spectra.IFUSpectrum
10
+
SpectrumBase.AbstractSpectrum
11
+
SpectrumBase.Spectrum
12
+
SpectrumBase.SingleSpectrum
13
+
SpectrumBase.EchelleSpectrum
14
+
SpectrumBase.IFUSpectrum
15
15
```
16
16
17
17
## Constructors
18
18
19
19
```@docs
20
-
Spectra.spectrum
20
+
SpectrumBase.spectrum
21
21
```
22
22
23
23
@@ -27,9 +27,9 @@ For more advanced transformations, see [Transformations](@ref)
27
27
28
28
### Getters
29
29
```@docs
30
-
Spectra.spectral_axis(::AbstractSpectrum)
31
-
Spectra.flux_axis(::AbstractSpectrum)
32
-
Spectra.meta(::AbstractSpectrum)
30
+
SpectrumBase.spectral_axis(::AbstractSpectrum)
31
+
SpectrumBase.flux_axis(::AbstractSpectrum)
32
+
SpectrumBase.meta(::AbstractSpectrum)
33
33
```
34
34
35
35
### Array interface
@@ -69,7 +69,7 @@ Unitful.ustrip
69
69
We provide simple plotting recipes for spectra using [Plots.jl](https://github.com/juliaplots/plots.jl)
0 commit comments