This package is registered to the Julia general registry and can be installed by running
import Pkg
Pkg.add("PhotometricFilters")using PhotometricFilters
using PhotometricFilters: SDSS_u, SDSS_g, SDSS_r, SDSS_i, SDSS_z, pivot_wavelength
filts = [SDSS_u(), SDSS_g(), SDSS_r(), SDSS_i(), SDSS_z()]plotting works out of the box
using Plots, ColorSchemes
plot(filts, palette=palette(:magma, 6), fill=(0, 0.2))For more up-to-date and diverse sets of filter curves, you can query the SVO Filter Profile Service as shown in the example below for the Roman F146 filter.
using PhotometricFilters
svo_filter = get_filter("Roman/WFI.F146")Using Unitful.jl is built in to all functionality
julia> filt = SDSS_u();
julia> pivot_wavelength(filt)
3556.523969910118 Å