mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05:00
Sequence detector block length is set from command line using -b <nblock>.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8394 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e2c76b5991
commit
62eabdba8e
@ -688,6 +688,7 @@ void usage(void)
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
printf("Options:\n");
|
printf("Options:\n");
|
||||||
printf(" -a <path> path to writeable data files, default=\".\"\n");
|
printf(" -a <path> path to writeable data files, default=\".\"\n");
|
||||||
|
printf(" -b x (sequence estimator block size; 1,2,3,6, or 9)\n");
|
||||||
printf(" -c write .c2 file at the end of the first pass\n");
|
printf(" -c write .c2 file at the end of the first pass\n");
|
||||||
printf(" -C maximum number of decoder cycles per bit, default 10000\n");
|
printf(" -C maximum number of decoder cycles per bit, default 10000\n");
|
||||||
printf(" -d deeper search. Slower, a few more decodes\n");
|
printf(" -d deeper search. Slower, a few more decodes\n");
|
||||||
@ -782,11 +783,14 @@ int main(int argc, char *argv[])
|
|||||||
idat=malloc(sizeof(float)*maxpts);
|
idat=malloc(sizeof(float)*maxpts);
|
||||||
qdat=malloc(sizeof(float)*maxpts);
|
qdat=malloc(sizeof(float)*maxpts);
|
||||||
|
|
||||||
while ( (c = getopt(argc, argv, "a:cC:de:f:HJmqstwvz:")) !=-1 ) {
|
while ( (c = getopt(argc, argv, "a:b:cC:de:f:HJmqstwvz:")) !=-1 ) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
case 'a':
|
case 'a':
|
||||||
data_dir = optarg;
|
data_dir = optarg;
|
||||||
break;
|
break;
|
||||||
|
case 'b':
|
||||||
|
nblocksize=(int) atoi(optarg);
|
||||||
|
break;
|
||||||
case 'c':
|
case 'c':
|
||||||
writec2=1;
|
writec2=1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user