Mercurial > repos > gregor.m > spyboat
annotate SpyBOAT.xml @ 3:4d7f30a7e2f6 draft
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
author | gregor.m |
---|---|
date | Tue, 24 Nov 2020 13:06:26 +0000 |
parents | c59d1373230e |
children | a4c6fcf2c456 |
rev | line source |
---|---|
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
1 <tool id="SpyBOAT" name="SpyBOAT" version="0.1.0"> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
2 <requirements> |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
3 <requirement type="package" version="0.1.0">spyboat</requirement> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
4 </requirements> |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
5 <version_command>python $__tool_directory__/spyboat_cli.py --version</version_command> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
7 python $__tool_directory__/spyboat_cli.py |
0
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 |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
16 #if $masking.selection_mode == "create_static_mask": |
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
17 --masking static |
0
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 |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
57 argparse parser in spyboat_cli.py |
0
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> |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
74 <option value="create_static_mask">Create a static mask</option> |
0
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> |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
77 <when value="create_static_mask"> |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
78 <param name="mask_frame" type="integer" value="1" label="Create mask from frame" |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
79 help="Creates a static mask from the chosen frame of the input movie."> |
0
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 |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
157 Wavelet transforms a 3d-image stack (time,Y,X) pixel by pixel along the time axis and extracts/evaluates the wavelet ridge. Removal of low-frequency trends is provided via sinc filtering. |
0
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 |
3
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
188 - Masking: |
4d7f30a7e2f6
"planemo upload commit d070f1ba04a5141a65487f45b29c22767639e44b"
gregor.m
parents:
2
diff
changeset
|
189 SpyBOAT offers 'static' and 'dynamic' masking. 'static' means that a single mask is created by thresholding from a user selected frame. 'dynamic' creates a mask for each frame by thresholding, works better for moving/expanding/shrinking oscillatory fields. |
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
190 - Sampling interval: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
191 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
192 Time passed between consecutive measurements, e.g 'an image every 10 minutes'. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
193 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
194 - Smallest Period: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
195 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
196 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
|
197 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
198 - Largest period: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
199 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
200 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
|
201 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
202 - Number of periods to scan for: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
203 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
204 This is the the number of convolutions computed per pixel. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
205 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
206 Spectral resolution = ( biggest period - smallest period ) / number of periods |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
207 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
208 - Tcutoff: |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
209 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
210 The cut-off period for the sinc filter, periods larger than this one will |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
211 be removed from the signal before the transform. If no value is given, |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
212 no detrending is performed. At least a gracious cut-off of around ~3 times |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
213 the largest period to be expected is recommended. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
214 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
215 - Sliding window size |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
216 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
217 Length (in time units, e.g. hours) of the sliding window to estimate |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
218 an amplitude envelope. The signal then gets normalized by this envelope, |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
219 meaning that all amplitudes will be around ~1 after the transform. The |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
220 advantage is that signal with strong amplitude trends will have more |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
221 meaningful Wavelet powers after normalization. |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
222 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
223 ]]></help> |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
224 </tool> |