diff --git a/PyHum/_pyhum_correct.py b/PyHum/_pyhum_correct.py index f4d6cf7..6bc53fa 100755 --- a/PyHum/_pyhum_correct.py +++ b/PyHum/_pyhum_correct.py @@ -201,6 +201,10 @@ def correct(humfile, sonpath, maxW=1000, doplot=1, dofilt=0, correct_withwater=0 else: print "Phase preserving filter will be applied" + if correct_withwater: + correct_withwater = int(correct_withwater) + if correct_withwater==1: + print "Correction will be applied without removing water column" # start timer if os.name=='posix': # true if linux/mac or cygwin on windows diff --git a/PyHum/test.py b/PyHum/test.py index 615a659..6c1eee2 100755 --- a/PyHum/test.py +++ b/PyHum/test.py @@ -96,7 +96,7 @@ def dotest(): # correction specific settings maxW = 1000 # rms output wattage - dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans) + dofilt = 0 # 1 = apply a phase preserving filter (WARNING!! takes a very long time for large scans) correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections) # for shadow removal diff --git a/README.md b/README.md index 7d91cb8..9222661 100755 --- a/README.md +++ b/README.md @@ -262,7 +262,7 @@ which carries out the following operations: # correction specific settings maxW = 1000 # rms output wattage - dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans) + dofilt = 0 # 1=apply a phase preserving filter (WARNING!! takes a very long time for large scans) correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections) # for shadow removal diff --git a/docs/README.rst b/docs/README.rst index 8095f6f..0632ae5 100755 --- a/docs/README.rst +++ b/docs/README.rst @@ -237,7 +237,7 @@ which carries out the following operations:: # correction specific settings maxW = 1000 # rms output wattage - dofilt = 1 # apply a phase preserving filter (WARNING!! takes a very long time for large scans) + dofilt = 0 # 1=apply a phase preserving filter (WARNING!! takes a very long time for large scans) correct_withwater = 0 # don't retain water column in radiometric correction (1 = retains water column for radiomatric corrections) # for shadow removal diff --git a/docs/_build/doctrees/README.doctree b/docs/_build/doctrees/README.doctree index d3446c7..4609d6c 100644 Binary files a/docs/_build/doctrees/README.doctree and b/docs/_build/doctrees/README.doctree differ diff --git a/docs/_build/doctrees/environment.pickle b/docs/_build/doctrees/environment.pickle index 6040ede..43ba99f 100644 Binary files a/docs/_build/doctrees/environment.pickle and b/docs/_build/doctrees/environment.pickle differ diff --git a/docs/_build/doctrees/examples.doctree b/docs/_build/doctrees/examples.doctree index e49961f..529b9b8 100644 Binary files a/docs/_build/doctrees/examples.doctree and b/docs/_build/doctrees/examples.doctree differ diff --git a/docs/_build/doctrees/index.doctree b/docs/_build/doctrees/index.doctree index 3d8981f..8541074 100644 Binary files a/docs/_build/doctrees/index.doctree and b/docs/_build/doctrees/index.doctree differ diff --git a/docs/_build/doctrees/pyhum.map.doctree b/docs/_build/doctrees/pyhum.map.doctree index 62960a3..5b7268a 100644 Binary files a/docs/_build/doctrees/pyhum.map.doctree and b/docs/_build/doctrees/pyhum.map.doctree differ diff --git a/docs/_build/doctrees/pyhum.read.doctree b/docs/_build/doctrees/pyhum.read.doctree index ab241a1..f790e45 100644 Binary files a/docs/_build/doctrees/pyhum.read.doctree and b/docs/_build/doctrees/pyhum.read.doctree differ diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo index c3ba668..c47b42c 100644 --- a/docs/_build/html/.buildinfo +++ b/docs/_build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 71a759cea4207085537259d56964f2c3 +config: 998a16042a5a9e95d517d0501fd75e7e tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_build/html/README.html b/docs/_build/html/README.html index 988d0cc..9d7f259 100644 --- a/docs/_build/html/README.html +++ b/docs/_build/html/README.html @@ -6,7 +6,7 @@
-