# HG changeset patch # User jcb-mpl # Date 1624613077 0 # Node ID 3a9c0c99bb5403437dfda8af0f833372a5f57cfc # Parent 9b2e122472a4f399b6da3b491032a77b6cf75fc6 avec scilab-6.1.0 diff -r 9b2e122472a4 -r 3a9c0c99bb54 detrend_sci.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/detrend_sci.xml Fri Jun 25 09:24:37 2021 +0000 @@ -0,0 +1,126 @@ + + Detrend + + + scilab + + + + + + + + + + + + lasterror(); ... + if ~isdef('pls') then ... + atomsInstall('FACT'); ... + atomsLoad('FACT'); ... + end; ... + lasterror(%f); ... + x=glx_tab2div("${Xdata.file_name}"); ... + x2=detrending(x,${degre}); ... + div2tab(x2,"${DT}"); ... + if ~isempty(lasterror(%f)) ... + write(0,lasterror()) ... + end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: warningmark + +**TIP:** If your data is not TAB delimited, use *Convert format data Tools->Convert* + +.. class:: infomark + +**Authors** Fabien Gogé (IRSTEA), Virginie Rossard (INRA), Eric Latrille (INRA), Jean-Michel Roger (IRSTEA), Jean-Claude Boulet (INRA) + + +--------------------------------------------------- + +======= +DETREND +======= + +----------- +Description +----------- + + +Performs **Detrend**, a baseline correction by orthogonal projection onto a n-order polynomial. +Missing values are not allowed. This scripts uses the FACT-version module. + + +----------- +Input files +----------- + +A matrix of numeric data with headers (tabular format) and decimal separator ".". + + ++--------+-------+--------+ +| Name | 400 | 402 | ++========+=======+========+ +|M102T645| 0.63 |0.64 | ++--------+-------+--------+ +|M105T604| 0.5 |0.49 | ++--------+-------+--------+ + +---------- +Parameters +---------- + +**Degree of the polynom** + +The degree of the polynom used in the Detrend correction + +------------ +Output files +------------ + +**DT(input.file_name)** + +A dataset containing the input file after the Detrend correction; format = tabular. + + + + + + 10.1366/0003702894202201 + + + + +