public void calcEffectiveRefractiveIndices(){
        if(this.setMeasurementsTEgrating)this.calcTEmodeEffectiveRefractiveIndices();
        if(this.setMeasurementsTMgrating)this.calcTMmodeEffectiveRefractiveIndices();
    }