def __buildRatio(self, values, ratioMaxLen=None): seqDS = dataseries.SequenceDataSeries() ret = ratio.Ratio(seqDS, ratioMaxLen) for value in values: seqDS.append(value) return ret
def __buildRatio(self, values): return ratio.Ratio(dataseries.SequenceDataSeries(values))