fastwater.analysis.graphics module

Standardised graphics generating functions

Created on Wed Aug 17 15:54:43 2022

@author: chris

fastwater.analysis.graphics.directional_spread_plot(data)[source]
fastwater.analysis.graphics.flow_class_diagram(data, tec=None, velmax=None)[source]
fastwater.analysis.graphics.plotMesh(x, y, elems, figsize=(9, 6), UTM=True)[source]

Plot an unstrcutured triangular mesh from node coordinates and elements list.

Parameters
  • x (numpy.array, float) – x-coordinate of mesh nodes.

  • y (numpy.array, float) – y-coordinate of mesh nodes.

  • elems (numpy.array, integer) – triangular element corner nodes.

  • figsize (tuple, float, optional) – Figure size in inches. The default is (9,6).

  • UTM (bool, optional) – Flag for CRS of node coordinates (True=UTM or False=WGS84) . The default is True.

Returns

figHnd – Handle to the figure object created.

Return type

obj

fastwater.analysis.graphics.plot_validation_stats(obs, mod, metrics, paramStr, unitStr, min_val, max_val, info)[source]
fastwater.analysis.graphics.speed_bin_histograms(data, tec=None, binwidth=0.2, maxfrac=0.2, maxspd=4.5)[source]