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

Method _getCommonData

graphs/data/fitMobility/getter.py:49–53  ·  view source on GitHub ↗
(self, miscParams, src, tgt)

Source from the content-addressed store, hash-verified

47class Time2SpeedGetter(SmoothPointGetter):
48
49 def _getCommonData(self, miscParams, src, tgt):
50 return {
51 'maxSpeed': src.getMaxVelocity(),
52 'mass': src.item.ship.getModifiedItemAttr('mass'),
53 'agility': src.item.ship.getModifiedItemAttr('agility')}
54
55 def _calculatePoint(self, x, miscParams, src, tgt, commonData):
56 time = x

Callers

nothing calls this directly

Calls 2

getMaxVelocityMethod · 0.80
getModifiedItemAttrMethod · 0.45

Tested by

no test coverage detected