Did I find the right examples for you? yes no

# segmentation.find_all_downward

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)

```from .analysisbase import ndwindow_index, valid_pt
from .lineshapes1d import gauss, ls_str2class
from .segmentation import find_all_downward, find_all_upward
from .segmentation import find_all_connected, find_all_nconnected
from ..fileio import table
```
```            ploc, pseg = find_all_thres_fast(data, pthres, msep, True)
elif algorithm == 'downward':
ploc, pseg = find_all_downward(data, pthres, True, diag)
elif algorithm == 'connected':
ploc, pseg = find_all_connected(data, pthres, True, diag)
```
```            ploc = find_all_thres_fast(data, pthres, msep, False)
elif algorithm == 'downward':
ploc = find_all_downward(data, pthres, False, diag)
elif algorithm == 'connected':
ploc = find_all_connected(data, pthres, False, diag)
```

```from .analysisbase import ndwindow_index, valid_pt
from .lineshapes1d import gauss, ls_str2class
from .segmentation import find_all_downward, find_all_upward
from .segmentation import find_all_connected, find_all_nconnected
from ..fileio import table
```
```            ploc, pseg = find_all_thres_fast(data, pthres, msep, True)
elif algorithm == 'downward':
ploc, pseg = find_all_downward(data, pthres, True, diag)
elif algorithm == 'connected':
ploc, pseg = find_all_connected(data, pthres, True, diag)
```
```            ploc = find_all_thres_fast(data, pthres, msep, False)
elif algorithm == 'downward':
ploc = find_all_downward(data, pthres, False, diag)
elif algorithm == 'connected':
ploc = find_all_connected(data, pthres, False, diag)
```