out3Plot.outAIMEC.getIndicesVel
- getIndicesVel(pfvCM, velocityThreshold)[source]
create indices of peak flow velocity cross max vector first above tresholdValue and first below threshold again
- Parameters
pfvCM (numpy array) – peak flow velocity cross max values along thalweg
velocityThreshold (float) – threhshold value
- Returns
indVelStart (int) – index where pfvCM first exceeds threshold
indVelZero (int) – index where pfvCM first smaller than threshold but only further downstream than indVelStart