Lines Matching refs:Contr

1 …FL, ntot, nterms, Qd, s, sindices, dfbothSS, modw, modwo, tnames, dfterm, dfe, dsgn, N_Brik, Contr)
352 if (Contr.do == 0),
361 if (Contr.ord1.tot > 0),
362 for (i = 1:1:Contr.ord1.tot),
364 LC.t1(i).value = Contr.ord1.cnt(i).vec * y0; % intensity for this 1st order contrast
365 tmp = msdenom(Contr.ord1.cnt(i).idx1)*Contr.ord1.cnt(i).scalar;
375 if (Contr.ord1.tot > 0),
376 for (i = 1:1:Contr.ord1.tot),
378 LC.t1(i).value = Contr.ord1.cnt(i).vec * y0; % intensity for this 1st order contrast
379 tmp = msdenom(Contr.ord1.cnt(i).idx1)*Contr.ord1.cnt(i).scalar;
384 if (Contr.ord2.tot > 0), % 7 terms: 1 (A); 2 (B); 3 (AB)
385 for (i = 1:1:Contr.ord2.tot),
387 LC.t2(i).value = Contr.ord2.cnt(i).vec * y0; % intensity for this 2nd order contrast
388 tmp = msdenom(Contr.ord2.cnt(i).idx2)*Contr.ord2.cnt(i).scalar;
390 end %for (i = 1:1:Contr.ord2.tot),
391 end %if (Contr.ord2.tot > 0),
399 if (Contr.ord1.tot > 0),
400 for (i = 1:1:Contr.ord1.tot),
402 LC.t1(i).value = Contr.ord1.cnt(i).vec * y0; % intensity for this 1st order contrast
403 tmp = msdenom(Contr.ord1.cnt(i).idx1)*Contr.ord1.cnt(i).scalar;
411 if (Contr.ord2.tot > 0), % 7 terms: 1 (A); 2 (B); 3 (C); 4 (AB), 5 (AC), 6 BC, 7 ABC
412 for (i = 1:1:Contr.ord2.tot),
414 switch Contr.ord2.cnt(i).idx1
416 switch Contr.ord2.cnt(i).idx2
422 if (Contr.ord2.cnt(i).idx2 == 3),
425 end %switch Contr.ord2.cnt(i).idx1
426 LC.t2(i).value = Contr.ord2.cnt(i).vec * y0; % intensity for this 2nd order contrast
427 tmp = what*Contr.ord2.cnt(i).scalar;
429 end %for (i = 1:1:Contr.ord2.tot),
430 end %if (Contr.ord2.tot > 0),
433 if (Contr.ord3.tot > 0),
434 for (i = 1:1:Contr.ord3.tot),
436 switch Contr.ord3.cnt(i).idx1
438 switch Contr.ord3.cnt(i).idx2
440 if (Contr.ord3.cnt(i).idx3 == 3),
449 LC.t3(i).value = Contr.ord3.cnt(i).vec * y0; % intensity for this 2nd order contrast
450 tmp = what*Contr.ord3.cnt(i).scalar;
452 end %for (i = 1:1:Contr.ord3.tot),
460 if (Contr.ord1.tot > 0),
461 for (i = 1:1:Contr.ord1.tot),
463 LC.t1(i).value = Contr.ord1.cnt(i).vec * y0; % intensity for this 1st order contrast
464 tmp = msdenom(Contr.ord1.cnt(i).idx1)*Contr.ord1.cnt(i).scalar;
471 if (Contr.ord2.tot > 0),
472 for (i = 1:1:Contr.ord2.tot),
475 switch Contr.ord2.cnt(i).idx1
477 switch Contr.ord2.cnt(i).idx2
483 switch Contr.ord2.cnt(i).idx2
488 switch Contr.ord2.cnt(i).idx2
499 LC.t2(i).value = Contr.ord2.cnt(i).vec * y0; % intensity for this 2nd order contrast
500 tmp = what*Contr.ord2.cnt(i).scalar;
506 if (Contr.ord3.tot > 0),
507 for (i = 1:1:Contr.ord3.tot),
510 switch Contr.ord3.cnt(i).idx1
513 switch Contr.ord3.cnt(i).idx2
516 switch Contr.ord3.cnt(i).idx3
522 if (Contr.ord3.cnt(i).idx3 == 4), what = msdenom(13) * (dsgn == 1 | dsgn == 2); % MSACD
529 switch Contr.ord3.cnt(i).idx2
531 …if (Contr.ord3.cnt(i).idx3 == 4), what = msdenom(14) * (dsgn == 1 | dsgn == 2) + msdenom(11) * (ds…
544 LC.t3(i).value = Contr.ord3.cnt(i).vec * y0; % intensity for this 3rd order contrast
545 tmp = what*Contr.ord3.cnt(i).scalar;
556 if (Contr.ord1.tot > 0),
557 for (i = 1:1:Contr.ord1.tot),
559 LC.t1(i).value = Contr.ord1.cnt(i).vec * y0; % intensity for this 1st order contrast
560 tmp = msdenom(Contr.ord1.cnt(i).idx1)*Contr.ord1.cnt(i).scalar;
571 if (Contr.ord2.tot > 0),
572 for (i = 1:1:Contr.ord2.tot),
575 switch Contr.ord2.cnt(i).idx1
577 switch Contr.ord2.cnt(i).idx2
584 switch Contr.ord2.cnt(i).idx2
590 switch Contr.ord2.cnt(i).idx2
595 switch Contr.ord2.cnt(i).idx2
607 LC.t2(i).value = Contr.ord2.cnt(i).vec * y0; % intensity for this 2nd order contrast
608 tmp = what*Contr.ord2.cnt(i).scalar;
614 if (Contr.ord3.tot > 0),
615 for (i = 1:1:Contr.ord3.tot),
618 switch Contr.ord3.cnt(i).idx1
621 switch Contr.ord3.cnt(i).idx2
624 switch Contr.ord3.cnt(i).idx3
628 end % switch Contr.ord3.cnt(i).idx3
631 switch Contr.ord3.cnt(i).idx3
634 end % switch Contr.ord3.cnt(i).idx3
637 if (Contr.ord3.cnt(i).idx3 == 5), what = msdenom(21) * (dsgn == 1 | dsgn == 2); % ADE
640 end % switch Contr.ord3.cnt(i).idx2
643 switch Contr.ord3.cnt(i).idx2
645 switch Contr.ord3.cnt(i).idx3
648 end % switch Contr.ord3.cnt(i).idx3
650 if (Contr.ord3.cnt(i).idx3 == 5),
658 end % switch Contr.ord3.cnt(i).idx2
660 if (Contr.ord3.cnt(i).idx2 == 4 & Contr.ord3.cnt(i).idx3 == 5),
674 end % switch Contr.ord3.cnt(i).idx1
676 LC.t3(i).value = Contr.ord3.cnt(i).vec * y0; % intensity for this 3rd order contrast
677 tmp = what*Contr.ord3.cnt(i).scalar;
679 end % for (i = 1:1:Contr.ord3.tot)
680 end % if (Contr.ord3.tot > 0)
682 if (Contr.ord4.tot > 0),
683 for (i = 1:1:Contr.ord4.tot),
685 switch Contr.ord4.cnt(i).idx1
688 switch Contr.ord4.cnt(i).idx2
690 switch Contr.ord4.cnt(i).idx3
692 switch Contr.ord4.cnt(i).idx4
705 end % switch Contr.ord4.cnt(i).idx4
707 if (Contr.ord4.cnt(i).idx4 == 5),
716 end % switch Contr.ord4.cnt(i).idx3
719 switch Contr.ord4.cnt(i).idx3
721 if (Contr.ord4.cnt(i).idx4 == 5),
730 end % switch Contr.ord4.cnt(i).idx3
735 end % switch Contr.ord4.cnt(i).idx2
738 switch Contr.ord4.cnt(i).idx2
740 switch Contr.ord4.cnt(i).idx3
742 if (Contr.ord4.cnt(i).idx4 == 5),
751 end % switch Contr.ord4.cnt(i).idx3
754 end % switch Contr.ord4.cnt(i).idx2
758 end % switch Contr.ord4.cnt(i).idx1
759 LC.t4(i).value = Contr.ord4.cnt(i).vec * y0; % intensity for this 3rd order contrast
760 tmp = what*Contr.ord4.cnt(i).scalar;
762 end % for (i = 1:1:Contr.ord4.tot)
763 end % if (Contr.ord4.tot > 0)
768 end %if (Contr.do == 0)