Package systole.domain.analysis.results

Examples of systole.domain.analysis.results.ParameterT


     *
     *
     * @return time between OS and RS
     */
    private ParameterT calculateT() {
        ParameterT param = new ParameterT();
        // primer punto, toma el máximo (sistole)
        param.setInitPos(new ParameterCoord(this.k.multiply(new BigDecimal(this.posOfMax)), this.finalSignal.getFinalSegment().elementAt(this.posOfMax)));

        // segundo punto, toma el maximo de la segunda derivada entre la sistole y el RS
        int lastPoint = this.posOfMax + this.finalSignal.getSecondDerivative().getPosOfMax(this.posOfMax, this.posOfIAR);
        param.setEndPos(new ParameterCoord(this.k.multiply(new BigDecimal(lastPoint)), this.finalSignal.getFinalSegment().elementAt(lastPoint)));
        return (param);
    }
View Full Code Here


     * @param initPoint
     * @param endPoint
     */
    public void updateT(ParameterCoord initPoint, ParameterCoord endPoint) {
        if (this.currentResults.getT() == null) {
            this.currentResults.setT(new ParameterT());
        }
        this.markAsDirty();
        this.currentResults.getT().setInitPos(initPoint);
        this.currentResults.getT().setEndPos(endPoint);
        this.setChanged();
View Full Code Here

TOP

Related Classes of systole.domain.analysis.results.ParameterT

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.