Skip to content

JuliaAstro/PhotometricFilters.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotometricFilters

Build Status Coverage License

Stable Dev

Installation

This package is not yet registered. Ovne can install the most recent version from GitHub using

import Pkg
Pkg.add(url="https://github.com/JuliaAstro/PhotometricFilters.jl.git")

Usage

using PhotometricFilters
using PhotometricFilters: SDSS_u, SDSS_g, SDSS_r, SDSS_i, SDSS_z, fwhm

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_return = get_filter("Roman/WFI.F146");
filt = svo_return[1]

Using Unitful.jl is built in to all functionality

julia> filt_units = SDSS_u(units=true);

julia> fwhm(filt_units)
600.0

Citations

About

A reference of common photometric filters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages