out3Plot.outAIMEC.addThalwegAltitude

addThalwegAltitude(ax1, rasterTransfo, pfvCrossMax, velocityThreshold, zMaxM=numpy.nan)[source]

add thalweg-altitude plot to axes the thalweg z profile and the mpfv²/2g (velocity-altitude) colorcoded using the mpfv values the mpfv values come from the cross max values along the thalweg coordinate system (aimec)

Parameters
  • rasterTransfo (dict) – dict with info on transformation from cartesian to thalweg coordinate system

  • pfvCrossMax (pandas dataFrame series) – cross profile max values of peak flow velocity transformed into thalweg coordinate system

  • zMaxM (float) – optional - value to define max limit of y -axis