Skip to content

Commit 46f4311

Browse files
Merge branch 'doc/monte-carlo-documentation-updates' into enh/show-variables-monte-carlo
2 parents fcbaea0 + b3f6ca7 commit 46f4311

File tree

6 files changed

+272
-14
lines changed

6 files changed

+272
-14
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ version: 2
77

88
# Set the version of Python and other tools
99
build:
10-
os: ubuntu-20.04
10+
os: ubuntu-22.04
1111
tools:
12-
python: "3.9"
12+
python: "3.12"
1313

1414
# Build documentation in the docs/ directory with Sphinx
1515
sphinx:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
5656

5757
### Fixed
5858

59+
- DOC: Solve Dependencies Conflicts and pyproject build [#613](https://github.com/RocketPy-Team/RocketPy/pull/613)
60+
- BUG: Fixes nose cone bluffness issue #610 [#611](https://github.com/RocketPy-Team/RocketPy/pull/611)
5961
- BUG: plot drag curves when function source is callable [#599](https://github.com/RocketPy-Team/RocketPy/pull/599)
6062
- BUG: Fix minor type hinting problems [#598](https://github.com/RocketPy-Team/RocketPy/pull/598)
6163
- BUG: Optional Dependencies Naming in pyproject.toml. [#592](https://github.com/RocketPy-Team/RocketPy/pull/592)

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
import os
1414
import sys
1515

16-
sys.path.insert(0, os.path.abspath("../"))
17-
16+
package_path = os.path.abspath("../")
17+
sys.path.insert(0, package_path)
18+
os.environ["PYTHONPATH"] = ":".join((package_path, os.environ.get("PYTHONPATH", "")))
1819

1920
# -- Project information -----------------------------------------------------
2021

2122
project = "RocketPy"
22-
copyright = "2023, RocketPy Team"
23+
copyright = "2024, RocketPy Team"
2324

2425
author = "RocketPy Team"
2526

docs/requirements.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
nbsphinx==0.9.4
2+
pydata-sphinx-theme==0.15.2
3+
m2r2==0.3.3.post2
4+
jupyter-sphinx==0.5.3
5+
sphinx_design==0.5.0
6+
ipykernel==6.29.4
7+
pandas==2.2.2
8+
lxml_html_clean==0.1.1
9+
docutils==0.20.1

docs/requirements.txt

Lines changed: 253 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,253 @@
1-
nbsphinx>=0.8.0
2-
pydata-sphinx-theme==0.13.3
3-
m2r2>=0.2.1
4-
jupyter-sphinx==0.4.0
5-
sphinx_design==0.5.0
6-
ipykernel>=6.25.0
7-
pandas>=1.4.4
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.12
3+
# by the following command:
4+
#
5+
# pip-compile docs/requirements.in
6+
#
7+
accessible-pygments==0.0.5
8+
# via pydata-sphinx-theme
9+
alabaster==0.7.16
10+
# via sphinx
11+
asttokens==2.4.1
12+
# via stack-data
13+
attrs==23.2.0
14+
# via
15+
# jsonschema
16+
# referencing
17+
babel==2.15.0
18+
# via
19+
# pydata-sphinx-theme
20+
# sphinx
21+
beautifulsoup4==4.12.3
22+
# via
23+
# nbconvert
24+
# pydata-sphinx-theme
25+
bleach==6.1.0
26+
# via nbconvert
27+
certifi==2024.2.2
28+
# via requests
29+
charset-normalizer==3.3.2
30+
# via requests
31+
comm==0.2.2
32+
# via
33+
# ipykernel
34+
# ipywidgets
35+
debugpy==1.8.1
36+
# via ipykernel
37+
decorator==5.1.1
38+
# via ipython
39+
defusedxml==0.7.1
40+
# via nbconvert
41+
docutils==0.20.1
42+
# via
43+
# -r docs/requirements.in
44+
# m2r2
45+
# nbsphinx
46+
# pydata-sphinx-theme
47+
# sphinx
48+
entrypoints==0.4
49+
# via nbconvert
50+
executing==2.0.1
51+
# via stack-data
52+
fastjsonschema==2.19.1
53+
# via nbformat
54+
idna==3.7
55+
# via requests
56+
imagesize==1.4.1
57+
# via sphinx
58+
ipykernel==6.29.4
59+
# via
60+
# -r docs/requirements.in
61+
# jupyter-sphinx
62+
ipython==8.24.0
63+
# via
64+
# ipykernel
65+
# ipywidgets
66+
# jupyter-sphinx
67+
ipywidgets==8.1.2
68+
# via jupyter-sphinx
69+
jedi==0.19.1
70+
# via ipython
71+
jinja2==3.1.4
72+
# via
73+
# nbconvert
74+
# nbsphinx
75+
# sphinx
76+
jsonschema==4.22.0
77+
# via nbformat
78+
jsonschema-specifications==2023.12.1
79+
# via jsonschema
80+
jupyter-client==8.6.2
81+
# via
82+
# ipykernel
83+
# nbclient
84+
jupyter-core==5.7.2
85+
# via
86+
# ipykernel
87+
# jupyter-client
88+
# nbclient
89+
# nbconvert
90+
# nbformat
91+
jupyter-sphinx==0.5.3
92+
# via -r docs/requirements.in
93+
jupyterlab-pygments==0.3.0
94+
# via nbconvert
95+
jupyterlab-widgets==3.0.10
96+
# via ipywidgets
97+
lxml==5.2.2
98+
# via
99+
# lxml-html-clean
100+
# nbconvert
101+
lxml-html-clean==0.1.1
102+
# via -r docs/requirements.in
103+
m2r2==0.3.3.post2
104+
# via -r docs/requirements.in
105+
markupsafe==2.1.5
106+
# via
107+
# jinja2
108+
# nbconvert
109+
matplotlib-inline==0.1.7
110+
# via
111+
# ipykernel
112+
# ipython
113+
mistune==0.8.4
114+
# via
115+
# m2r2
116+
# nbconvert
117+
nbclient==0.10.0
118+
# via nbconvert
119+
nbconvert==6.5.4
120+
# via
121+
# jupyter-sphinx
122+
# nbsphinx
123+
nbformat==5.10.4
124+
# via
125+
# jupyter-sphinx
126+
# nbclient
127+
# nbconvert
128+
# nbsphinx
129+
nbsphinx==0.9.4
130+
# via -r docs/requirements.in
131+
nest-asyncio==1.6.0
132+
# via ipykernel
133+
numpy==1.26.4
134+
# via pandas
135+
packaging==24.0
136+
# via
137+
# ipykernel
138+
# nbconvert
139+
# pydata-sphinx-theme
140+
# sphinx
141+
pandas==2.2.2
142+
# via -r docs/requirements.in
143+
pandocfilters==1.5.1
144+
# via nbconvert
145+
parso==0.8.4
146+
# via jedi
147+
pexpect==4.9.0
148+
# via ipython
149+
platformdirs==4.2.2
150+
# via jupyter-core
151+
prompt-toolkit==3.0.43
152+
# via ipython
153+
psutil==5.9.8
154+
# via ipykernel
155+
ptyprocess==0.7.0
156+
# via pexpect
157+
pure-eval==0.2.2
158+
# via stack-data
159+
pydata-sphinx-theme==0.15.2
160+
# via -r docs/requirements.in
161+
pygments==2.18.0
162+
# via
163+
# accessible-pygments
164+
# ipython
165+
# nbconvert
166+
# pydata-sphinx-theme
167+
# sphinx
168+
python-dateutil==2.9.0.post0
169+
# via
170+
# jupyter-client
171+
# pandas
172+
pytz==2024.1
173+
# via pandas
174+
pyzmq==26.0.3
175+
# via
176+
# ipykernel
177+
# jupyter-client
178+
referencing==0.35.1
179+
# via
180+
# jsonschema
181+
# jsonschema-specifications
182+
requests==2.32.2
183+
# via sphinx
184+
rpds-py==0.18.1
185+
# via
186+
# jsonschema
187+
# referencing
188+
six==1.16.0
189+
# via
190+
# asttokens
191+
# bleach
192+
# python-dateutil
193+
snowballstemmer==2.2.0
194+
# via sphinx
195+
soupsieve==2.5
196+
# via beautifulsoup4
197+
sphinx==7.3.7
198+
# via
199+
# jupyter-sphinx
200+
# nbsphinx
201+
# pydata-sphinx-theme
202+
# sphinx-design
203+
sphinx-design==0.5.0
204+
# via -r docs/requirements.in
205+
sphinxcontrib-applehelp==1.0.8
206+
# via sphinx
207+
sphinxcontrib-devhelp==1.0.6
208+
# via sphinx
209+
sphinxcontrib-htmlhelp==2.0.5
210+
# via sphinx
211+
sphinxcontrib-jsmath==1.0.1
212+
# via sphinx
213+
sphinxcontrib-qthelp==1.0.7
214+
# via sphinx
215+
sphinxcontrib-serializinghtml==1.1.10
216+
# via sphinx
217+
stack-data==0.6.3
218+
# via ipython
219+
tinycss2==1.3.0
220+
# via nbconvert
221+
tornado==6.4
222+
# via
223+
# ipykernel
224+
# jupyter-client
225+
traitlets==5.14.3
226+
# via
227+
# comm
228+
# ipykernel
229+
# ipython
230+
# ipywidgets
231+
# jupyter-client
232+
# jupyter-core
233+
# matplotlib-inline
234+
# nbclient
235+
# nbconvert
236+
# nbformat
237+
# nbsphinx
238+
typing-extensions==4.12.0
239+
# via
240+
# ipython
241+
# pydata-sphinx-theme
242+
tzdata==2024.1
243+
# via pandas
244+
urllib3==2.2.1
245+
# via requests
246+
wcwidth==0.2.13
247+
# via prompt-toolkit
248+
webencodings==0.5.1
249+
# via
250+
# bleach
251+
# tinycss2
252+
widgetsnbextension==4.0.10
253+
# via ipywidgets

rocketpy/rocket/aero_surface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ def test_circle(x):
413413
r_circle, circle_center, x_init = 0, 0, 0
414414
else:
415415
# Find the intersection point between circle and nosecone curve
416-
x_init = fsolve(lambda x: find_radius(x) - r_circle, r_circle)[0]
416+
x_init = fsolve(lambda x: find_radius(x[0]) - r_circle, r_circle)[0]
417417
circle_center = find_x_intercept(x_init)
418418
else:
419419
# Find the intersection point between circle and nosecone curve
420-
x_init = fsolve(lambda x: find_radius(x) - r_circle, r_circle)[0]
420+
x_init = fsolve(lambda x: find_radius(x[0]) - r_circle, r_circle)[0]
421421
circle_center = find_x_intercept(x_init)
422422

423423
# Calculate a function to create the circle at the correct position

0 commit comments

Comments
 (0)