Automated setup of NMR experiments