hutch_python.exp_load.get_exp_objs¶
-
hutch_python.exp_load.
get_exp_objs
(exp_module)¶ Load the correct experiment module.
This will import User from
experiments.{exp_module}
and createUser()
, storing it asx
.- Parameters
exp_module (
str
) – The name of the experiment from the elog, without the hutch. This will be the name of the module loaded from the experiments folder.- Returns
user – Either the user’s class instantiated or a blank namespace for other experiment-specific objects to be attached to.
- Return type
object
orSimpleNamespace