new Thor functions for BandQ triggers
This MR works together with Phys!976 (merged) and Moore!924 (merged), and these three MRs should be tested and merged together.
Add several new thor functions to be used in bandq trigger lines.
Phys!976 (merged) need to be merged first.
Edited by Mengzhen Wang