class_docstr: Base class of Crosstalk.
  Please refer to crosstalk unittests for examples of how to exchange/compare values between different toolkits.
class_docstr_tok: ["Base","class","of","Crosstalk",".","Please","refer","to","crosstalk","unittests","for","examples","of","how","to","exchange\/compare","values","between","different","toolkits","."]
docstr: Fetch/evaluate var with name and optionally save to working directory
  
  Args:
      name (`str`): Name of the variable to fetch
      save (`bool`): Save the data to working directory
docstr_tok: ["Fetch\/evaluate","var","with","name","and","optionally","save","to","working","directory","Args",":","name","(","`","str","`",")",":","Name","of","the","variable","to","fetch","save","(","`","bool","`",")",":","Save","the","data","to","working","directory"]
code: def fetch(self, name, save=False):
      """
      Fetch/evaluate var with name and optionally save to working directory
  
      Args:
          name (`str`): Name of the variable to fetch
          save (`bool`): Save the data to working directory
      """
      var, var_type, attr = self.vars[name]
      raw_value = self.funcs[var_type].getter(var, attr)
      if save:
          if type(raw_value) == np.ndarray:
              np.save(self._get_filename(name) + ".npy", raw_value)
          else:
              with open(self._get_filename(name) + ".pkl", "wb") as pkl:
                  pickle.dump(raw_value, pkl)
      return raw_value
  
imports: import os
  import pickle
  import numpy
  from collections import namedtuple
label_desc: Use image node_id 9 for calling the Crosstalk obj's underlying member method code with example usage: obj.fetch(name, save) and returns: raw_value