captest.CapTest.from_params
- classmethod CapTest.from_params(**kwargs)
Construct a CapTest from parameter kwargs.
Recognizes the non-param kwargs
meas,sim,meas_path,sim_pathin addition to every declaredparam.*. If bothmeasandmeas_pathare supplied the pre-built instance wins and a warning is emitted (same forsim/sim_path).When both
measandsimend up populated,setup()is called automatically. Otherwise the partially-initialized instance is returned and the caller finishes the workflow manually.- Parameters:
**kwargs – Any declared CapTest parameter, plus
meas,sim,meas_path,sim_path.- Return type: