reprocess_fqprs

HSTB.kluster.fqpr_project.reprocess_fqprs(fqprs, newvalues, headindex, prefixes, timestamps, serial_number, polygon, vdatum_directory=None)

Convenience function for reprocessing a list of Fqpr objects according to the new arguments given here. Used in the manual patch test tool in Kluster Points View.

Parameters
  • fqprs (list) – list of each fqpr object to reprocess

  • newvalues (list) – list of new values as floats for the reprocessing [roll, pitch, heading, xlever, ylever, zlever, latency]

  • headindex (int) – head index as integer, 0 for non-dual-head or port head, 1 for starboard head

  • prefixes (list) – list of prefixes for looking up the newvalues in the xyzrph, ex: [‘rx_r’, ‘rx_p’, ‘rx_h’, ‘tx_x’, ‘tx_y’, ‘tx_z’, ‘latency’]

  • timestamps (list) – timestamp for looking up the values in the xyzrph record, one for each fqpr object

  • serial_number (str) – serial number of each fqpr instance, used in the lookup

  • polygon (ndarray) – polygon in geographic coordinates encompassing the patch test region

  • vdatum_directory (Optional[str]) – path to the vdatum directory, required for georeferencing with NOAA MLLW or MHW vertical references

Returns

  • list – list of the fqpr objects reprocessed

  • list – list of lists for each fqpr containing the reprocessed xyz data