Exemplo n.º 1
0
            public PrositRTOutput(MapField <string, TensorProto> prositOutput)
            {
                var outputTensor = prositOutput[OUTPUT_KEY];
                var peptideCount = outputTensor.TensorShape.Dim[0].Size;

                OutputRows = new PrositPeptideOutput[peptideCount];

                // Copy iRTs for each peptide
                for (var i = 0; i < peptideCount; ++i)
                {
                    OutputRows[i] = new PrositPeptideOutput(outputTensor.FloatVal[i]);
                }
            }
Exemplo n.º 2
0
 public PrositRTOutput()
 {
     OutputRows = new PrositPeptideOutput[0];
 }