utils.ensure_ytquantity#

utils.ensure_ytquantity(x, default_units)[source]#

Ensures the quantity has units