Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
d3f2e85
add add_wire method, Magnetometer class and Wire class
aitorperezgrau-sys Jul 14, 2026
e393345
improvements of wire Class, magnetometer Class and add_wire
aitorperezgrau-sys Jul 15, 2026
dc91b27
importing adjustments
aitorperezgrau-sys Jul 15, 2026
86af66a
importing adjustments
aitorperezgrau-sys Jul 15, 2026
9914c0b
changes in importing
aitorperezgrau-sys Jul 15, 2026
454fb11
improvementof magnetometer class with the introduction of some attrib…
aitorperezgrau-sys Jul 15, 2026
96c4c53
changes on the strucuture of Wire and Magnetomter to allow the same w…
aitorperezgrau-sys Jul 16, 2026
2854931
many changes
aitorperezgrau-sys Jul 17, 2026
7fac64f
definition of the calculation of magnetic field, as well as in sensor…
aitorperezgrau-sys Jul 17, 2026
cffafd1
copy
aitorperezgrau-sys Jul 17, 2026
f0b3107
many chagnges
aitorperezgrau-sys Jul 18, 2026
1bf8dbb
typos errors checked
aitorperezgrau-sys Jul 19, 2026
94594ce
allowing the HIL version of the Wire, by means of lazy validation of …
aitorperezgrau-sys Jul 20, 2026
e8d329d
documentation changes, and naming improvements
aitorperezgrau-sys Jul 20, 2026
536d1da
creation of plate class, add_plate, changes in wire functions and mag…
aitorperezgrau-sys Jul 20, 2026
f9f427f
commencement of the obtainment of the soft iron matrix
aitorperezgrau-sys Jul 21, 2026
6ad3035
improvemet of the plate class, as well as the definition of radius fu…
aitorperezgrau-sys Jul 21, 2026
69a7dd3
improvement of plate class, as welll as add_plate, magnetometer and s…
aitorperezgrau-sys Jul 22, 2026
b9c8950
improvements
aitorperezgrau-sys Jul 22, 2026
903deab
improvement on the soft iron distortion matrix
aitorperezgrau-sys Jul 22, 2026
2e3b8d0
improvements on point class and tests
aitorperezgrau-sys Jul 22, 2026
3ddaa16
improvements on plate soft iron distortion matrix calculations, and t…
aitorperezgrau-sys Jul 23, 2026
4187cee
improving the plate calculation of the soft iron distortion matrix, a…
aitorperezgrau-sys Jul 23, 2026
303d97e
changes in style adn documentation
aitorperezgrau-sys Jul 23, 2026
5b9c1d1
improvements in the documentation
aitorperezgrau-sys Jul 23, 2026
7e95229
elimination of current direciton attribute, creation of inside rocket…
aitorperezgrau-sys Jul 24, 2026
6469bc3
improvemetn of the plate generate_points funciton
aitorperezgrau-sys Jul 24, 2026
fa47060
improvements and tests
aitorperezgrau-sys Jul 24, 2026
85ad534
reorganization and generalization and refinement of motor ignition co…
aitorperezgrau-sys Jul 24, 2026
ec29728
changes in documentation and magnetometer calculations frame
aitorperezgrau-sys Jul 25, 2026
d09404a
improvements in precision and readibility
aitorperezgrau-sys Jul 25, 2026
0823c82
creation of plots and prints of plate class
aitorperezgrau-sys Jul 25, 2026
7a92f35
introduction of the prints and plots of the Wire and Plate classes, t…
aitorperezgrau-sys Jul 25, 2026
310911d
improvements on plots and prints
aitorperezgrau-sys Jul 26, 2026
1462e6b
improvemetn of documentation and precision
aitorperezgrau-sys Jul 26, 2026
409a482
improvemetn of the documentation, improvemetn of the plate class para…
aitorperezgrau-sys Jul 26, 2026
e551dcb
documentation changes and change in the operations of the magnetometer
aitorperezgrau-sys Jul 28, 2026
aafadee
chagnes in coordinates and plots
aitorperezgrau-sys Jul 29, 2026
5d30bf6
improvements on coordinate system definition, and plots
aitorperezgrau-sys Jul 30, 2026
00203b8
introduction of the user frame in the plots, and improvemetn of the g…
aitorperezgrau-sys Jul 30, 2026
6262378
changes in documentation and style
aitorperezgrau-sys Jul 30, 2026
94ee39d
improvement of the documentation, and changes in validation of input …
aitorperezgrau-sys Aug 3, 2026
9053270
begging of tests for implemented classes adn funcitons, and several c…
aitorperezgrau-sys Aug 10, 2026
cc7cb25
tests in rocket , plate and wire
aitorperezgrau-sys Aug 11, 2026
6abe12a
continuation of testing
aitorperezgrau-sys Aug 11, 2026
2cf3c68
test_plate and changes on plate and plate_plot to properly characteri…
aitorperezgrau-sys Aug 11, 2026
fb01fde
all unit test done
aitorperezgrau-sys Aug 11, 2026
b648730
continue doing the testing work
aitorperezgrau-sys Aug 12, 2026
caf4a48
continuation of testing
aitorperezgrau-sys Aug 12, 2026
2718f25
test_sensor
aitorperezgrau-sys Aug 13, 2026
bc9ce57
test and changes on data strucutres
aitorperezgrau-sys Aug 13, 2026
7b58ea5
improving wire class as well as test_wire and magnetometer class
aitorperezgrau-sys Aug 13, 2026
d7966df
created the documentation and testing
aitorperezgrau-sys Aug 14, 2026
7a68281
addition to the documentation of the new classes
aitorperezgrau-sys Aug 14, 2026
0d2ecd2
index chagnes to include plate and wire plots and prints
aitorperezgrau-sys Aug 14, 2026
1de6a6c
improvement of documentation and adjustmetn of requirements file to s…
aitorperezgrau-sys Aug 14, 2026
ed6fa0b
changes and improvements in the documentation, both docstrigns and .r…
aitorperezgrau-sys Aug 15, 2026
7bf67d0
more on documentation
aitorperezgrau-sys Aug 15, 2026
4a6233b
hiding the private validation methods
aitorperezgrau-sys Aug 15, 2026
a7078ca
more improvements
aitorperezgrau-sys Aug 15, 2026
352d029
improvements
aitorperezgrau-sys Aug 15, 2026
ed54f14
changes in docstirng
aitorperezgrau-sys Aug 15, 2026
1798d24
changes on docstrings to ommit redundancy
aitorperezgrau-sys Aug 15, 2026
132587c
more on documentation
aitorperezgrau-sys Aug 15, 2026
c11d803
a
aitorperezgrau-sys Aug 15, 2026
3b7f4bb
changes on the strucutre of plate validation, allowing rectangular sh…
aitorperezgrau-sys Aug 15, 2026
c5c3b79
improving plots
aitorperezgrau-sys Aug 15, 2026
40d56c7
a
aitorperezgrau-sys Aug 15, 2026
1c45a33
eliminating auxiliary file
aitorperezgrau-sys Aug 15, 2026
2b5c8b5
changes on documentation
aitorperezgrau-sys Aug 16, 2026
9d0b9bc
format
aitorperezgrau-sys Aug 16, 2026
25b1fff
improvements in docstring
aitorperezgrau-sys Aug 16, 2026
0ab2c59
improvement of docstirng
aitorperezgrau-sys Aug 16, 2026
face5a4
a
aitorperezgrau-sys Aug 16, 2026
e71af87
docstring changes
aitorperezgrau-sys Aug 16, 2026
e852ef3
sublte docstring changes
aitorperezgrau-sys Aug 16, 2026
ddcbc37
a
aitorperezgrau-sys Aug 16, 2026
22217c4
swap ValueError by InvalidParameterError, which has been generalized …
aitorperezgrau-sys Aug 16, 2026
15586e5
changes on test due to name changes
aitorperezgrau-sys Aug 16, 2026
4e9ec49
test subtle change due to name
aitorperezgrau-sys Aug 16, 2026
d27131f
creation of csys and center of dry mass attirbutes to have a more cle…
aitorperezgrau-sys Aug 27, 2026
a4e01b5
format, and some minor test chagnes due to previus code changes
aitorperezgrau-sys Sep 3, 2026
a06a8e1
changes due to name changes
aitorperezgrau-sys Sep 3, 2026
a278192
changes in docstrings
aitorperezgrau-sys Sep 4, 2026
3888331
changeso on testwire dosctribg
aitorperezgrau-sys Sep 4, 2026
e4f598a
formats changes
aitorperezgrau-sys Sep 4, 2026
95c38c9
elimination of reimported plate
aitorperezgrau-sys Sep 4, 2026
4d755d2
importing adjustments
aitorperezgrau-sys Sep 4, 2026
29face7
outputs of pytest generated automatically and related to montecarlo
aitorperezgrau-sys Sep 4, 2026
de3b4a7
remove auto-generated monte carlo test
aitorperezgrau-sys Sep 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
# Napoleon settings
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = True
napoleon_use_admonition_for_notes = True
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/reference/classes/Plate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Plate Class
------------

.. autoclass:: rocketpy.Plate
:members:
:exclude-members: from_dict
6 changes: 6 additions & 0 deletions docs/reference/classes/Wire.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Wire Class
------------

.. autoclass:: rocketpy.Wire
:members:
:exclude-members: from_dict
1 change: 1 addition & 0 deletions docs/reference/classes/sensors/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Sensor Classes
Barometer Class <barometer>
Gyroscope Class <gyroscope>
GNSS Receiver Class <gnss_receiver>
Magnetometer Class <magnetometer>
6 changes: 6 additions & 0 deletions docs/reference/classes/sensors/magnetometer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Magnetometer Class
------------------

.. autoclass:: rocketpy.sensors.Magnetometer
:members:
:exclude-members: from_dict
8 changes: 6 additions & 2 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ This reference manual details functions, modules, methods and attributes include
classes/Components
classes/Rocket
classes/Parachute
classes/sensors/index.rst
Sensor Classes <classes/sensors/index>
classes/Flight
classes/Wire
classes/Plate
Utilities <classes/utils/index>
classes/EnvironmentAnalysis
Monte Carlo Analysis <classes/monte_carlo/index>
Expand All @@ -31,6 +33,8 @@ This reference manual details functions, modules, methods and attributes include
Motor Classes Plots and Prints <plots_prints/motors/index>
AeroSurface Classes Plots and Prints <plots_prints/aero_surfaces/index>
Rocket Plots and Prints <plots_prints/Rocket/index>
Wire Plots and Prints <plots_prints/Wire/index>
Plate Plots and Prints <plots_prints/Plate/index>
Flight Plots and Prints <plots_prints/Flight/index>
EnvironmentAnalysis Plots and Prints <plots_prints/EnvironmentAnalysis/index>
CompareFlights Plots <plots_prints/compare_flights>
CompareFlights Plots <plots_prints/compare_flights>
5 changes: 5 additions & 0 deletions docs/reference/plots_prints/Plate/PlatePlots.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Plate Plots Class
-------------------

.. autoclass:: rocketpy.plots.plate_plots._PlatePlots
:members:
5 changes: 5 additions & 0 deletions docs/reference/plots_prints/Plate/PlatePrints.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Plate Prints Class
-------------------

.. autoclass:: rocketpy.prints.plate_prints._PlatePrints
:members:
9 changes: 9 additions & 0 deletions docs/reference/plots_prints/Plate/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Plate Plots and Prints Classes
===============================

.. toctree::
:maxdepth: 1
:caption: Contents:

PlatePlots
PlatePrints
5 changes: 5 additions & 0 deletions docs/reference/plots_prints/Wire/WirePlots.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Wire Plots Class
-------------------

.. autoclass:: rocketpy.plots.wire_plots._WirePlots
:members:
5 changes: 5 additions & 0 deletions docs/reference/plots_prints/Wire/WirePrints.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Wire Prints Class
-------------------

.. autoclass:: rocketpy.prints.wire_prints._WirePrints
:members:
9 changes: 9 additions & 0 deletions docs/reference/plots_prints/Wire/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Wire Plots and Prints Classes
===============================

.. toctree::
:maxdepth: 1
:caption: Contents:

WirePlots
WirePrints
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ tzdata==2025.2
# via pandas
urllib3==2.5.0
# via requests
wcwidth==0.2.13
wcwidth>=0.8.0
# via prompt-toolkit
webencodings==0.5.1
# via
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ requests
pytz
simplekml
dill
pywmm
4 changes: 3 additions & 1 deletion rocketpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,18 @@
LinearGenericSurface,
NoseCone,
Parachute,
Plate,
PointMassRocket,
RailButtons,
Rocket,
Tail,
TrapezoidalFin,
TrapezoidalFins,
TubeFins,
Wire,
)
from .sensitivity import SensitivityModel
from .sensors import Accelerometer, Barometer, GnssReceiver, Gyroscope
from .sensors import Accelerometer, Barometer, GnssReceiver, Gyroscope, Magnetometer
from .simulation import Flight, MonteCarlo, MultivariateRejectionSampler
from .stochastic import (
CustomSampler,
Expand Down
2 changes: 1 addition & 1 deletion rocketpy/environment/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import os
import re
import warnings
from collections.abc import Mapping
from collections import namedtuple
from collections.abc import Mapping
from datetime import datetime

import netCDF4
Expand Down
24 changes: 12 additions & 12 deletions rocketpy/environment/fetchers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@
fetch_atmospheric_data_from_meteomatics,
fetch_meteomatics_token,
)
from rocketpy.environment.fetchers.open_meteo_fetcher import (
OPEN_METEO_ENSEMBLE_MODELS,
OPEN_METEO_ENSEMBLE_URL,
OPEN_METEO_FORECAST_URL,
OPEN_METEO_HISTORICAL_START_DATE,
OPEN_METEO_HISTORICAL_URL,
OPEN_METEO_PRESSURE_LEVELS,
OPEN_METEO_TIMEOUT_SECONDS,
build_hourly_variables,
fetch_open_meteo_ensemble,
fetch_open_meteo_forecast,
)
from rocketpy.environment.fetchers.noaa_catalog import (
FORECAST_MODELS_CATALOG_URL,
NOAA_MODEL_COLLECTIONS,
Expand All @@ -45,6 +33,18 @@
list_noaa_dataset_identifiers,
resolve_noaa_collection_path,
)
from rocketpy.environment.fetchers.open_meteo_fetcher import (
OPEN_METEO_ENSEMBLE_MODELS,
OPEN_METEO_ENSEMBLE_URL,
OPEN_METEO_FORECAST_URL,
OPEN_METEO_HISTORICAL_START_DATE,
OPEN_METEO_HISTORICAL_URL,
OPEN_METEO_PRESSURE_LEVELS,
OPEN_METEO_TIMEOUT_SECONDS,
build_hourly_variables,
fetch_open_meteo_ensemble,
fetch_open_meteo_forecast,
)
from rocketpy.environment.fetchers.opendap_fetchers import (
fetch_aigfs_file_return_dataset,
fetch_cmc_ensemble,
Expand Down
5 changes: 3 additions & 2 deletions rocketpy/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ class RocketPyError(Exception):


class InvalidParameterError(RocketPyError, ValueError):
"""Raised when a constructor parameter has an invalid value (e.g. negative
radius or mass)."""
"""Raised when a function, method, or constructor parameter receives an
invalid value or violates geometric/physical constraints (e.g., negative
mass, out-of-bounds coordinates, or unsupported options)."""


class InvalidInertiaError(RocketPyError, ValueError):
Expand Down
1 change: 0 additions & 1 deletion rocketpy/motors/motor.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ class Motor(ABC):
It will allow to obtain the net thrust in the Flight class.
"""

# pylint: disable=too-many-statements
def __init__(
self,
thrust_source,
Expand Down
Loading