Documentation

tynt is a super lightweight package containing approximate transmittance curves for more than five hundred astronomical filters, weighing in at just under 150 KB. Depends only on numpy and astropy.

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)

_images/index-1.png

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