Exemplo n.º 1
0
 public MetricFFTBandEnergy(Graph graph)
     : base("Band Energy", graph,
            InputPort.CreateMany(
                InputPort.Create("in", PortDataType.FFT)),
            OutputPort.CreateMany(
                OutputPort.Create("out", PortDataType.Value)))
 {
     _portInp = (FFTInputPort)InputPorts[0];
     _portOut = (ValueOutputPort)OutputPorts[0];
 }
Exemplo n.º 2
0
 public MetricValueRange(Graph graph) : base("Range", graph, InputPort.CreateMany(), OutputPort.CreateMany(OutputPort.Create("Out", PortDataType.Value)))
 {
     _portOut = (ValueOutputPort)OutputPorts[0];
 }