def get_storage_scheme(): '''Returns acquisition data storage scheme. ''' handle = pygadgetron.cGT_getAcquisitionsStorageScheme() check_status(handle) scheme = pyiutil.charDataFromHandle(handle) pyiutil.deleteDataHandle(handle) return scheme
def value_of_gadget_property(self, id, prop): ''' Returns the string representation of the value of specified property. id : gadget id prop: property name (string) ''' hg = _parameterHandle(self.handle, 'gadget_chain', id) hv = _parameterHandle(hg, 'gadget', prop) value = pyiutil.charDataFromHandle(hv) pyiutil.deleteDataHandle(hg) pyiutil.deleteDataHandle(hv) return value
def char_par(handle, group, par): h = parameter(handle, group, par) check_status(h) value = pyiutil.charDataFromHandle(h) pyiutil.deleteDataHandle(h) return value
def _char_par(handle, set, par): h = pygadgetron.cGT_parameter(handle, set, par) check_status(h) value = pyiutil.charDataFromHandle(h) pyiutil.deleteDataHandle(h) return value