public double FSLErrorObsNormed() { // System.out.println("SPE:: fsl Error entry.."); PatternFeature feature = expSpikePatternData.getFsl(); // double minError = 0; // double maxError = expSpikePatternData.getCurrentDuration(); double error = patternClassifier.getDynamicFeatWeightMatrix().get(PatternFeatureID.fsl) * NormalizedErrorObsNormed(feature, modelSpikePattern.getFSL()); displayRoutine(PatternFeatureID.fsl, feature, modelSpikePattern.getFSL(), error); return error; }
private double measureSWA() { double swa = 0; double[] ISIs = modelSpikePattern.getISIs(); if (ISIs == null || ISIs.length == 0) { return swa; } double timeMin = modelSpikePattern.getTimeMin() + modelSpikePattern.getFSL(); double timeMax = modelSpikePattern.getTimeMin() + modelSpikePattern.getDurationOfCurrentInjection() - 5; double minVolt = modelSpikePattern.getModelSpikePatternData().getMinVoltage(timeMin, timeMax, 1); swa = modelVmin - minVolt; return swa; }
public double fsl() { return modelSpikePattern.getFSL(); }