22 DbgLv(1) <<
"2P(WT): Thread created";
31 DbgLv(1) <<
"2P(WT): Thread destroy - (1)finished?" << isFinished() <<
thrn;
34 qDebug() <<
"Thread destroy wait timeout(2secs) : Thread" <<
thrn;
36 DbgLv(1) <<
"2P(WT): Thread destroy - (2)finished?" << isFinished() <<
thrn;
37 DbgLv(1) <<
"2P(WT): Thread destroyed" <<
thrn;
92 DbgLv(1) <<
"2P(WT): thr nn" <<
thrn << nn <<
"out sol0 solk soln"
164 DbgLv(1) <<
"WT:CRR nsolutes" << nsolutes <<
"0vb" <<
solutes_i[0].v;
168 for (
int ii = 0; ii <
nsolutes; ii++ )
188 QVector< double > nnls_a( ntotal, 0.0 );
189 QVector< double > nnls_b( ntotal, 0.0 );
190 QVector< double > nnls_x( 1, 0.0 );
192 DbgLv(1) <<
"WT:CRR ns np nt" << nscans << npoints << ntotal;
201 for (
int ss = 0; ss <
nscans; ss++ )
203 for (
int rr = 0; rr <
npoints; rr++ )
206 nnls_b[ kk++ ] = edata->
value( ss, rr );
211 nnls_b.data(), nnls_x.data() );
213 double cmult = nnls_x[ 0 ];
214 DbgLv(1) <<
"WT:CRR CMULT" << cmult;
217 for (
int ii = 0; ii <
nsolutes; ii++ )
226 double cvali = wmodel.
components[ ii ].signal_concentration;
227 double cval = cvali * cmult;
228 wmodel.
components[ ii ].signal_concentration = cval;
234 DbgLv(1) <<
"WT:CRR ii cvali cval" << ii << cvali << cval;