The following is a description of the process flow for cmst.c, and any codes based on this master. This is the C version of bmst.f, and was named differently to allow both executables to be located in the same directory.
man in_chk
for more on this subroutine.
for (jrec=0;jrec<ntraces;jrec++) //...trace loop { if(c_bsegin(jrec,s1,npts,&hd,h1)!=0) //...read a trace { fprintf(stderr,"ABORT--c_bsegin"); goto quit_it; } . . . . . [ DO SOME COMPUTATIONS ON SIGNAL S1 ] if(c_bsegout(jrec,s2,npts,&hd,h2)!=0) //...output a trace { fprintf(stderr,"ABORT--c_bsegout"); goto quit_it; } exbar(ntraces,bar,ibar,invbar,jrec+1); //...display progress bar } // end trace loop-----------------------------
pm 2018-04-08