def run():
  """ The main method. 
  """ 
  description = "Add columns to a timeseries representing derivatives"""
  parent_arg_parser = modify_timeseries_shell.create_arguments_parser()
  parser = argparse.ArgumentParser(description=description,
                                   parents=[parent_arg_parser])
                                    
  modify_timeseries_shell.run(parser, add_derivatives_columns, False)
def run():
  """ The main method
  """ 
  description = "Add noise to a timeseries"
  parent_arg_parser = modify_timeseries_shell.create_arguments_parser()
  parser = argparse.ArgumentParser(description=description,
                                   parents=[parent_arg_parser])
                                    
  def add_noise_function(timecourse):
    """Simply adds the noise function to the timecourse and returns it"""
    timecourse.apply_noise_function(dream_noise_function)
    return timecourse
  modify_timeseries_shell.run(parser, add_noise_function, False)


  parser = argparse.ArgumentParser(description=description)