firstMinInDiastole = this.posBeginigDiastole + ((posOfIntersection - this.posBeginigDiastole) / 2);
posOfMaxInDiastole = posOfIntersection + 1 + this.finalSignal.getSecondDerivative().getPosOfMin(posOfIntersection, this.posOfMax + END_OF_WINDOW_TIME_FOR_DIASTOLE);
}
ParameterAOD param = new ParameterAOD();
this.posBeginigDiastole = firstMinInDiastole;
param.setInitPos(new ParameterCoord(this.k.multiply(new BigDecimal(firstMinInDiastole)), this.finalSignal.getFinalSegment().get(firstMinInDiastole)));
param.setEndPos(new ParameterCoord(this.k.multiply(new BigDecimal(posOfMaxInDiastole)), this.finalSignal.getFinalSegment().get(posOfMaxInDiastole)));
return (param);
}