Determine all parameter dependencies of the quantities in q.
q (str) – String(s) labelling a quantity
deps – A set containing all parameters on which quantities in q are dependent.
set