@@ -29,6 +29,7 def hildebrand_sekhon(data, navg): | |||||
29 | dataflat = data.copy().reshape(-1) |
|
29 | dataflat = data.copy().reshape(-1) | |
30 | dataflat.sort() |
|
30 | dataflat.sort() | |
31 | npts = dataflat.size #numbers of points of the data |
|
31 | npts = dataflat.size #numbers of points of the data | |
|
32 | npts_noise = 0.2*npts | |||
32 |
|
33 | |||
33 | if npts < 32: |
|
34 | if npts < 32: | |
34 | print "error in noise - requires at least 32 points" |
|
35 | print "error in noise - requires at least 32 points" |
General Comments 0
You need to be logged in to leave comments.
Login now