Calculates the rescaled distance of each pixel from the outlet. Such distance is so defined:
where:
- xc is the distance along the channels
- r=c/ch the ratio between the speed in the channel state
c and the speed in the hillslopes ch
- xh the distance along the hillslopes
Inputs
- the file containing the matrix of the drainage directions (obtained with DrainDir)
- the file containing the net (obtained with ExtractNetwork)
Output
- the file containing the matrix of the rescaled distances
Notes
The program requests also the ratio r between speed in the channel and speed in hillslopes. The speed in channels is always greater than that in hillslopes.