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: Set up a working directory for save/load numpy values(.npy) or python data (.pkl)
  
  Args:
      dir (`str`): Working directory
docstr_tok: ["Set","up","a","working","directory","for","save\/load","numpy","values","(",".npy",")","or","python","data","(",".pkl",")","Args",":","dir","(","`","str","`",")",":","Working","directory"]
code: def set_workdir(self, dir):
      """
      Set up a working directory for save/load numpy values(.npy) or python data (.pkl)
  
      Args:
          dir (`str`): Working directory
      """
      self.work_dir = dir
      if not os.path.exists(dir):
          os.makedirs(dir)
  
imports: import os
  import pickle
  import numpy
  from collections import namedtuple
label_desc: Use image node_id 2 for calling the Crosstalk obj's underlying member method code with example usage: obj.set_workdir(dir) without return types