Python snippet using Ned Wright's Cosmological Calculator combined with three-attractor model to calculate luminosity distances and physical scales for galaxies.
cosmology_calculator.py is the Python version of Ned Wright's Cosmological Calculator (Wright 2006, PASP, 118, 1711), written by James Schombert.
3 attractor calculation (attractor.py) is based on models presented in Mould et al. 2000, ApJ, 545, 547.