<< MainBifurcationNode | Ordering streams and traversing networks | MakeStreamLines >>

CLaRiNet 0.1 beta >> Ordering streams and traversing networks > MakeStrahlerStreams

# MakeStrahlerStreams

Extracts Strahler streams

### Calling Sequence

    [ STREAMS , StreamOrder , downStream , downCell ] = MakeStrahlerStreams ( handle_tree , threshold )

### Arguments

handle_tree

  integer: handle of the cell tree defining the catchment in which to compute Strahler orders.

threshold

  Support area (i.e. minimal weight) defining the first-order streams.

STREAMS

  output: object of type `list` containing the stream links. `STREAMS(i)` is a vector containing the cells (recor numbers) of stream link i, sorted downstream to upstream.

StreamOrder

  output: vector of size `size(STREAMS,'*')`. `StreamOrder(i)` is the stream order of link i.

downStream

  output: vector of size `size(STREAMS,'*')` containing link topology. `downStream(i)` is the index of the stream link in which stream link i is draining.

downCell

  output: vector of size `size(STREAMS,'*')`. `downCell(i)` is the ID of the cell in which stream link i is draining. According to the topology this cell `downCell(i)` is part of stream link `downStream(i)` and can be found in the vector `STREAMS(downStream(i))`.

### Description

Returns a list of links and their Strahler order, as well as the links topology.

### Examples

### References

### See Also

- CreateCellTree', XY2rec, rec2XY

### Authors

- Nicolas LE MOINE

<< MainBifurcationNode | Ordering streams and traversing networks | MakeStreamLines >>