wrap data threshold get/set (closes #19)