Mercurial > repos > gregor.m > spyboat
annotate SpyBOAT.xml @ 2:c59d1373230e draft
"planemo upload commit eeba34c94465f41d13c2f5bcf68177d23c92d971-dirty"
author | gregor.m |
---|---|
date | Mon, 23 Nov 2020 14:38:37 +0000 |
parents | 97fd3740f41c |
children | 4d7f30a7e2f6 |
rev | line source |
---|---|
2
c59d1373230e
"planemo upload commit eeba34c94465f41d13c2f5bcf68177d23c92d971-dirty"
gregor.m
parents:
1
diff
changeset
|
1 <tool id="SpyBOAT" name="SpyBOAT" version="0.0.2"> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
2 <requirements> |
1
97fd3740f41c
"planemo upload commit eeba34c94465f41d13c2f5bcf68177d23c92d971"
gregor.m
parents:
0
diff
changeset
|
3 <requirement type="package" version="0.0.4">spyboat</requirement> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
4 </requirements> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
5 <version_command>python $__tool_directory__/cl_wrapper.py --version</version_command> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
7 python $__tool_directory__/cl_wrapper.py |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
8 --input_path '$movie' |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
9 #if $gauss_sigma: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
10 --gauss_sigma $gauss_sigma |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
11 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
12 #if $rescale_factor: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
13 --rescale $rescale_factor |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
14 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
15 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
16 #if $masking.selection_mode == "create_fixed_mask": |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
17 --masking fixed |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
18 --mask_frame $masking.mask_frame |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
19 --mask_thresh $masking.mask_thresh |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
20 #else if $masking.selection_mode == "create_dynamic_mask": |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
21 --masking dynamic |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
22 --mask_thresh $masking.mask_thresh |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
23 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
24 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
25 --dt $dt |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
26 --Tmin $tmin |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
27 --Tmax $tmax |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
28 --nT $nt |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
29 #if $tcutoff |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
30 --Tcutoff $tcutoff |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
31 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
32 #if $win_size: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
33 --win_size $win_size |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
34 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
35 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
36 --phase_out $phase_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
37 --period_out $period_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
38 --power_out $power_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
39 --amplitude_out $amplitude_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
40 #if $preprocessed_out: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
41 --preprocessed_out $preprocessed_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
42 #end if |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
43 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
44 --html_fname $html_out |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
45 --report_img_path '$html_out.extra_files_path' |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
46 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
47 --ncpu "\${GALAXY_SLOTS:-8}" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
48 > $log |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
49 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
50 ]]></command> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
51 <inputs> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
52 <param name="movie" type="data" format="tiff" label="Movie to process" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
53 help="Select a movie to Wavelet process"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
54 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
55 <!-- |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
56 The following Wavelet parameters must have the same numerical type as defined in the |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
57 argparse parser in cl_wrapper.py |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
58 --> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
59 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
60 <param name="gauss_sigma" type="float" label="Sigma" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
61 help="Width of the Gaussian smoothing kernel, leave blank if no pre-smoothing desired." optional="true"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
62 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
63 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
64 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
65 <param name="rescale_factor" type="integer" value="" label="Rescale factor" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
66 help="Downsamples the input movie by this factor given in %, leave blank to disable downsampling" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
67 optional="true"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
68 <validator type="in_range" min="0" max="99"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
69 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
70 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
71 <conditional name="masking"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
72 <param label="Masking the output" name="selection_mode" type="select" help="Create a mask from the (blurred/rescaled) input to mask out regions without oscillations/signal in the output"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
73 <option selected="true" value="no_masking">No masking</option> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
74 <option value="create_fixed_mask">Create a fixed mask</option> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
75 <option value="create_dynamic_mask">Create a dynamic mask</option> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
76 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
77 <when value="create_fixed_mask"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
78 <param name="mask_frame" type="integer" value="1" label="Create mask from frame" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
79 help="Creates a fixed mask from the chosen frame of the input movie."> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
80 <validator type="in_range" min="1" max="99999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
81 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
82 <param name="mask_thresh" type="float" value="0" label="Threshold" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
83 help="All pixels below this threshold will be masked in the output."> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
84 <validator type="in_range" min="0" max="999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
85 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
86 </when> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
87 <when value="create_dynamic_mask"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
88 <param name="mask_thresh" type="float" value="0" label="Threshold" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
89 help="For each frame of the input, all pixels below this threshold will be masked in the output."> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
90 <validator type="in_range" min="0" max="999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
91 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
92 </when> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
93 </conditional> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
94 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
95 <param name="dt" type="float" value="1" label="Sampling interval" help="Time span between two frames"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
96 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
97 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
98 <param name="tmin" type="float" value="2" label="Smallest period" help="Minimal period to scan for"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
99 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
100 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
101 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
102 <param name="tmax" type="float" value="30" label="Largest period" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
103 help="Maximal period to scan for"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
104 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
105 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
106 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
107 <param name="nt" type="integer" value="150" label="Number of periods to scan for" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
108 help="Determines period resolution of the Wavelet power spectra"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
109 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
110 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
111 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
112 <param name="tcutoff" type="float" value="40" label="Tcutoff" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
113 help="Cut-off-period for sinc filter detrending, a blank field disables detrending" optional="true"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
114 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
115 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
116 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
117 <param name="win_size" type="float" value="" label="Sliding window size" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
118 help="Window size for amplitude envelope estimation, leave blank to disable normalization " |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
119 optional="true"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
120 <validator type="in_range" min="0" max="9999999"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
121 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
122 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
123 <conditional name="save_preprocessed"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
124 <param label="Save preprocessed input" name="selection" type="select" help="Save the blurred/rescaled input to history? "> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
125 <option selected="true" value="No">No</option> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
126 <option value="Yes">Yes</option> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
127 </param> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
128 </conditional> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
129 </inputs> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
130 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
131 <outputs> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
132 <data name="phase_out" format="tiff" label="phase_${movie.name}"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
133 <data name="period_out" format="tiff" label="period_${movie.name}"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
134 <data name="power_out" format="tiff" label="power_${movie.name}"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
135 <data name="amplitude_out" format="tiff" label="amplitude_${movie.name}"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
136 <data name="preprocessed_out" format="tiff" label="preproc_${movie.name}"> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
137 <filter>save_preprocessed['selection'] == 'Yes'</filter> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
138 </data> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
139 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
140 <data name="log" format="txt" label="log_${movie.name}.txt"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
141 <data format="html" name="html_out" label="Report_${movie.name}"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
142 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
143 </outputs> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
144 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
145 <tests> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
146 <test> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
147 <param name="movie" value="test_movie.tif" ftype="tiff"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
148 <output name="phase_out" file="phase_out.tif" ftype="tiff" compare="sim_size"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
149 <output name="period_out" file="period_out.tif" ftype="tiff" compare="sim_size"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
150 <output name="power_out" file="power_out.tif" ftype="tiff" compare="sim_size"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
151 <output name="amplitude_out" file="amplitude_out.tif" ftype="tiff" compare="sim_size"/> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
152 </test> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
153 </tests> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
154 <help><![CDATA[ |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
155 **What it does** |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
156 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
157 Wavelet transforms a 3d-image stack (time,Y,X) pixel by pixel and extracts/evaluates the wavelet ridge. Removal of low-frequency trends is provided via sinc filtering. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
158 There are four output movies generated (phase, period, amplitude and power). They have exactly the same dimensions (time,Y,X) as the (rescaled) input. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
159 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
160 Pre-smoothing of the data with Gaussian kernels is supported and often recommendable. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
161 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
162 To limit the number of Wavelet transformations (computing time), downscaling of the input movie resolution is recommended. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
163 Trimming away parts of the movie with no relevant data (e.g. outer dark edges) also speeds up the processing. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
164 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
165 If multiple channels are present in your data, extract the channel of interest beforehand (e.g. with Fiji). |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
166 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
167 **Author**: Gregor Mönke (gregor.moenke@embl.de). |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
168 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
169 **Wrapper by**: Jelle Scholtalbers (jelle.scholtalbers@embl.de). |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
170 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
171 **Know what you are doing** |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
172 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
173 .. class:: warningmark |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
174 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
175 You will want to have understood the basics of time-frequency analysis with Wavelets, find more information about the analysis strategy employed at https://github.com/tensionhead/pyBOAT |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
176 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
177 **Parameter List** |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
178 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
179 - Sigma: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
180 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
181 The Kernel bandwidth (in pixels) for the Gaussian kernels to use for pre-smoothing the input data. The default value of zero means that no pre-smoothing is done. Set this number to a desired kernel width to turn on pre-smoothing. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
182 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
183 - Rescale factor: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
184 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
185 Given in %, downsamples the spatial resolution of the input movie. This speeds |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
186 up the whole analysis by a lot. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
187 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
188 - Sampling interval: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
189 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
190 Time passed between consecutive measurements, e.g 'an image every 10 minutes'. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
191 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
192 - Smallest Period: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
193 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
194 The minimal period to scan for, this is the higher (in frequency) end of the spectrum. A warning will be given during processing if the chosen value deceeds the Nyquist limit (2 times the sampling interval). |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
195 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
196 - Largest period: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
197 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
198 The maximal period to scan for, this is the lower (in frequency) end of the spectrum. The inbuild Sinc filter will remove any periods larger than this form the data. Due to the 'roll off' of the filter, this value should be chosen generously. A warning will be given during processing if the chosen value exceeds the length of the time series. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
199 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
200 - Number of periods to scan for: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
201 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
202 This is the the number of convolutions computed per pixel. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
203 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
204 Spectral resolution = ( biggest period - smallest period ) / number of periods |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
205 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
206 - Tcutoff: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
207 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
208 The cut-off period for the sinc filter, periods larger than this one will |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
209 be removed from the signal before the transform. If no value is given, |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
210 no detrending is performed. At least a gracious cut-off of around ~3 times |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
211 the largest period to be expected is recommended. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
212 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
213 - Sliding window size |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
214 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
215 Length (in time units, e.g. hours) of the sliding window to estimate |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
216 an amplitude envelope. The signal then gets normalized by this envelope, |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
217 meaning that all amplitudes will be around ~1 after the transform. The |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
218 advantage is that signal with strong amplitude trends will have more |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
219 meaningful Wavelet powers after normalization. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
220 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
221 ]]></help> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
222 </tool> |