wows_shell
- 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
- Requires Emscripten
- Used in https://github.com/jcw780/wows_ballistics
Future Goals:
- Wiki / Tutorial
- Extend more features to Python and WebAssembly
- Will continue to update the model when new information is acquired
Metadata
Release files for wows-shell 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wows_shell-1.2.3.tar.gz | 278.0 kB | Without provenance | Details for wows_shell-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wows_shell-1.2.3-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details for wows_shell-1.2.3-cp39-cp39-win_amd64.whl |
Total release size: 441.0 kB
Release files / wows_shell-1.2.3.tar.gz
| Download URL | wows_shell-1.2.3.tar.gz |
|---|---|
| Size | 278.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a2fb0466e6d0eb6d4a644b66984b7e1dea57df46409f8917998128fff56d357
|
|
BLAKE2b-256 checksum How to use checksums |
e0a4c3580c26c7e2110cff5d04af2104abcae115f5f2d3c4fe379c26c5b75056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / wows_shell-1.2.3-cp39-cp39-win_amd64.whl
| Download URL | wows_shell-1.2.3-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 163.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0b57542f7d9ad1e35351dcca99ceb92131b6c93e7fc3a64aa7a5d59ab881a397
|
|
BLAKE2b-256 checksum How to use checksums |
16f764dcd70303682063093ac2c2dd9d9ae966e4752e339bc3886fbead7ec191
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for wows-shell 1.2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.