Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public double fsl() {
   return modelSpikePattern.getFSL();
 }