Skip to content

Commit 1ab6311

Browse files
author
Daniel Buscombe
committed
Mon Sep 7 15:10:00 MST 2015
1 parent 51c3cfb commit 1ab6311

27 files changed

Lines changed: 80 additions & 76 deletions

PyHum/_pyhum_correct.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ def correct(humfile, sonpath, maxW=1000, doplot=1, dofilt=0, correct_withwater=0
201201
else:
202202
print "Phase preserving filter will be applied"
203203

204+
if correct_withwater:
205+
correct_withwater = int(correct_withwater)
206+
if correct_withwater==1:
207+
print "Correction will be applied without removing water column"
204208

205209
# start timer
206210
if os.name=='posix': # true if linux/mac or cygwin on windows

PyHum/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def dotest():
9696

9797
# correction specific settings
9898
maxW = 1000 # rms output wattage
99-
dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans)
99+
dofilt = 0 # 1 = apply a phase preserving filter (WARNING!! takes a very long time for large scans)
100100
correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections)
101101

102102
# for shadow removal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ which carries out the following operations:
262262
263263
# correction specific settings
264264
maxW = 1000 # rms output wattage
265-
dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans)
265+
dofilt = 0 # 1=apply a phase preserving filter (WARNING!! takes a very long time for large scans)
266266
correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections)
267267
268268
# for shadow removal

docs/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ which carries out the following operations::
237237
238238
# correction specific settings
239239
maxW = 1000 # rms output wattage
240-
dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans)
240+
dofilt = 0 # 1=apply a phase preserving filter (WARNING!! takes a very long time for large scans)
241241
correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections)
242242

243243
# for shadow removal
4 Bytes
Binary file not shown.
-284 Bytes
Binary file not shown.
-2 Bytes
Binary file not shown.

docs/_build/doctrees/index.doctree

-5 Bytes
Binary file not shown.
5 Bytes
Binary file not shown.
5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)