MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / _getCommonData

Method _getCommonData

graphs/data/fitRemoteReps/getter.py:95–99  ·  view source on GitHub ↗
(self, miscParams, src, tgt)

Source from the content-addressed store, hash-verified

93 _extraDepth = 2
94
95 def _getCommonData(self, miscParams, src, tgt):
96 # Prepare time cache here because we need to do it only once,
97 # and this function is called once per point info fetch
98 self._prepareTimeCache(src=src, ancReload=miscParams['ancReload'], maxTime=miscParams['time'])
99 return {'rrMap': self._getRepsPerKey(src=src, ancReload=miscParams['ancReload'], time=miscParams['time'])}
100
101 def _calculatePoint(self, x, miscParams, src, tgt, commonData):
102 distance = x

Callers

nothing calls this directly

Calls 2

_prepareTimeCacheMethod · 0.45
_getRepsPerKeyMethod · 0.45

Tested by

no test coverage detected