MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / _normalizeMisc

Method _normalizeMisc

graphs/data/base/graph.py:222–231  ·  view source on GitHub ↗
(self, miscInputs, src, tgt)

Source from the content-addressed store, hash-verified

220 return mainParamRange
221
222 def _normalizeMisc(self, miscInputs, src, tgt):
223 miscParams = {}
224 for miscInput in miscInputs:
225 key = (miscInput.handle, miscInput.unit)
226 if key in self._normalizers:
227 normalizer = self._normalizers[key]
228 miscParams[miscInput.handle] = normalizer(miscInput.value, src, tgt)
229 else:
230 miscParams[miscInput.handle] = miscInput.value
231 return miscParams
232
233 def _normalizeValue(self, value, axisSpec, src, tgt):
234 key = (axisSpec.handle, axisSpec.unit)

Callers 2

_calcPlotPointsMethod · 0.95
_calcPointMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected