Skip to content

Commit a81a9a6

Browse files
committed
DOC: improved descriptions of the new parameters
1 parent 3c40acc commit a81a9a6

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

rocketpy/rocket/parachute.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ class Parachute:
9292
Function of noisy_pressure_signal.
9393
Parachute.clean_pressure_signal_function : Function
9494
Function of clean_pressure_signal.
95-
<<<<<<< HEAD
9695
Parachute.radius : float
9796
Length of the non-unique semi-axis (radius) of the inflated hemispheroid
9897
parachute in meters.
@@ -107,15 +106,6 @@ class Parachute:
107106
Parachute.added_mass_coefficient : float
108107
Coefficient used to calculate the added-mass due to dragged air. It is
109108
calculated from the porosity of the parachute.
110-
=======
111-
Parachute.parachute_radius : float
112-
Radius of the inflated parachute in meters.
113-
Parachute.parachute_height : float
114-
Height of the inflated parachute in meters.
115-
Parachute.porosity : float
116-
Porosity of the parachute material, which is a measure of how much air can
117-
pass through the parachute material.
118-
>>>>>>> 78ef92e7 (ENH: added new parameters into add_parachute method in Rocket class)
119109
"""
120110

121111
def __init__(
@@ -181,7 +171,6 @@ def __init__(
181171
The values are used to add noise to the pressure signal which is
182172
passed to the trigger function. Default value is ``(0, 0, 0)``.
183173
Units are in Pa.
184-
<<<<<<< HEAD
185174
radius : float, optional
186175
Length of the non-unique semi-axis (radius) of the inflated hemispheroid
187176
parachute. Default value is 1.5.
@@ -195,18 +184,6 @@ def __init__(
195184
in [0, 1]. Affects only the added-mass scaling during descent; it does
196185
not change ``cd_s`` (drag). The default, 0.0432, yields an added-mass
197186
of 1.0 (“neutral” behavior).
198-
=======
199-
parachute_radius : float, optional
200-
Radius of the inflated parachute. Default value is 1.5.
201-
Units are in meters.
202-
parachute_height : float, optional
203-
Height of the inflated parachute. Default value is the radius parachute.
204-
Units are in meters.
205-
porosity : float, optional
206-
Porosity of the parachute material, which is a measure of how much air can
207-
pass through the parachute material.
208-
Default value is 0.0432 (for consistency with previous versions).
209-
>>>>>>> 78ef92e7 (ENH: added new parameters into add_parachute method in Rocket class)
210187
"""
211188
self.name = name
212189
self.cd_s = cd_s

rocketpy/rocket/rocket.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,6 @@ def add_parachute(
15071507
The values are used to add noise to the pressure signal which is
15081508
passed to the trigger function. Default value is (0, 0, 0). Units
15091509
are in pascal.
1510-
<<<<<<< HEAD
15111510
radius : float, optional
15121511
Length of the non-unique semi-axis (radius) of the inflated hemispheroid
15131512
parachute. Default value is 1.5.
@@ -1521,19 +1520,7 @@ def add_parachute(
15211520
in [0, 1]. Affects only the added-mass scaling during descent; it does
15221521
not change ``cd_s`` (drag). The default, 0.0432, yields an added-mass
15231522
of 1.0 (“neutral” behavior).
1524-
=======
1525-
parachute_radius : float, optional
1526-
Radius of the inflated parachute. Default value is 1.5.
1527-
Units are in meters.
1528-
parachute_height : float, optional
1529-
Height of the inflated parachute. Default value is the radius parachute.
1530-
Units are in meters.
1531-
porosity : float, optional
1532-
Porosity of the parachute material, which is a measure of how much air can
1533-
pass through the parachute material.
1534-
Default value is 0.0432 (for consistency with previous versions).
1535-
>>>>>>> 78ef92e7 (ENH: added new parameters into add_parachute method in Rocket class)
1536-
1523+
15371524
Returns
15381525
-------
15391526
parachute : Parachute

0 commit comments

Comments
 (0)