fiesta.properties.calc_free_fall_time#

fiesta.properties.calc_free_fall_time(ndens, unit=Unit('s'))[source]#

Calculates free-fall time using \(t_\mathrm{ff} = 2 \times 10^6 \big(\frac{n}{1000~\mathrm{cm}^{-3}}\big)^{-0.5} ~\mathrm{yrs}\).

Parameters:
  • ndens (Quantity) – Number density \(n\).

  • unit (Unit, optional) – Unit to output the result in. Default value is u.s.

Returns:

free_fall_time (Quantity) – Free fall time \(t_\mathrm{ff}\).