https://github.com/o-murphy/cyeulerballistic
LGPL library for small arms ballistic calculations based on point-mass (3 DoF) plus spin drift. The fork of py_ballisticcalc.exts that can be used as side-package
https://github.com/o-murphy/cyeulerballistic
ballistic-calculator ballistic-solver ballistics cython py-ballisticcalc python
Last synced: 3 months ago
JSON representation
LGPL library for small arms ballistic calculations based on point-mass (3 DoF) plus spin drift. The fork of py_ballisticcalc.exts that can be used as side-package
- Host: GitHub
- URL: https://github.com/o-murphy/cyeulerballistic
- Owner: o-murphy
- License: lgpl-3.0
- Created: 2025-01-21T22:59:41.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-03-14T13:58:46.000Z (3 months ago)
- Last Synced: 2025-03-14T14:36:45.706Z (3 months ago)
- Topics: ballistic-calculator, ballistic-solver, ballistics, cython, py-ballisticcalc, python
- Language: HTML
- Homepage: https://pypi.org/project/py-ballisticcalc.exts
- Size: 491 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# CyEulerBallistic
LGPL library for small arms ballistic calculations based on point-mass (3 DoF) plus spin drift.
The fork of py_ballisticcalc.exts that can be used as side-package### Table of contents
* **[Installation](#installation)**
* [Latest stable](#latest-stable-release-from-pypi)* **[Usage](#usage)**
* **[Contributors](#contributors)**
* **[About project](#about-project)**# Installation
```shell
pip install CyEulerBallistic
```# Usage
**See [Original README](Example.ipynb) for detailed illustrations of all features and usage.**# About project
The library provides trajectory calculation for ballistic projectiles including air rifles, bows, firearms, artillery, and so on.
The 3DoF model that is used in this calculator is rooted in public C code of [JBM's calculator](https://jbmballistics.com/ballistics/calculators/calculators.shtml), ported to C#, optimized, fixed and extended with elements described in Litz's _Applied Ballistics_ book and from the friendly project of Alexandre Trofimov and then ported to Go.
This Python3 implementation has been expanded to support multiple ballistic coefficients and custom drag functions, such as those derived from Doppler radar data.
**[The online version of Go documentation is located here](https://godoc.org/github.com/gehtsoft-usa/go_ballisticcalc)**.
**[C# version of the package is located here](https://github.com/gehtsoft-usa/BallisticCalculator1), and [the online version of C# API documentation is located here](https://gehtsoft-usa.github.io/BallisticCalculator/web-content.html)**.
## Contributors
**This project exists thanks to all the people who contribute.**Special thanks to:
- **[David Bookstaber](https://github.com/dbookstaber)** - Ballistics Expert\
*For help understanding and improving the functionality*
- **[Nikolay Gekht](https://github.com/nikolaygekht)** \
*For the sources code on C# and GO-lang from which this project firstly was forked*[//]: # (## Sister projects)
[//]: # ()
[//]: # (* **Py-BalCalc** - GUI App for [py_ballisticcalc](https://github.com/o-murphy/py_ballisticcalc) solver library and profiles editor)[//]: # (* **eBallistica** - Kivy based mobile App for ballistic calculations)
[//]: # ()
[//]: # (*[ArcherBC2](https://github.com/JAremko/ArcherBC2) and [ArcherBC2 mobile](https://github.com/ApodemusSylvaticus/archerBC2_mobile) - Ballistic profile editors)
[//]: # ( - *See also [a7p_transfer_example](https://github.com/JAremko/a7p_transfer_example) or [a7p](https://github.com/o-murphy/a7p) repo to get info about the ballistic profile format*)
## RISK NOTICE
The library performs very limited simulation of a complex physical process and so it performs a lot of approximations. Therefore, the calculation results MUST NOT be considered as completely and reliably reflecting actual behavior or characteristics of projectiles. While these results may be used for educational purpose, they must NOT be considered as reliable for the areas where incorrect calculation may cause making a wrong decision, financial harm, or can put a human life at risk.
THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.