Mercurial > repos > gregor.m > spyboat
annotate run_tests.sh @ 0:1d62de03829d draft
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
author | gregor.m |
---|---|
date | Mon, 23 Nov 2020 13:31:47 +0000 |
parents | |
children | 4d7f30a7e2f6 |
rev | line source |
---|---|
0
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
1 #!/usr/bin/env bash |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
2 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
3 # example command, minimal options: no detrending, |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
4 # no rescaling, no masking, no amplitude norm., no blurring |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
5 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
6 INPUT_PATH='./test-data/test-movie.tif' |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
7 # INPUT_PATH='./test-data/SCN_L20_Evans2013-half.tif' |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
8 SCRIPT_PATH='.' |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
9 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
10 python3 $SCRIPT_PATH/cl_wrapper.py --input_path $INPUT_PATH --phase_out phase_twosines_out.tif --period_out period_twosines_out.tif --power_out power_twosines_out.tif --amplitude_out amplitude_twosines_out.tif --dt .5 --Tmin 20 --Tmax 30 --nT 200 --ncpu 6 --masking dynamic --preprocessed_out preproc_two_sines.tif --gauss_sigma 3 --rescale 50 --Tcutoff 40 --masking fixed --mask_frame 10 --mask_thresh 8 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
11 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
12 printf "\n" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
13 # printf "\nError examples:\n" |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
14 |
1d62de03829d
"planemo upload commit c6cd06d44dce1eef9136017289d362f144687dc1"
gregor.m
parents:
diff
changeset
|
15 # python3 $SCRIPT_PATH/cl_wrapper.py --input_path $INPUT_PATH --phase_out phase_twosines_out.tif --period_out period_twosines_out.tif --power_out power_twosines_out.tif --amplitude_out amplitude_twosines_out.tif --dt 2. --Tmin 20 --Tmax 30 --nT 200 --ncpu 6 --save_input True --masking fixed |