update

Detection.update(start_time=None, end_time=None, max_pgv=None)[source]

Update the attributes of the detection.

Parameters
  • start_time (obspy.UTCDateTime of str) – The new start time of the detection.

  • end_time (obspy.UTCDateTime of str) – The new end time of the detection.

  • max_pgv (dict) – The new maximum PGV data. A dictionary of {station.nsl_string: PGV values}.