示例#1
0
        private static void SetNNSmoothProcessed(Culture culture, List <GrowthMeasurement> smooth)
        {
            var neuro  = new Neural();
            var fitted = Modules.Clone(smooth);

            fitted = neuro.GetFittedData(fitted);
            culture.GrowthMeasurements.SetMeasurements(fitted, DataType.Fitted);
        }
示例#2
0
        private static void SetNNSmoothFirstDeriv(bool apply, List <GrowthMeasurement> firstDeriv, ref Culture culture)
        {
            if (!apply)
            {
                return;
            }
            var neuroD      = new Neural();
            var filteredDer = neuroD.GetFittedData(firstDeriv);

            culture.GrowthMeasurements.SetMeasurements(filteredDer, DataType.FirstDerivative);
        }
示例#3
0
        private static List <GrowthMeasurement> NNsmoothRawData(bool apply, List <GrowthMeasurement> raw)
        {
            if (!apply)
            {
                return(raw);
            }
            var neuroD    = new Neural();
            var fittedRaw = neuroD.GetFittedData(raw);

            return(fittedRaw);
        }
示例#4
0
        private static List <GrowthMeasurement> NNSmoothProcessedData(bool apply, List <GrowthMeasurement> raw, List <GrowthMeasurement> smooth, float blankValue, CalibrationFunction trueODCalibartionFunction, int count, float maxPeak)
        {
            if (!apply)
            {
                return(smooth);
            }
            var neuroD    = new Neural();
            var fittedRaw = neuroD.GetFittedData(raw);

            return(Modules.ProccessedDatapoints(fittedRaw, blankValue, trueODCalibartionFunction, out count, out maxPeak, true));
        }