deconvolution 実行例

help出力 deconvolution.py --help


Warning in tkprogvars.py: Environment variable tkProg_Root is not given
   tkProg_Root is speculated from the script path [D:\git\sphinx\tkProg\source\spectrum_\deconvolution.py]

time at startup: 26/06/10 07:08:04
usage: deconvolution.py [-h]
                        [--mode {plot,gs,jacobi,sp,ridge,nnls,convolve,fft,deconvolve}]
                        [--xmin XMIN] [--xmax XMAX] [--xlabel XLABEL]
                        [--ylabel YLABEL] [--flip-x {0,1}]
                        [--func-type {gauss,lorentz,lorentzian}] [--wa WA]
                        [--grange GRANGE] [--alpha ALPHA] [--dump DUMP]
                        [--nmaxiter NMAXITER] [--eps EPS] [--nsmooth NSMOOTH]
                        [--zero-correction {0,1}]
                        [--convmode {same,full,valid}]
                        [--smoothmode SMOOTHMODE] [--kzero KZERO]
                        [--klin KLIN] [--nnls-maxiter NNLS_MAXITER]
                        [--nnls-penalty {ridge,smooth}] [--template TEMPLATE]
                        [--figsize WIDTH HEIGHT]
                        [infile]

Deconvolute one-dimensional spectral data with a Gaussian or Lorentzian
instrumental function.

positional arguments:
  infile                Input data file readable by tkVariousData. (default:
                        pes.csv)

options:
  -h, --help            show this help message and exit
  --mode {plot,gs,jacobi,sp,ridge,nnls,convolve,fft,deconvolve}
                        Calculation mode. nnls is non-negative least squares
                        using the instrumental function as basis functions.
                        (default: gs)
  --xmin XMIN           Minimum x value. Use '*' or 'none' for no lower limit.
                        (default: -100000000.0)
  --xmax XMAX           Maximum x value. Use '*' or 'none' for no upper limit.
                        (default: 100000000.0)
  --xlabel XLABEL       X column index or label. (default: 0)
  --ylabel YLABEL       Y column index or label. (default: 1)
  --flip-x {0,1}, --flip_x {0,1}
                        If 1, multiply input x values by -1 before range
                        filtering, plotting, and calculation. (default: 0)
  --func-type {gauss,lorentz,lorentzian}
                        Instrumental/window-function type. (default: gauss)
  --wa WA               Half width at half maximum of the instrumental
                        function. (default: 0.12)
  --grange GRANGE       Window-function range in units of wa for sampled
                        filters. (default: 2.0)
  --alpha ALPHA         Regularization coefficient for ridge/sp modes.
                        (default: 0.1)
  --dump DUMP           Damping factor for Jacobi/Gauss-Seidel iterations.
                        (default: 1.0)
  --nmaxiter NMAXITER   Maximum iteration count for Jacobi/Gauss-Seidel modes.
                        (default: 300)
  --eps EPS             Relative convergence criterion for iterative modes.
                        (default: 0.0001)
  --nsmooth NSMOOTH     Smoothing width used by polynomial smoothing.
                        (default: 5)
  --zero-correction {0,1}
                        Clip negative values to zero after each iterative
                        update. (default: 0)
  --convmode {same,full,valid}
                        np.convolve mode used when smoothmode contains
                        convolve. (default: same)
  --smoothmode SMOOTHMODE
                        Combination of 'average', 'extend', and 'convolve'.
                        Use 'none' or an empty string for no preprocessing.
                        Default is mode-dependent: 'convolve+extend' for
                        convolve/fft, otherwise no preprocessing. (default:
                        None)
  --kzero KZERO         Number of half-window widths used for zero extension.
                        (default: 5)
  --klin KLIN           Number of half-window widths used for linear edge
                        shaping. (default: 5)
  --nnls-maxiter NNLS_MAXITER
                        Maximum iteration count for nnls / bounded least-
                        squares solvers. (default: None)
  --nnls-penalty {ridge,smooth}
                        Regularization penalty used when --mode nnls and
                        --alpha > 0. ridge penalizes coefficient size; smooth
                        penalizes first differences. Use --alpha 0 for pure
                        NNLS without regularization. (default: ridge)
  --template TEMPLATE   Excel template used by tkVariousData.to_excel.
                        (default: StandardGraph.xlsm)
  --figsize WIDTH HEIGHT
                        Matplotlib figure size. (default: (6, 6))


生成されたデータファイル

(データファイルが見つかりませんでした)

生成された画像一覧

(画像ファイルが見つかりませんでした)