Add 3 extra columns to show RR power of different fits

This commit is contained in:
DarkPhoenix
2019-08-17 00:49:42 +03:00
parent 8332ccaa7a
commit 3c967ba9eb
2 changed files with 58 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ class FitRemoteRepsGraph(FitGraph):
inputs = [
Input(handle='time', unit='s', label='Time', iconID=1392, defaultValue=None, defaultRange=(0, 80), secondaryTooltip='When set, uses repairing ship\'s exact RR stats at a given time\nWhen not set, uses attacker\'s RR stats as shown in stats panel of main window'),
Input(handle='distance', unit='km', label='Distance', iconID=1391, defaultValue=None, defaultRange=(0, 100), mainTooltip='Distance between the repairing ship and the target, as seen in overview (surface-to-surface)', secondaryTooltip='Distance between the repairing ship and the target, as seen in overview (surface-to-surface)')]
srcExtraCols = ()
srcExtraCols = ('ShieldRR', 'ArmorRR', 'HullRR')
# Calculation stuff
_normalizers = {('distance', 'km'): lambda v, src, tgt: None if v is None else v * 1000}