DOKK / manpages / debian 10 / pktools / pkfilterascii.1.en
pkfilterascii(1) pkfilterascii(1)

pkfilterascii - program to filter data in an ASCII file


pkfilterascii
-i input [-ic column] [options] [advanced options]

pkfilterascii filters the columns defined by the option -ic. A varietey of filters can be selected from with the option -f. The kernel size is defined with the option -dz. Alternatively, you can define your own filter tap values (use the option -tapz for each tap). In case of spectral filtering, define the full width half max values (-fwhm value) or spectral response functions in ASCII files (-srf filename).

input ASCII file
Output ASCII file
input columns (e.g., for three dimensional input data in first three columns use: -ic 0 -ic 1 -ic 2)
filter function (to be implemented: dwt, dwti,dwt_cut)
filter kernel size in z (band or spectral dimension), must be odd (example: 3). Set dz>0 if 1-D filter must be used in band domain
transpose output with samples in rows and wavelengths in cols
verbose

Advanced options

taps used for spectral filtering
list of full width half to apply spectral filtering (-fwhm band1 -fwhm band2 ...)
list of ASCII files containing spectral response functions (two columns: wavelength response)
column number of input ASCII file containing wavelengths
list of wavelengths in output spectrum (-wout band1 -wout band2 ...)
type of interpolation for spectral filtering (see http://www.gnu.org/software/gsl/manual/html_node/Interpolation-Types.html)
wavelet type: daubechies,daubechies_centered, haar, haar_centered, bspline, bspline_centered
wavelet family (vanishing moment, see also http://www.gnu.org/software/gsl/manual/html_node/DWT-Initialization.html)
threshold to cut dwt coefficients. Use 0 to keep all.
02 January 2019