Functions for calculating K-corrections.
kCorr( filter, redshift, colorType, colorValue )To define the calculation you must choose both a filter,
specified as a KCF_* constant,
and a colour (filter pair) specified as a KCC_* constant.
For each available filter, only certain colours are available,
as described in the documentation of the relevant KCF_*
constant.
The algorithm used is described at http://kcor.sai.msu.ru/. This is based on the paper "Analytical Approximations of K-corrections in Optical and Near-Infrared Bands" by I.Chilingarian, A.-L.Melchior and I.Zolotukhin (2010MNRAS.405.1409C), but extended to include GALEX UV bands and with redshift coverage up to 0.5 as described in "Universal UV-optical Colour-Colour-Magnitude Relation of Galaxies" by I.Chilingarian and I.Zolotukhin (2012MNRAS.419.1727C).
filter (KCorrections.KFilter): KCF_* constant defining the filter
for which you want to calculate the K-correction
redshift (floating point): galaxy redshift; this should be in the range 0-0.5
colorType (KCorrections.KColor): KCC_* constant defining the
filter pair for the calculation; check the
KCF_* constant documentation to see
which ones are permitted for a given filter
colorValue (floating point): the value of the colour
KCF_FUVKCF_NUVKCF_uKCF_gKCF_rKCF_iKCF_zKCF_YKCF_JKCF_HKCF_KKCF_UKCF_BKCF_VKCF_RcKCF_IcKCF_J2KCF_H2KCF_Ks2KCC_BIcKCC_BRcKCC_FUVNUVKCC_FUVuKCC_giKCC_grKCC_gzKCC_H2Ks2KCC_HKKCC_J2H2KCC_J2Ks2KCC_JHKCC_JKKCC_NUVgKCC_NUVrKCC_rzKCC_uiKCC_URcKCC_urKCC_uzKCC_VIcKCC_VRcKCC_YHKCC_YK