From 1580f0caef8010f150697c28f288ebeaa3d6a706 Mon Sep 17 00:00:00 2001 From: illysam Date: Wed, 3 Mar 2010 13:08:41 +0000 Subject: [PATCH] Hooke(GUI) fixed default settings in ini files --- plugins/autopeak.ini | 8 ++++---- plugins/core.ini | 5 ++--- plugins/export.ini | 18 +++++++++--------- plugins/fit.ini | 3 +++ plugins/flatfilts.ini | 8 -------- plugins/generalvclamp.ini | 4 ---- plugins/multidistance.ini | 1 - plugins/pcluster.ini | 10 ---------- plugins/playlist.ini | 6 +++--- plugins/procplots.ini | 6 +++--- 10 files changed, 24 insertions(+), 45 deletions(-) delete mode 100644 plugins/pcluster.ini diff --git a/plugins/autopeak.ini b/plugins/autopeak.ini index 7e7b077..0f287aa 100644 --- a/plugins/autopeak.ini +++ b/plugins/autopeak.ini @@ -75,7 +75,7 @@ value = False [[persistence_length]] - default = 0.35e-9 + default = 0.35 minimum = 0 type = float value = 0.35 @@ -85,20 +85,20 @@ maximum = 10000 minimum = 1 type = integer - value = 2 + value = 1 [[plot_size]] default = 20 maximum = 10000 minimum = 1 type = integer - value = 4 + value = 20 [[plot_style]] default = scatter elements = plot, scatter type = enum - value = plot + value = scatter [[rebase]] default = False diff --git a/plugins/core.ini b/plugins/core.ini index 278b7c8..a469476 100644 --- a/plugins/core.ini +++ b/plugins/core.ini @@ -2,7 +2,6 @@ [[order]] default = '"correct", "median", "absvalue", "flatten", "multiplier", "clamp", "threshold", "coincident", "showconvoluted", "centerzero"' elements = correct, median, absvalue, flatten, multiplier, clamp, threshold, coincident, showconvoluted, centerzero - #elements = correct, median, absvalue, flatten, multiplier, clamp, threshold, coincident, showconvoluted, centerzero type = arraystring value = '"correct" "median" "absvalue" "flatten" "multiplier" "clamp" "threshold" "coincident" "showconvoluted" "centerzero"' @@ -70,7 +69,7 @@ [[playlist]] default = playlists\test.hkp type = filename - value = R:\Programming\Eclipse\HookeGUI\src\playlists\test1.hkp + value = playlists\test.hkp [[use_zero]] default = True @@ -80,7 +79,7 @@ [[workdir]] default = "" type = folder - value = R:\Programming\Eclipse\HookeGUI\src + value = [[x_decimals]] default = 2 diff --git a/plugins/export.ini b/plugins/export.ini index d0b1540..a72b32e 100644 --- a/plugins/export.ini +++ b/plugins/export.ini @@ -2,7 +2,7 @@ [[ext]] default = txt type = string - value = csv + value = txt [[folder]] default = "" @@ -12,12 +12,12 @@ [[prefix]] default = "" type = string - value = "_fit " + value = [[separator]] default = "," type = string - value = ", " + value = "," [force_curve] [[ext]] @@ -33,18 +33,18 @@ [[prefix]] default = "" type = string - value = _ + value = [[separator]] default = "," type = string - value = ", " + value = "," [overlay] [[prefix]] - default = origin + default = overlay_ type = string - value = _ + value = overlay_ [notes] [[filename]] @@ -76,9 +76,9 @@ [[filename]] default = results.txt type = filename - value = + value = results.txt [[separator]] default = "," type = string - value = ", " + value = "," diff --git a/plugins/fit.ini b/plugins/fit.ini index 34df5c1..9151d40 100644 --- a/plugins/fit.ini +++ b/plugins/fit.ini @@ -11,16 +11,19 @@ minimum = 0 type = float value = 3 + [[L_helical]] default = 0.28 minimum = 0 type = float value = 0.28 + [[L_planar]] default = 0.358 minimum = 0 type = float value = 0.358 + [[temperature]] default = 293 minimum = 0 diff --git a/plugins/flatfilts.ini b/plugins/flatfilts.ini index 110e565..8736476 100644 --- a/plugins/flatfilts.ini +++ b/plugins/flatfilts.ini @@ -23,7 +23,6 @@ minimum = 0 type = float value = 0.2 - visible = False [[medianfilter]] default = 7 @@ -66,13 +65,6 @@ value = 0.005 [flatfilt] - #[[median_filter]] - #default = 7 - #maximum = 100 - #minimum = 0 - #type = integer - #value = 7 - [[min_npks]] default = 4 maximum = 10000 diff --git a/plugins/generalvclamp.ini b/plugins/generalvclamp.ini index c0e67c9..39b4808 100644 --- a/plugins/generalvclamp.ini +++ b/plugins/generalvclamp.ini @@ -83,10 +83,6 @@ value = retraction [forcebase] - [[baseline]] - type = none - value = 1 - [[baseline_color]] default = black type = color diff --git a/plugins/multidistance.ini b/plugins/multidistance.ini index 778aef4..4732117 100644 --- a/plugins/multidistance.ini +++ b/plugins/multidistance.ini @@ -28,7 +28,6 @@ minimum = 0 type = float value = 0.2 - visible = False [[medianfilter]] default = 7 diff --git a/plugins/pcluster.ini b/plugins/pcluster.ini deleted file mode 100644 index 14eeefc..0000000 --- a/plugins/pcluster.ini +++ /dev/null @@ -1,10 +0,0 @@ -[pcluster] -auto_fit_nm = 5 -auto_fit_points = 50 -auto_left_baseline = 20 -auto_max_p = 10 -auto_min_p = 0.005 -auto_right_baseline = 20 -auto_slope_span = 20 -baseline_clicks = 0 -temperature = 301 diff --git a/plugins/playlist.ini b/plugins/playlist.ini index 943e9c1..8848598 100644 --- a/plugins/playlist.ini +++ b/plugins/playlist.ini @@ -2,7 +2,7 @@ [[detect_mfp1d]] default = False type = boolean - value = True + value = False [[folder]] default = "" @@ -18,10 +18,10 @@ [[filename]] default = test.hkp type = filename - value = R:\Programming\Python\Gui\untitled2.hkp + value = test.hkp [savelist] [[filename]] default = untitled.hkp type = filename - value = playlists\test.hkp + value = untitled.hkp diff --git a/plugins/procplots.ini b/plugins/procplots.ini index 42e3aa5..f0b8556 100644 --- a/plugins/procplots.ini +++ b/plugins/procplots.ini @@ -9,7 +9,7 @@ [[convolution]] default = "[6.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0]" type = string - value = "[11.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0]" + value = "[6.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0]" [[row]] default = 2 @@ -48,7 +48,7 @@ default = retraction elements = extension, retraction, both type = enum - value = both + value = retraction [fft] [[column]] @@ -92,4 +92,4 @@ maximum = 100 minimum = 0 type = integer - value = 7 + value = 0 -- 2.26.2