v1.3.0
RocketPy v1.3.0 π
The newest RocketPy version is available now!
- You can install it with the command:
pip install rocketpy==1.3.0
- Check out our documentation page: RocketPy Docs
What is New β
This release brings new features and improvements to RocketPy. Let's see all of them:
For users π§βπ¬
- π MonteCarlo Simulations!
- Integrate statistical variance into your simulations parameters!
- Easily generate alternative stochastic simulation scenarios.
- Plot all these possible scenarios in a histogram to get the most likely π§ͺ .
- Draw ellipses to discover the most probable landing location π― !
- β‘ Speedup your Simulations!
- RocketPy is now faster! Some flights may have up to 50% cut in simulation time.
- π Documentation Updates!
- Added Prometheus data to Flight Examples.
- Improvements to descriptions of
Environment
class and examples.
- π Data Handling Capabilities
- The
Function
class can now remove outliers from your data. - Perform complex step differentiation in your
Function
s.
- The
- π¨ Maintenance and Optimization Improvements
Function
validation rework for better error handling.- Exponential backoff approach to avoid
Environment
forecast server errors.
- π Many Bug Fixes
- Fix of
export_eng
method for liquid motors. - AirBrakes deployment remaining constant in post processing
Flight
phase. - Fixed plot drag curves issue when function source is callable
- Fix of
For Developers π₯οΈ
- Testing configs of
conftest.py
was split into several smaller files. - Refactors to
Environment
unit tests. - Deleted older
setup.py
in favor of recommendedpyproject.toml
. - Delete deprecated
tools.cached_property
.
Pull Requests Summary π
- Enh/class analysis by @Sofia-ME in #118
- ENH: haversine and exportElipses by @FranzYuri in #247
- GIT: forcing develop into enh/class_dispersion by @Gui-FernandesBR in #268
- Enh/dispersion class/review by @Gui-FernandesBR in #267
- ENH: using pydantic with the dispersion class by @MateusStano in #336
- MAINT: move dispersion plots by @Gui-FernandesBR in #375
- ENH: Remove Pydantic From DispersionModel, Environment and SolidMotor by @MateusStano in #509
- ENH: Remove Pydantic from Remaining Classes by @MateusStano in #512
- ENH: Dispersion Class Overhaul by @MateusStano in #543
- MNT: Dispersion Renaming by @MateusStano in #549
- TST: Splitting conftest.py into several smaller files. by @lucasfourier in #556
- BUG: Motor method 'export_eng' for liquid motors bug fix. (solves #473) by @lucasfourier in #559
- ENH: Optional argument to show the plot in Function.compare_plots by @Gui-FernandesBR in #563
- ENH: adds
Function.remove_outliers
method by @Gui-FernandesBR in #554 - MNT: Update develop with Recent Hotfixes by @phmbressan in #567
- TST: Environment unit tests refactoring by @GabrielBarberini in #571
- DOC: Convert CompareFlights example notebooks to .rst files by @Gui-FernandesBR in #576
- ENH: adds new stability margin methods to flight by @Gui-FernandesBR in #572
- MNT: Refactor flight prints module by @Gui-FernandesBR in #579
- DEV: adds coverage configuration file and excluide exceptions from report by @Gui-FernandesBR in #570
- MNT: Refactor inertia calculations using parallel axis theorem by @Gui-FernandesBR in #573
- DOC: Improvements of Environment docstring phrasing. by @phmbressan in #565
- ENH: Function Validation Rework & Swap
np.searchsorted
tobisect_left
by @MateusStano in #582 - BUG: Swap
rocket.total_mass.differentiate
formotor.total_mass_flow rate
by @MateusStano in #585 - DEP: delete deprecated rocketpy.tools.cached_property by @Gui-FernandesBR in #587
- ENH: Exponential backoff decorator (fix #449) by @Gui-FernandesBR in #588
- MNT: Modularize Rocket Draw by @MateusStano in #580
- TST: temporary changing git actions by @Gui-FernandesBR in #590
- BLD: Change setup.py to pyproject.toml by @GabrielBarberini in #589
- FIX: Optional Dependencies Naming in pyproject.toml. by @phmbressan in #592
- DOC: Add a doctest to calculate density profile by @justincolinsmart in #591
- ENH: Flight simulation speed up by @Gui-FernandesBR in #581
- ENH: Complex step differentiation by @Gui-FernandesBR in #594
- BUG: Fix minor type hinting problems by @nalquas in #598
- ENH: Pre-calculate attributes in Rocket class by @Gui-FernandesBR in #595
- BUG: Air Brakes Deployment Constant at Post Process by @MateusStano in #586
- BUG: plot drag curves when function source is callable by @Gui-FernandesBR in #599
- MNT: refactor u_dot parachute method by @Gui-FernandesBR in #596
- ENH: Introducing the Monte Carlo class by @MateusStano in #232
- BUG: Fixes nose cone bluffness issue #610 by @Lucas-Prates in #611
- DOC: Solve Dependencies Conflicts and pyproject build by @phmbressan in #613
- ENH: Adds StochasticModel.visualize_attributes() method by @Gui-FernandesBR in #612
- DOC: Adds prometheus data, Spaceport America 2022 by @Gui-FernandesBR in #601
- TST: Prometheus acceptance test with apogee criteria by @Gui-FernandesBR in #602
- DOC: Monte carlo documentation updates by @Gui-FernandesBR in #607
- REL: Bump versioning to RocketPy v1.3.0 by @phmbressan in #614
New Contributors π€
We welcome new contributors, with special thanks to:
- @Sofia-ME made their first contribution in #118
- @justincolinsmart made their first contribution in #591
- @nalquas made their first contribution in #598
Full Changelog: v1.2.2...v1.3.0