tmwilder / pogoiv Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
At the moment the range use is as described in this line
pogoiv/pogoiv/level_dust_costs.py
Line 33 in 1f1bc44
But since the maximum level is equal to the trainer level + 1.5, would it be better to use this instead?
Lots of data sounds good usually but when you just want to check 50 pokémons to see which one you should evolve you need the short version. I ran this:
from pogoiv.iv_calculator import IvCalculator
calculator = IvCalculator()
result = calculator.get_ivs('Caterpie', 14, 16, 200, powered=False)
print result
And got this:
[{'atk_iv': 0, 'def_iv': 0, 'stam_iv': 11, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 0, 'stam_iv': 12, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 1, 'stam_iv': 10, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 1, 'stam_iv': 11, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 1, 'stam_iv': 12, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 2, 'stam_iv': 8, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 2, 'stam_iv': 9, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 2, 'stam_iv': 10, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 2, 'stam_iv': 11, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 2, 'stam_iv': 12, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 7, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 8, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 9, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 10, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 11, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 3, 'stam_iv': 12, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 7, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 8, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 9, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 10, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 11, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 4, 'stam_iv': 12, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 10, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 11, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 5, 'stam_iv': 12, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 8, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 9, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 10, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 11, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 6, 'stam_iv': 12, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 7, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 8, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 9, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 10, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 11, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 7, 'stam_iv': 12, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 7, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 8, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 9, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 10, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 11, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 8, 'stam_iv': 12, 'perfection': 44.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 9, 'stam_iv': 7, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 9, 'stam_iv': 8, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 9, 'stam_iv': 9, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 9, 'stam_iv': 10, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 9, 'stam_iv': 11, 'perfection': 44.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 10, 'stam_iv': 7, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 10, 'stam_iv': 8, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 10, 'stam_iv': 9, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 10, 'stam_iv': 10, 'perfection': 44.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 11, 'stam_iv': 7, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 11, 'stam_iv': 8, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 11, 'stam_iv': 9, 'perfection': 44.4, 'level': 2.0}, {'atk_iv': 0, 'def_iv': 12, 'stam_iv': 7, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 0, 'stam_iv': 8, 'perfection': 20.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 0, 'stam_iv': 9, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 0, 'stam_iv': 10, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 0, 'stam_iv': 11, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 0, 'stam_iv': 12, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 7, 'perfection': 20.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 8, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 9, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 10, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 11, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 1, 'stam_iv': 12, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 7, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 8, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 9, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 10, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 11, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 2, 'stam_iv': 12, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 7, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 8, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 9, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 10, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 11, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 3, 'stam_iv': 12, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 10, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 11, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 12, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 8, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 9, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 10, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 11, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 5, 'stam_iv': 12, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 7, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 8, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 9, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 10, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 11, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 6, 'stam_iv': 12, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 7, 'stam_iv': 7, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 7, 'stam_iv': 8, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 7, 'stam_iv': 9, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 7, 'stam_iv': 10, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 7, 'stam_iv': 11, 'perfection': 42.2, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 8, 'stam_iv': 7, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 8, 'stam_iv': 8, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 8, 'stam_iv': 9, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 9, 'stam_iv': 7, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 9, 'stam_iv': 8, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 1, 'def_iv': 10, 'stam_iv': 7, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 7, 'perfection': 20.0, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 8, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 9, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 10, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 11, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 0, 'stam_iv': 12, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 7, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 8, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 9, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 10, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 11, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 1, 'stam_iv': 12, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 7, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 8, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 9, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 10, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 11, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 12, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 10, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 11, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 3, 'stam_iv': 12, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 8, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 9, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 10, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 11, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 4, 'stam_iv': 12, 'perfection': 40.0, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 5, 'stam_iv': 7, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 5, 'stam_iv': 8, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 5, 'stam_iv': 9, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 5, 'stam_iv': 10, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 6, 'stam_iv': 7, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 6, 'stam_iv': 8, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 6, 'stam_iv': 9, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 7, 'stam_iv': 7, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 2, 'def_iv': 7, 'stam_iv': 8, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 7, 'perfection': 22.2, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 8, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 9, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 10, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 11, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 12, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 7, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 8, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 9, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 10, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 11, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 1, 'stam_iv': 12, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 10, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 11, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 2, 'stam_iv': 12, 'perfection': 37.8, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 3, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 3, 'stam_iv': 8, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 3, 'stam_iv': 9, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 3, 'stam_iv': 10, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 4, 'stam_iv': 7, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 4, 'stam_iv': 8, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 4, 'stam_iv': 9, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 3, 'def_iv': 5, 'stam_iv': 7, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 7, 'perfection': 24.4, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 8, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 9, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 10, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 11, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 0, 'stam_iv': 12, 'perfection': 35.6, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 1, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 1, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 1, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 1, 'stam_iv': 10, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 2, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 2, 'stam_iv': 8, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 2, 'stam_iv': 9, 'perfection': 33.3, 'level': 2.0}, {'atk_iv': 4, 'def_iv': 3, 'stam_iv': 7, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 5, 'def_iv': 0, 'stam_iv': 7, 'perfection': 26.7, 'level': 2.0}, {'atk_iv': 5, 'def_iv': 0, 'stam_iv': 8, 'perfection': 28.9, 'level': 2.0}, {'atk_iv': 5, 'def_iv': 0, 'stam_iv': 9, 'perfection': 31.1, 'level': 2.0}, {'atk_iv': 5, 'def_iv': 1, 'stam_iv': 7, 'perfection': 28.9, 'level': 2.0}]
I am not sure what to make of all that.
Is there a syntax option here or something?
Core algorithm already supports doing something like passing one slowpoke, one slowbro input and fixing across those constraints, but the api doesn't. Decide whether to break backward compatibility and implement.
I noticed that often you get at least 5 results, also the estimated Stats are varying widely.
I found this Site: https://thesilphroad.com/research which is getting the exact Pokemon Stats every time so far.
Maybe you could take a look at this?
Hi @tmwilder
I have been playing around with this library and am a bit confused. It seems all the calculators differ a bit. I did the following to try and calculate a Bulbasaur
from pogoiv.iv_calculator import IvCalculator calculator = IvCalculator() calculator.get_ivs_across_powerups(pokemon_name="Bulbasaur", powerup_stats=[(244,41,1000,True),(258,42,1000,True),(271,43,1000,True),(284,44,1300,True)]) [{'atk_iv': 0, 'def_iv': 6, 'stam_iv': 10, 'perfection': 35.6, 'level': 10.0}, {'atk_iv': 3, 'def_iv': 0, 'stam_iv': 10, 'perfection': 28.9, 'level': 10.0}, {'atk_iv': 2, 'def_iv': 2, 'stam_iv': 10, 'perfection': 31.1, 'level': 10.0}, {'atk_iv': 1, 'def_iv': 4, 'stam_iv': 10, 'perfection': 33.3, 'level': 10.0}]
Plugging in the same info into https://pokeassistant.com/main/ivcalculator gives some very different answers.
Level Attack Defense Stamina Perfection
11 8 14 10 71.1%
11 9 12 10 68.9%
11 10 10 10 66.7%
11 11 8 10 64.4%
11 12 6 10 62.2%
11 13 4 10 60.0%
11 7 15 11 73.3%
11 12 5 11 62.2%
11 13 3 11 60.0%
11 14 1 11 57.8%
My question is why do you think this is happening? Am I doing something wrong?
So i noticed that i can't get data for either the female Nidoran or the mal Nidoran.
I tried: Nidoran_female, Nidoran♀, Nidoran_f and so on.
Is there a way that this works?
Same thing does not work for Mr_mime.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.