Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates master for release v1.8.0 #761

Merged
merged 12 commits into from
Jan 19, 2025
Merged

Updates master for release v1.8.0 #761

merged 12 commits into from
Jan 19, 2025

Conversation

Gui-FernandesBR
Copy link
Member

No description provided.

phmbressan and others added 12 commits December 8, 2024 02:06
TST: Add slow testing for different ode solvers.

MNT: Move ode solver validation to separate method.
* BLD: add a flight example to rocketpy

"Defiance" rocket flight example was added to doc\examples as my (Arthur Hwang) challenge submission for the Team Recruitment

* DOC: Add Defiance launch to flight examples graph.

* Updates CHANGELOG

---------

Co-authored-by: Pedro Bressan <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>

DOC: add Defiance flight example (#742)

* BLD: add a flight example to rocketpy

"Defiance" rocket flight example was added to doc\examples as my (Arthur Hwang) challenge submission for the Team Recruitment

* DOC: Add Defiance launch to flight examples graph.

* Updates CHANGELOG

---------

Co-authored-by: Pedro Bressan <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>
* ENH: Create a dataset of pre-registered motors. See #664

I followed the recommendation "Download and save several .eng files in the repo so we can install it along with the rocketpy package itself".

The website thrustcurve.org was very useful to search for some .eng files. I mainly focused in some of the main brands on the market: Cesaroni, Aero Tech, Animal Motors and Loki. And also focused on classes K to M, because this is the main range of total impulse that I'm used to seeing in rocketry. I tried to pick motors with a difference of about 300~600Ns in total impulse.

Some more improvements than can also be made following this issue are expanding the dataset for whole SolidMotor objects, more than only thrust curves. I think this would be what the recommendation "Save .json files with all the information we may find available on internet" could mean. I decided to go for the simple for now, but having the thrust curves is a good first step to implementing that in the future, which I would totally be able to do!

* Update CHANGELOG.md

* MNT: git rename motor eng files in data folder

* ENH: Create a dataset of pre-registered motors. See #664

I followed the recommendation "Download and save several .eng files in the repo so we can install it along with the rocketpy package itself".

The website thrustcurve.org was very useful to search for some .eng files. I mainly focused in some of the main brands on the market: Cesaroni, Aero Tech, Animal Motors and Loki. And also focused on classes K to M, because this is the main range of total impulse that I'm used to seeing in rocketry. I tried to pick motors with a difference of about 300~600Ns in total impulse.

Some more improvements than can also be made following this issue are expanding the dataset for whole SolidMotor objects, more than only thrust curves. I think this would be what the recommendation "Save .json files with all the information we may find available on internet" could mean. I decided to go for the simple for now, but having the thrust curves is a good first step to implementing that in the future, which I would totally be able to do!

Update CHANGELOG.md

MNT: git rename motor eng files in data folder

---------

Co-authored-by: Gui-FernandesBR <[email protected]>
* DOC : Add weather file for simulation

* DOC : Add data for simulation example

* DOC: Add flight simulation example

* DOC: Update index

* DOC: Update Changelog

* Update docs/examples/index.rst

---------

Co-authored-by: Gui-FernandesBR <[email protected]>
* DOC: Add data for lince example

* DOC: create simulation file

* DOC: Update simulation file

* DOC: Add euroc_2023 weather data

* DOC: Add flight data

* DOC: Update flight sim

* DOC: Changelog update & Run black

* DOC: Small fixes to fligh sim

* DOC : Run black

* DOC: Simulation fixes and index sim add

* DOC: Update environments in flight documentation

* DOC: fix Lince values in the rst file

---------

Co-authored-by: Gui-FernandesBR <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>
* DOC: Improve flight examples documentation
Update flight simulation documentation with improved markdown headers and replace matplotlib with Plotly for enhanced visualizations

* DEV: update changelog

* DOC: Fix title in camoes simul

* DOC: Update docs/requirements.txt to include new dependencies

---------

Co-authored-by: LUCKIN13 <[email protected]>
* DOCS: add data for bme suborbitals flight example

* DOCS: add simulation file for bme suborbitals flight example

* DOCS: Error in motor fixed

* DOC: Improve flight examples documentation
Update flight simulation documentation with improved markdown headers and replace matplotlib with Plotly for enhanced visualizations

* DEV: update changelog

* DOC: Update simulation and flight data

* DOC: Add weather file for simulations

* DOC: Updates to erebus flight sim

* DOC: Update changelog

* DOC: Fix title in camoes simul

* DOC:Update flight data

* DOC: Comparison plots

* MNT: Delete unnecessary file

* DOC: Update index

* DOC: run Black

* DEV: update changelog

* DOC: small fix index

---------

Co-authored-by: Gui-FernandesBR <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>
* MNT: move piecewise functions to separate file
closes #667

* improved import for linting

* MNT: applying code formaters

* ENH: simplifying and optimizing the function, implementing tests.

* MNT: update changelog and apply changes suggested in review

---------

Co-authored-by: Lucas Prates <[email protected]>
Co-authored-by: Lucas de Oliveira Prates <[email protected]>
Co-authored-by: Gui-FernandesBR <[email protected]>
* ENH: expand encoders implementation to support full flights.

MNT: Add encoding feature to CHANGELOG.

BUG: add dill to the requirements file.

* ENH: provide from_dict classmethods for decoding basic classes.

ENH: extend encoding and decoding to Liquid and Hybrid.

MNT: correct decoding of liquid and hybrid motors.

STY: solve pylint remarks.

MNT: adapt encoding to new post merge attributes.

MNT: restore typo to correct values on flight test.

ENH: add option for including outputs on JSON export.

TST: add tests for motor encoding.

DOC: Improve docstrings of encoders signature.

MNT: Make no output encoding the default.

MNT: Standardize include outputs parameter.

DOC: Correct phrasing and typos of encoders docstring.

MNT: Correct json export environment naming.

* MNT: Allow for encoding customization of MonteCarlo.

DEV: fix CHANGELOG

MNT: reposition barometric height as env json output.

MNT: Allow for encoding customization of MonteCarlo.
* init: new prints test

* move new prints into mc class itself

* enh: boxplots added to histograms in montecarlo plots

* DOC: update changelog

* DOC: fix changelog issues

* ENH: cleaner calculation of result parameters

* enh: cleanup monte-carlo plots

* STY: linting fixes and re-format

* STL: remove extra files

* BUG: fix compatability with matplotlib==3.5

done by removing height_ratios and replacing with gridspec

---------

Co-authored-by: Evan Madurai <[email protected]>
* TST: add flight fixture for solid propulsion equations of motion

* DEV: add pragma comments to exclude specific lines from coverage

* TST: adds more unit tests to the codebase

MNT: linters

TST: complementing tests for sensitivity analysis and removing duplicate piece of code.

DEV: add pragma comments to exclude specific lines from coverage

MNT: fix pylint error

* TST: add fixture for solid propulsion equations of motion in flight tests

* TST: fix tests not passing
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

Attention: Patch coverage is 73.72881% with 124 lines in your changes missing coverage. Please review.

Project coverage is 80.06%. Comparing base (67af56c) to head (72d9310).
Report is 13 commits behind head on master.

Files with missing lines Patch % Lines
rocketpy/rocket/rocket.py 43.58% 22 Missing ⚠️
rocketpy/environment/environment.py 59.61% 21 Missing ⚠️
rocketpy/_encoders.py 78.18% 12 Missing ⚠️
rocketpy/motors/tank_geometry.py 66.66% 11 Missing ⚠️
rocketpy/simulation/monte_carlo.py 28.57% 10 Missing ⚠️
rocketpy/simulation/flight.py 65.21% 8 Missing ⚠️
...ocketpy/rocket/aero_surface/fins/free_form_fins.py 33.33% 6 Missing ⚠️
rocketpy/rocket/parachute.py 71.42% 6 Missing ⚠️
rocketpy/motors/tank.py 87.80% 5 Missing ⚠️
...cketpy/rocket/aero_surface/fins/elliptical_fins.py 37.50% 5 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #761      +/-   ##
==========================================
+ Coverage   76.43%   80.06%   +3.62%     
==========================================
  Files          95       95              
  Lines       11078    11350     +272     
==========================================
+ Hits         8468     9087     +619     
+ Misses       2610     2263     -347     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gui-FernandesBR Gui-FernandesBR merged commit 6b46322 into master Jan 19, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

7 participants