code: def get_kernel_data(self):
          
          return {
              'subplex_scratch_float': LocalMemory(
                  'mot_float_type', 4 + self._var_replace_dict['NMR_PARAMS'] * 2
                                      + self._var_replace_dict['MAX_SUBSPACE_LENGTH'] * 2
                                      + (self._var_replace_dict['MAX_SUBSPACE_LENGTH'] * 2
                                         + self._var_replace_dict['MAX_SUBSPACE_LENGTH']+1)**2 + 1),
              'subplex_scratch_int': LocalMemory(
                  'int', 2 + self._var_replace_dict['NMR_PARAMS']
                           + (self._var_replace_dict['NMR_PARAMS'] // self._var_replace_dict['MIN_SUBSPACE_LENGTH'])),
              'initial_simplex_scale': LocalMemory('mot_float_type', self._var_replace_dict['NMR_PARAMS'])
          }
docs: Get the kernel data needed for this optimization routine to work.