# Pyfa - The Python Fitting Assistant

**URL:** <https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156>\
**Category:** PvP Ships & Modules\
**Created:** [September 24, 2017, 9:48pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156 "2017-09-24T21:48:53Z")\
**Posts on this page:** 20\
**Page:** 15

<div class="post-metadata">

**Author:** ![Jezs](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/jezs/32/417515_2.png) [@Jezs](https://forums.eveonline.com/u/Jezs)\
**Post date:** [February 5, 2020, 4:11am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/287 "2020-02-05T04:11:22Z")

</div>

Can someone explain this damage dropoff?

 ![1](https://global.discourse-cdn.com/eveonline/original/3X/d/3/d3ab926fd31706d5de03a83ad6e3cf47bbcfb366.png)

---

<div class="post-metadata">

**Author:** ![dewk](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/dewk/32/168218_2.png) [@dewk](https://forums.eveonline.com/u/dewk)\
**Post date:** [February 9, 2020, 10:52pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/288 "2020-02-09T22:52:38Z")

</div>

Has anyone suggested an android version of Pyfa?

Always thought that would be a cool toy to have on a Tablet or Smartphone when away from pc and have a fit idea.

---

<div class="post-metadata">

**Author:** ![Gregorious\_Methodios](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/gregorious_methodios/32/253622_2.png) [@Gregorious\_Methodios](https://forums.eveonline.com/u/Gregorious_Methodios)\
**Post date:** [February 10, 2020, 12:06am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/289 "2020-02-10T00:06:13Z")

</div>

I was able to affect it most with missile bombardment, so think that might be the major driver, really kicks in with last increase from 4 to 5 … in pyfa.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [February 11, 2020, 2:43pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/290 "2020-02-11T14:43:36Z")

</div>

New update is out: [Release v2.17.0 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/releases/tag/v2.17.0)  
Had to make windows packages 64-bit only to work around false anti-virus alerts, but as EVE is 64-bit only too, so I hope it won’t cause much outcry.

* * *

> [@Angela\_Belvar](#):
>
> There’s a goof in the latest version of PYFA. The Inherent Implants ‘Noble’ Hull Upgrades are wrong. In PYFA, those implants only give the armor hit point bonus. The implants actually give hitpoint and repair amount bonus. Like The HG-1003 implant shows only giving 3% armor hit point. IT should say 3% Repair Bonus and 3% armor hitpoint bonus.

Incorrect, only imperial navy modified noble gives you both.

> [@Ganjena](#):
>
> I cant seem to add characters via SSO?

Is it still the issue? There were outages with ESI, which might result in this behavior. Or maybe you just stumble into unintuitive UI: you need to add character 1st, then log in and connect it with ingame character. It sucks but it was coded this way and changing it is :effort: which can be applied elsewhere.

> [@Luscius\_Uta](#):
>
> I don’t know if this is a problem with Windows 10 or Pyfa, but I have a TV connected to my computer which is usually turned off unless I’m watching stuff like Netflix. Yet, everytime I launch Pyfa it opens on my TV so I have to turn it on and drag the Pyfa window to my monitor. After I close Pyfa, it will launch again on my TV if it was closed while it was maximized. It will launch on my monitor only if I resized it prior to closing.

Pyfa has code in place to memorize which monitor it was running on and save window geometry. It is entirely possible that it doesn’t work if you turn displays off/on between runs. It seems to save that you launched pyfa on 1st monitor, and it tries to restore it on 1st monitor (which is your TV after you turn it on). I do not know if there is a way to save more data about monitors to realize that it attempts to open on the wrong one, and just use some “default” display in this case.

> [@Loroseco\_Kross](#):
>
> I get the following error when trying to toggle view in the “Affected by” tab of ship stats

I think should be fixed in the latest release.

> [@Jezs](#):
>
> Can someone explain this damage dropoff?

It’s “missile falloff”. Refer to this article: [Missile mechanics - EVE University Wiki](https://wiki.eveuniversity.org/Missile_mechanics#Missile_range)

---

<div class="post-metadata">

**Author:** ![Allison\_Jovovich](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/allison_jovovich/32/186528_2.png) [@Allison\_Jovovich](https://forums.eveonline.com/u/Allison_Jovovich)\
**Post date:** [February 11, 2020, 5:31pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/291 "2020-02-11T17:31:03Z")

</div>

> [@Allison\_Jovovich](#):
>
> version 2.9.4
> 
> not sure if it actually matters to calculating anything, but scan rangefinding array ii lists the strength bonus twice. t1 module only lists it once, as I believe it should.
> 
> ![scanrangearray.PNG](https://global.discourse-cdn.com/eveonline/original/3X/d/c/dc8a1276e26c8bb80412d43dfc2ffb6dc77e4ff6.png)

v2.16.3 I note this still has not been fixed, but as said previously, i am not sure if it matters.

---

<div class="post-metadata">

**Author:** ![Theron\_Larkis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/theron_larkis/32/170573_2.png) [@Theron\_Larkis](https://forums.eveonline.com/u/Theron_Larkis)\
**Post date:** [February 12, 2020, 10:47am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/292 "2020-02-12T10:47:47Z")

</div>

since this update pyfa refuses to launch. I’ve tried reinstalling but that didn’t help.

Going back to the previous version solved this.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [February 12, 2020, 11:18am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/293 "2020-02-12T11:18:38Z")

</div>

> [@Theron\_Larkis](#):
>
> since this update pyfa refuses to launch. I’ve tried reinstalling but that didn’t help.

Quite likely it’s this issue: [Pyfa 2.17 crash on startup · Issue #2134 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/issues/2134)  
I am looking into a way to fix it.

> [@Allison\_Jovovich](#):
>
> v2.16.3 I note this still has not been fixed, but as said previously, i am not sure if it matters.

This is not a pyfa bug (and quite likely not a bug at all). CCP has 2 separate attributes defined on this item, scanStrengthBonus and scanStrengthBonusModule, which have the same “display name”.

---

<div class="post-metadata">

**Author:** ![Luscius\_Uta](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/luscius_uta/32/385796_2.png) [@Luscius\_Uta](https://forums.eveonline.com/u/Luscius_Uta)\
**Post date:** [February 12, 2020, 11:30am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/294 "2020-02-12T11:30:38Z")

</div>

> [@Kadesh\_Priestess](#):
>
> Pyfa has code in place to memorize which monitor it was running on and save window geometry. It is entirely possible that it doesn’t work if you turn displays off/on between runs. It seems to save that you launched pyfa on 1st monitor, and it tries to restore it on 1st monitor (which is your TV after you turn it on). I do not know if there is a way to save more data about monitors to realize that it attempts to open on the wrong one, and just use some “default” display in this case.

I don’t think that turning displays off or on is part of the problem, because it also happens on my work computer where I have two identical monitors, both of them always being turned on. I have tried both switching connections on the graphics card so that the monitor on the left is displayed as “1” in Windows and the one on the right as “2” and setting the monitor on the right as main display, but Pyfa is still launching on the monitor on the right.

---

<div class="post-metadata">

**Author:** ![Theron\_Larkis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/theron_larkis/32/170573_2.png) [@Theron\_Larkis](https://forums.eveonline.com/u/Theron_Larkis)\
**Post date:** [February 12, 2020, 11:35am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/295 "2020-02-12T11:35:48Z")

</div>

Here’s more info on my situation:

OS build : Win10 18363.657  
Country: Netherlands  
language: English

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [February 12, 2020, 12:40pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/297 "2020-02-12T12:40:52Z")

</div>

What is your “format” setting in Control Panel’s regional settings?

---

<div class="post-metadata">

**Author:** ![Theron\_Larkis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/theron_larkis/32/170573_2.png) [@Theron\_Larkis](https://forums.eveonline.com/u/Theron_Larkis)\
**Post date:** [February 12, 2020, 12:56pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/298 "2020-02-12T12:56:55Z")

</div>

![Format](https://global.discourse-cdn.com/eveonline/original/3X/1/a/1aad2b71d683a87f767c47ac915aac97f23f1071.jpeg)

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [February 12, 2020, 8:30pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/299 "2020-02-12T20:30:33Z")

</div>

Change to English (US) as temporary workaround, if you wish. Will be fixed in next release (which i will try to put out tomorrow).

---

<div class="post-metadata">

**Author:** ![Theron\_Larkis](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/theron_larkis/32/170573_2.png) [@Theron\_Larkis](https://forums.eveonline.com/u/Theron_Larkis)\
**Post date:** [February 13, 2020, 12:09am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/300 "2020-02-13T00:09:11Z")

</div>

Thanks. And an overall thank you for putting in the time and effort to make and maintain this super important app.

\<3

---

<div class="post-metadata">

**Author:** ![Jezs](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/jezs/32/417515_2.png) [@Jezs](https://forums.eveonline.com/u/Jezs)\
**Post date:** [February 19, 2020, 9:50pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/301 "2020-02-19T21:50:58Z")

</div>

The “Graphs” button is greyed out in 2.17.2 (and 2.17.0), it works fine in 2.16.3

---

<div class="post-metadata">

**Author:** ![Archer\_en\_Tilavine](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/archer_en_tilavine/32/461718_2.png) [@Archer\_en\_Tilavine](https://forums.eveonline.com/u/Archer_en_Tilavine)\
**Post date:** [February 22, 2020, 3:38am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/302 "2020-02-22T03:38:05Z")

</div>

Some questions:

- Is there a way to get the Anti-Small Craft Tackle of space superiority fighters to project onto other ships + show up in damage graphs?
- How is drone tracking computed such that the value displayed in the Drones pane is radically different from the attribute window? For example: on an unbonused ship w/ L0 skills and no implants, Hobgoblin I has a turret tracking score of 1.81 in the attribute window but shows 2.9k in the drone pane.
- @Jezs thanks for pointing out the “missile falloff” think from a few posts above - that had puzzled me for a long time now. Just to be clear you just averaged the missile damage to 50% at that edge tick correct?

---

<div class="post-metadata">

**Author:** ![elitatwo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/elitatwo/32/373473_2.png) [@elitatwo](https://forums.eveonline.com/u/elitatwo)\
**Post date:** [March 20, 2020, 6:41am UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/303 "2020-03-20T06:41:22Z")

</div>

A free bump to the top and may I suggest we ask for a sticky. Everyone new to the forums should be made aware of this work.

---

<div class="post-metadata">

**Author:** ![Luscius\_Uta](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/luscius_uta/32/385796_2.png) [@Luscius\_Uta](https://forums.eveonline.com/u/Luscius_Uta)\
**Post date:** [April 6, 2020, 7:53pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/304 "2020-04-06T19:53:13Z")

</div>

I got the following error when trying to export a fit to ESI:

> pyfa v2.18.1  
> EVE Data Version: 1684558 (2020-03-11 11:50:22)
> 
> OS version: Windows-10-10.0.18362-SP0  
> Python version: 3.7.5 (tags/v3.7.5:5c02a39a0b, Oct 15 2019, 00:11:34) [MSC v.1916 64 bit (AMD64)]  
> wxPython version: 4.0.6 (wxWidgets 3.0.5)  
> SQLAlchemy version: 1.3.14  
> Logbook version: 1.5.3  
> Requests version: 2.23.0  
> Dateutil version: 2.8.1
> 
> ####################
> 
> Traceback (most recent call last):  
> File “gui\esiFittings.py”, line 289, in exportFitting  
> File “service\esi.py”, line 95, in postFitting  
> File “service\esiAccess.py”, line 111, in postFitting  
> File “service\esiAccess.py”, line 265, in post  
> File “service\esiAccess.py”, line 241, in \_before\_request  
> File “service\esiAccess.py”, line 232, in refresh  
> service.esiAccess.APIException: HTTP Error 400: invalid\_token

I remember getting an error when I tried to export fit to ESI during downtime, but today this wasn’t the case. My character’s SSO token could have expired though, so maybe that was causing the error.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [April 6, 2020, 7:57pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/305 "2020-04-06T19:57:24Z")

</div>

2.19.0 is out with new drone implants: [Release v2.19.0 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/releases/tag/v2.19.0)

> [@Jezs](#):
>
> The “Graphs” button is greyed out in 2.17.2 (and 2.17.0), it works fine in 2.16.3

Has been fixed in 2.19.0. Was an issue specific to windows zip build.

> [@Archer\_en\_Tilavine](#):
>
> - Is there a way to get the Anti-Small Craft Tackle of space superiority fighters to project onto other ships + show up in damage graphs?
> - How is drone tracking computed such that the value displayed in the Drones pane is radically different from the attribute window? For example: on an unbonused ship w/ L0 skills and no implants, Hobgoblin I has a turret tracking score of 1.81 in the attribute window but shows 2.9k in the drone pane.
> - @Jezs thanks for pointing out the “missile falloff” think from a few posts above - that had puzzled me for a long time now. Just to be clear you just averaged the missile damage to 50% at that edge tick correct?

1. It is shown on damage graph with proper penalties, if you add actual ship as target (not target profile, those will take 100% damage from it)
2. In drone view, it is normalized to 40k gun signature resolution. This parameter serves as nothing but as tracking multiplier. It has been different on guns as well, but was normalized to 40k with corresponding changes to tracking values. But, CCP forgot to do it on drones, so I am doing it there myself. Refer to turret damage delivery mechanics on eve-uni wiki, particularly to “old” formula.
3. If flight time is 8.5 it is assumed to fly 50% 8 seconds and 50% 9 seconds, yes. But keep in mind that missile flight time you see in attributes is not “true” missile flight time, there is hidden bonus, based on attacking ship’s radius: [Implement missile range bonus which compensates attacker's ship radius · Issue #2083 · pyfa-org/Pyfa · GitHub](https://github.com/pyfa-org/Pyfa/issues/2083) (which pyfa takes into account in range column text/tooltip and graphs, but does not show in missile attributes since EVE also doesn’t show it there).

> [@Luscius\_Uta](#):
>
> I got the following error when trying to export a fit to ESI

Seems to be authentication issue. Please re-add your character if it persists.

---

<div class="post-metadata">

**Author:** ![DeMichael\_Crimson](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/demichael_crimson/32/517479_2.png) [@DeMichael\_Crimson](https://forums.eveonline.com/u/DeMichael_Crimson)\
**Post date:** [April 6, 2020, 8:10pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/306 "2020-04-06T20:10:33Z")

</div>

Thank you very much for all your time and hard work to keep this app active and up to date. It’s very much appreciated.

---

<div class="post-metadata">

**Author:** ![Kadesh\_Priestess](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/kadesh_priestess/32/467993_2.png) [@Kadesh\_Priestess](https://forums.eveonline.com/u/Kadesh_Priestess)\
**Post date:** [April 7, 2020, 6:58pm UTC](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156/307 "2020-04-07T18:58:00Z")

</div>

Build with preview of Surgical Strike changes: [https://github.com/pyfa-org/Pyfa/releases/tag/v2.19.1dev1](https://github.com/pyfa-org/Pyfa/releases/tag/v2.19.1dev1)

[Previous page](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156.md?page=14)

[Next page](https://forums.eveonline.com/t/pyfa-the-python-fitting-assistant/27156.md?page=16)
