646 |
|
srcsizerat, shadthresh, shadcert); |
647 |
|
fprintf(ambfp, "-ss %g -st %g -lr %d -lw %g ", specjitter, |
648 |
|
specthresh, maxdepth, minweight); |
649 |
< |
fprintf(ambfp, "-cw %f %f -cs %d ", WLPART[3], WLPART[0], NCSAMP); |
649 |
> |
fprintf(ambfp, "-cw %g %g -cs %d ", WLPART[3], WLPART[0], NCSAMP); |
650 |
|
if (octname != NULL) |
651 |
|
fputs(octname, ambfp); |
652 |
< |
fputc('\n', ambfp); |
652 |
> |
fputc('\n', ambfp); /* end of command line, not header! */ |
653 |
|
fprintf(ambfp, "SOFTWARE= %s\n", VersionID); |
654 |
|
fputnow(ambfp); |
655 |
+ |
AMB_CNDX = CNDX; /* use current spectral sampling */ |
656 |
+ |
AMB_WLPART = WLPART; |
657 |
|
fputwlsplit(WLPART, ambfp); |
658 |
|
fputncomp(NCSAMP, ambfp); |
659 |
|
fputformat(AMBFMT, ambfp); |