code: def main(handwriting_datasets_file, analyze_features):
      
      # Load from pickled file
      logging.info("Start loading data '%s' ...", handwriting_datasets_file)
      loaded = pickle.load(open(handwriting_datasets_file))
      raw_datasets = loaded['handwriting_datasets']
      logging.info("%i datasets loaded.", len(raw_datasets))
      logging.info("Start analyzing...")
  
      if analyze_features:
          featurelist = [(features.AspectRatio(), "aspect_ratio.csv"),
                         (features.ReCurvature(1), "re_curvature.csv"),
                         (features.Height(), "height.csv"),
                         (features.Width(), "width.csv"),
                         (features.Time(), "time.csv"),
                         (features.Ink(), "ink.csv"),
                         (features.StrokeCount(), "stroke-count.csv")]
          for feat, filename in featurelist:
              logging.info("create %s...", filename)
              analyze_feature(raw_datasets, feat, filename)
  
      # Analyze everything specified in configuration
      cfg = utils.get_project_configuration()
      if 'data_analyzation_queue' in cfg:
          metrics = dam.get_metrics(cfg['data_analyzation_queue'])
          for metric in metrics:
              logging.info("Start metric %s...", str(metric))
              metric(raw_datasets)
      else:
          logging.info("No 'data_analyzation_queue' in ~/.hwrtrc")
docs: Start the creation of the wanted metric.