(self, mainInput, miscInputs, xSpec, ySpec, src, tgt=None)
| 94 | usesHpEffectivity = False |
| 95 | |
| 96 | def getPlotPoints(self, mainInput, miscInputs, xSpec, ySpec, src, tgt=None): |
| 97 | cacheKey = self._makeCacheKey(src=src, tgt=tgt) |
| 98 | try: |
| 99 | plotData = self._plotCache[cacheKey][(ySpec, xSpec)] |
| 100 | except KeyError: |
| 101 | plotData = self._calcPlotPoints( |
| 102 | mainInput=mainInput, miscInputs=miscInputs, |
| 103 | xSpec=xSpec, ySpec=ySpec, src=src, tgt=tgt) |
| 104 | self._plotCache.setdefault(cacheKey, {})[(ySpec, xSpec)] = plotData |
| 105 | return plotData |
| 106 | |
| 107 | def getPoint(self, x, miscInputs, xSpec, ySpec, src, tgt=None): |
| 108 | cacheKey = self._makeCacheKey(src=src, tgt=tgt) |
no test coverage detected