docs: def add_mea(mea_yaml_path):
      '''Adds the mea design defined by the yaml file in the install folder
  
      Parameters
      ----------
      mea_yaml_file
  
      Returns
      -------
  
      '''
      path = os.path.abspath(mea_yaml_path)
  
      if path.endswith('.yaml') or path.endswith('.yml') and os.path.isfile(path):
          with open(path, 'r') as meafile:
              if use_loader:
                  elinfo = yaml.load(meafile, Loader=yaml.FullLoader)
              else:
                  elinfo = yaml.load(meafile)
              if 'pos' not in elinfo.keys():
                  if 'dim' in elinfo.keys():
                      if elinfo['dim'] != 1 and 'pitch' not in elinfo.keys():
                          raise AttributeError("The yaml file should contin either a list of 3d or 2d positions 'pos' or "
                                               "intormation about dimension and pitch ('dim' and 'pitch')")
                  else:
                      raise AttributeError("The yaml file should contin either a list of 3d or 2d positions 'pos' or "
                                           "intormation about dimension and pitch ('dim' and 'pitch') - unless dim=1")
  
          this_dir, this_filename = os.path.split(__file__)
          shutil.copy(path, os.path.join(this_dir, 'electrodes'))
          if path.endswith('.yaml'):
              electrodes = [f[:-5] for f in os.listdir(os.path.join(this_dir, "electrodes"))]
          elif path.endswith('.yml'):
              electrodes = [f[:-4] for f in os.listdir(os.path.join(this_dir, "electrodes"))]
          print('Available MEA: \n', electrodes)
          return