Python extension of wows_shell
Project description
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
WebAssembly
- Requires Emscripten
- Used in https://github.com/jcw780/wows_ballistics
Future Goals:
- Wiki / Tutorial
- Packages (maybe go for PyPI), more refined build tools
- 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
Built Distribution
File details
Details for the file wows_shell-1.1.2.tar.gz
.
File metadata
- Download URL: wows_shell-1.1.2.tar.gz
- Upload date:
- Size: 24.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 405aa261ea5938d52a1336c565f5502a67fa86032685383871f946085636a18a |
|
MD5 | 691e03e2b7f0eea2bbd190bfd042201d |
|
BLAKE2b-256 | 937e3140e6c537e6475002c6a4b7b5f46b4f1e2d4005024713a54637eef26ffd |
File details
Details for the file wows_shell-1.1.2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: wows_shell-1.1.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 133.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a848f07e184da419cc679507f7bcf5b4bd20057ed1a79f4e6ae03a40082681f3 |
|
MD5 | c7501d4c93767f21aa1a7e020343cf9f |
|
BLAKE2b-256 | 2bdc42daa8bedffb9630debb27c810ec7cf175e5bb087896369ec45fda0af75b |