wcosmo.wcosmo.hubble_time#
- wcosmo.wcosmo.hubble_time(H0, *, xp=<module 'numpy' from '/home/runner/work/wcosmo/wcosmo/.venv/lib/python3.11/site-packages/numpy/__init__.py'>)[source]#
Compute the Hubble time \(t_H = H_0^{-1}\) in Gyr.
- Parameters:
- H0: array_like
The Hubble constant in km/s/Mpc
- Returns:
- t_H: float
The Hubble time in Gyr