File: sensitivity1.cc

package info (click to toggle)
simrisc 16.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,877; fortran: 665; makefile: 112; ansic: 112; sh: 107
file content (20 lines) | stat: -rw-r--r-- 674 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#define XERR
#include "loop.ih"

double Loop::sensitivity(ModBase *modBase) const
{
                // NOTE: d_indices uses indices (0..4) instead of numbers
                //       (as used in the original code)
    return modBase->sensitivity(d_indices[d_round]);
}

////Calculate sensitivity for the modality and breastdensity (possibility to make function of age and tumorsize in the future but not used for now)
//float calcSens(float age, float tumorsize, int modality, int density ) {
//    switch (modality) {
//        case 0: //Mammography
//            return sensMam[density-1];
//        case 1: //Tomo
//            return sensTomo[density-1];
//    }
//}
//