tynt#
tynt
is a super lightweight package containing approximate transmittance
curves for more than one thousand astronomical filters, weighing in at just
186 KB. Depends only on numpy and astropy.
Contents#
Simple example#
Let’s plot the transmittance curve of the SDSS r’ filter:
from tynt import FilterGenerator
f = FilterGenerator()
filt = f.reconstruct('SLOAN/SDSS.rprime_filter')
import matplotlib.pyplot as plt
plt.plot(filt.wavelength, filt.transmittance)
plt.xlabel('Wavelength [$\AA$]')
plt.ylabel('Approx. Transmittance')
(Source code
, png
, hires.png
, pdf
)
Links#
References#
This research has made use of the SVO Filter Profile Service (http://svo2.cab.inta-csic.es/theory/fps/) supported from the Spanish MINECO through grant AYA2017-84089