Skip to main content

Python extension of wows_shell

Project description

wows_shell

License GitHub commit activity Discord

  • C++ header only library for calculating shell performance in World of Warships
  • Experimentally verified to be nearly identical to the World of Warships ballistics model

Legal

  • All copyrighted material provided by Wargaming.net are owned by Wargaming.net.
  • All other material is available under the MIT License.

Original Model Information & Source Code:

Original Model:

Revised Model:

Features:

Shell Flight

Computes shell flight path.

At Impact:

Outputs:

  • Angle of Impact
  • Impact Velocity
  • Raw, Belt/Deck, Normalization Adjusted Penetration
  • Shell flight time (Real / In-game)

Ability to change trajectory computation method

  • Forward Euler (default - also in-game method)
  • Runge-Kutta 2 and 4
  • Adams-Bashforth 5

Lateral Angles:

Computes lateral angles where penetration, AP fuzing, and ricochets occur while adjusting for impact angle and vertical armor inclination.

Definition: Angles where that represent the horizontal angling of a ship:

  • Bow-in: 90 degrees
  • Full-broadside: 0 degrees

Outputs:

  • Maximum Lateral Angle for Penetration
  • Minimum Lateral Angle for Fusing
  • Ricochet Lateral Angles

Dispersion

Computes dispersion approximations based on experimental data.
Outputs:

  • Dispersion Types:
    • Horizontal Dispersion
    • Vertical Dispersion
    • Area Dispersion
  • Statistical Types
    • Max Dispersion
    • Standard Deviation of Dispersion
    • 50% Error Radius

Post-Penetration:

Shell detonation distance after penetration while adjusting for ship angling, and vertical armor inclinations.

Ability to modify the way the calculations are done

  • Enable or Disable Normalization changing direction
  • Linear estimation or full air drag modeling

Fitting:

Capability to fit shells to real world data using gradient descent.

  • Air Drag Coefficient
  • Krupp

Compatibility:

  • Requires C++17 supporting compiler
  • Supports multithreading and vectorization for improved performance

Extensions:

Python

  • Requires Pybind11
  • Tested with Python 3.7.4 (Anaconda), 3.8.5
  • Available from PyPI pip install wows-shell

WebAssembly

Future Goals:

  • Wiki / Tutorial
  • Extend more features to Python and WebAssembly
  • Will continue to update the model when new information is acquired

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wows_shell-1.1.6.tar.gz (276.7 kB view details)

Uploaded Source

Built Distributions

wows_shell-1.1.6-py3.9-win-amd64.egg (152.8 kB view details)

Uploaded Source

wows_shell-1.1.6-cp38-cp38-win_amd64.whl (144.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

File details

Details for the file wows_shell-1.1.6.tar.gz.

File metadata

  • Download URL: wows_shell-1.1.6.tar.gz
  • Upload date:
  • Size: 276.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for wows_shell-1.1.6.tar.gz
Algorithm Hash digest
SHA256 5cf8676286603a9787ec641bd5aa62f25ce9e98b3ffef1b4ed089dd8b87fcec2
MD5 1e3edd448b25ad896e2ba8230514f565
BLAKE2b-256 dc0dd7a1a5fa70b135563fc973eee43b30e727d09c7d5b6fc96f9e634c317699

See more details on using hashes here.

File details

Details for the file wows_shell-1.1.6-py3.9-win-amd64.egg.

File metadata

  • Download URL: wows_shell-1.1.6-py3.9-win-amd64.egg
  • Upload date:
  • Size: 152.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for wows_shell-1.1.6-py3.9-win-amd64.egg
Algorithm Hash digest
SHA256 e4cf15460c8a8c02d1c4efd6c0fa8f0a7203a6e52b0816a68beaf874e55a56bd
MD5 71b6c957094f5ec1847fcf9c818266a9
BLAKE2b-256 5cb3052437f25b468dfa3eae546fcc98d1fbe51034edfbe21629b5b7db9b826c

See more details on using hashes here.

File details

Details for the file wows_shell-1.1.6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: wows_shell-1.1.6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 144.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.5

File hashes

Hashes for wows_shell-1.1.6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 ac2fd747134eab35005c52e63878bc4a921cc601b9940e5c83d6515150f70cb7
MD5 12562b9368b49904377fe034f737e83b
BLAKE2b-256 5fbd08efacdfe8c052f49137f506355165f546974526b282125d8af9e69e802f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page