-
-
Notifications
You must be signed in to change notification settings - Fork 237
ENH: Flight simulation speed up #581
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
Merged
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
21331ee
MNT: use Function.get_value_opt() instead of Function.get_value()
Gui-FernandesBR 11feb2a
MNT: refactor and improve Function initialization
Gui-FernandesBR 5a356cd
MNT: better interpolation and extrapolation for get_value_opt
Gui-FernandesBR cbaa145
MNT: refactors Function.__mul__()
Gui-FernandesBR 9a637a8
TST: fix tests not passing
Gui-FernandesBR bb293aa
DOC: remove forgotten type hints and update docstrings
Gui-FernandesBR a22d38c
MNT: Refactor variable assignment in Function.__mul__
Gui-FernandesBR b23e312
MNT: minor adjustments to Function setters:
Gui-FernandesBR c93480f
MNT: invokes get_value_opt inside get_value
Gui-FernandesBR 99d8948
BUG: Fix wind direction calculation in Environment class
Gui-FernandesBR 9b47dfe
MNT: use local variable instead of class variable in TimeNodes.merge()
Gui-FernandesBR 6deb233
MNT: speedup Flight._calculate_pressure_signal method
Gui-FernandesBR 939d294
TST: fix test not passing
Gui-FernandesBR 26cc6a1
ENH: rework setters and validation
MateusStano 387e532
TST: fix function test for correct behaviour
MateusStano c175e76
BUG: revert comit https://github.com/RocketPy-Team/RocketPy/pull/581/…
MateusStano 81a79e3
ENH: change np.searchsorted to bisect_left
MateusStano c1d1324
DOC: adds docs to new methods
MateusStano d5d9c31
MNT: run isort
MateusStano 7cd270b
MNT: remove unecessary varibale intialization
MateusStano 0bd6f63
ENH: x, y and z array for all ndarray functions
MateusStano ca1ce44
Update rocketpy/mathutils/function.py
MateusStano 8cfaedc
Update rocketpy/mathutils/function.py
MateusStano 07f9ed5
MNT: remove unecessary list casting
MateusStano fa8a892
MNT: return interp and extrap results directly
MateusStano 29bb5fa
ENH: completely private methods
MateusStano 3bee49b
TST: improve tests coverage
MateusStano 00a3c1f
DEV: changelog
MateusStano f03adeb
Merge pull request #582 from RocketPy-Team/enh/function-validation-re…
Gui-FernandesBR 001d430
Merge branch 'develop' into mnt/flight-simulation-speed-up
Gui-FernandesBR 8498512
TST: Add unit tests for TimeNodes class and its methods
Gui-FernandesBR 88eefa2
ENH: add Function.calculate_cubic_hermite_coefficients method
Gui-FernandesBR cacd95f
ENH: Adds Function.cardanos_root_finding
Gui-FernandesBR c7bbd45
TST: Refactor acceptance message to include error threshold
Gui-FernandesBR 80d271e
ENH: Allows the comparison of two TimeNode objects based on their ini…
Gui-FernandesBR ac294c6
ENH: calculates atmospheric attributes from environment
Gui-FernandesBR cadcf10
ENH: Add property to calculate differences in function evaluations pe…
Gui-FernandesBR 77be755
ENH: small fixes to the TimeNode() class
Gui-FernandesBR dc6ff4a
ENH: Improve Flight.__init_xxxx methods
Gui-FernandesBR 826331f
Fix code style issues with Black
lint-action 9568256
Merge branch 'develop' into mnt/flight-simulation-speed-up
Gui-FernandesBR 25093f6
BUG: restore tests, roll back errors
Gui-FernandesBR 13b3d57
MNT: renames FlightPhases to flight_phases
Gui-FernandesBR 9c6c7db
MNT: renames TimeNodes to time_nodes
Gui-FernandesBR 41cbcc3
MNT: don't re-assign the time_iterator function
Gui-FernandesBR cabdcd2
MNT: Refactor Flight class root finding algorithm for rail exit and i…
Gui-FernandesBR ce32cb1
MNT: Refactor simulation loop to use Function.calculate_cubic_hermite…
Gui-FernandesBR 48ac2f1
TST: adds tests for new Function calculations
Gui-FernandesBR af31b94
ENH: cast float type in the Hermite interpolation function in Functio…
Gui-FernandesBR 2602e4d
ENH: improve Flight.TimeNodes.merge method
Gui-FernandesBR b55236e
MNT: rename cardanos_root_finding to find_roots_cubic_function in Fun…
Gui-FernandesBR 28d0c62
DOC: representation methods, TODOs and docstring
Gui-FernandesBR 1b37951
ENH: providing lambda to sort() is no longer needed
Gui-FernandesBR ce68150
ENH: new Flight.__calculate_and_save_pressure_signals method
Gui-FernandesBR 8f6efdf
ENH: use Function.find_root_linear_interpolation in the simulation loop
Gui-FernandesBR 39003cd
MNT: rename __transform_pressure_signals_lists_to_functions method
Gui-FernandesBR b8660db
ENH: optimize post_process mode
Gui-FernandesBR f84a03f
MNT: small fixes to the Flight class
Gui-FernandesBR ac01264
DEV: Adds PR 581 to CHANGELOG
Gui-FernandesBR 5f2a4dc
BUG: fix linear interpolation root finding method name in Function class
Gui-FernandesBR 7775a16
Merge branch 'develop' into mnt/flight-simulation-speed-up
Gui-FernandesBR 8d09864
MNT: move auxiliary functions from Function to tools.py
Gui-FernandesBR 505275a
MNT: Fix apogee position calculation in Flight class
Gui-FernandesBR 2690fb2
MNT: delete unused comments in the Flight class
Gui-FernandesBR cb100c8
Merge branch 'develop' into mnt/flight-simulation-speed-up
Gui-FernandesBR 0df1a46
BUG: fix Flight.__repr__ method
Gui-FernandesBR 2013f16
MNT: simplify post process evaluation with __evaluate_post_process me…
Gui-FernandesBR 79be714
TST: update test values for accelerations calculations
Gui-FernandesBR 4b3d884
MNT: Refactor find_roots_cubic_function method in tools.py
Gui-FernandesBR a1737c8
ENH: defaults to u_dot in case the rocket has a solid propulsion
Gui-FernandesBR c268add
Merge branch 'develop' into mnt/flight-simulation-speed-up
MateusStano 327d9b3
REV: reverts commit a1737c8
Gui-FernandesBR 0eb4ae8
TST: test_max_values now receives relative tolerance
Gui-FernandesBR 14eca09
TST: fix the documentation tests of tools.py
Gui-FernandesBR dd9bc15
BUG: fix append function in rocketpy/simulation/flight.py
Gui-FernandesBR 90306f1
Merge branch 'develop' into mnt/flight-simulation-speed-up
Gui-FernandesBR 92e93a7
ENH: modify the post_processing version of udot_rail1
Gui-FernandesBR 80d85bb
Fix code style issues with Black
lint-action File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.