Last change
on this file since 13415 was 12391, checked in by neise, 13 years ago |
initial commit of flightpulser.C with an additional method in zerosearch.C and an entry in README.txt
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | // file zerosearch.h
|
---|
2 | #ifndef __ZEROSEARCH_H
|
---|
3 | #define __ZEROSEARCH_H
|
---|
4 |
|
---|
5 | #include "Region.h"
|
---|
6 |
|
---|
7 | vector<Region> *zerosearch(
|
---|
8 | vector<float> &input,
|
---|
9 | int edge = 1, // search for transitions on rising edge=1, -1:falling
|
---|
10 | unsigned int step = 4, // search in steps of step
|
---|
11 | int VerbosityLevel = 1 // 1 means ... just normal warings are output.
|
---|
12 | );
|
---|
13 |
|
---|
14 | size_t ShiftRegionBy(vector<Region> &src,
|
---|
15 | int Shift,
|
---|
16 | int VerbosityLevel=0);
|
---|
17 |
|
---|
18 | size_t EnlargeRegion(vector<Region> &src,
|
---|
19 | int Left,
|
---|
20 | int Right,
|
---|
21 | int VerbosityLevel=0);
|
---|
22 |
|
---|
23 | size_t findAbsMaxInRegions(
|
---|
24 | vector<Region> ®ions,
|
---|
25 | vector<float> &data,
|
---|
26 | int VerbosityLevel=0);
|
---|
27 |
|
---|
28 | bool compMaxPosOfRegions (Region a, Region b);
|
---|
29 |
|
---|
30 | size_t removeEqualMaxima(
|
---|
31 | vector<Region> ®ions,
|
---|
32 | int VerbosityLevel=0);
|
---|
33 |
|
---|
34 | size_t removeRegionOnFallingEdge(
|
---|
35 | vector<Region> ®ions,
|
---|
36 | unsigned int FallingEdgeWidth = 100,
|
---|
37 | int VerbosityLevel=0);
|
---|
38 |
|
---|
39 |
|
---|
40 | size_t removeRegionWithMaxOnEdge(
|
---|
41 | vector<Region> ®ions,
|
---|
42 | unsigned int EdgeWidth=3,
|
---|
43 | int VerbosityLevel=0);
|
---|
44 |
|
---|
45 | size_t removeMaximaBelow(
|
---|
46 | vector<Region> ®ions,
|
---|
47 | float threshold = 2.0,
|
---|
48 | int VerbosityLevel=0);
|
---|
49 |
|
---|
50 | size_t removeMaximaAbove(
|
---|
51 | vector<Region> ®ions,
|
---|
52 | float threshold= 14.0,
|
---|
53 | int VerbosityLevel=0);
|
---|
54 |
|
---|
55 | Region FindAbsMax(
|
---|
56 | vector<Region> ®ions,
|
---|
57 | int VerbosityLevel=0);
|
---|
58 |
|
---|
59 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.