Skip to content

Commit 056df57

Browse files
committed
Update Readme example to not use units keyword
1 parent d977207 commit 056df57

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Pkg.add(url="https://github.com/JuliaAstro/PhotometricFilters.jl.git")
2020

2121
```julia
2222
using PhotometricFilters
23-
using PhotometricFilters: SDSS_u, SDSS_g, SDSS_r, SDSS_i, SDSS_z, fwhm
23+
using PhotometricFilters: SDSS_u, SDSS_g, SDSS_r, SDSS_i, SDSS_z, pivot_wavelength
2424

2525
filts = [SDSS_u(), SDSS_g(), SDSS_r(), SDSS_i(), SDSS_z()]
2626
```
@@ -45,10 +45,10 @@ Using [Unitful.jl](https://github.com/painterqubits/Unitful.jl) is built in to a
4545

4646
```julia
4747

48-
julia> filt_units = SDSS_u(units=true);
48+
julia> filt = SDSS_u();
4949

50-
julia> fwhm(filt_units)
51-
600.0
50+
julia> pivot_wavelength(filt)
51+
3556.523969910118 Å
5252
```
5353

5454
## Citations

0 commit comments

Comments
 (0)