Exemplo n.º 1
0
 public void load(Iterator<ProbeLine> ps) {
   if (transform.equals(LogTransform.LOG_TO_EXP)) {
     ps = new MapperIterator<ProbeLine, ProbeLine>(new ExpMapper(), ps);
   } else if (transform.equals(LogTransform.EXP_TO_LOG)) {
     ps = new MapperIterator<ProbeLine, ProbeLine>(new LogMapper(), ps);
   }
   correction.load(ps);
 }
Exemplo n.º 2
0
 public Iterator<ProbeLine> iterator() {
   Iterator<ProbeLine> itr = correction.iterator();
   if (transform.equals(LogTransform.LOG_TO_EXP)) {
     itr = new MapperIterator<ProbeLine, ProbeLine>(new LogMapper(), itr);
   } else if (transform.equals(LogTransform.EXP_TO_LOG)) {
     itr = new MapperIterator<ProbeLine, ProbeLine>(new ExpMapper(), itr);
   }
   return itr;
 }
Exemplo n.º 3
0
 public void removeBackground() {
   correction.correct();
 }