@@ -92,10 +92,10 @@ class Parachute:
9292 Function of noisy_pressure_signal.
9393 Parachute.clean_pressure_signal_function : Function
9494 Function of clean_pressure_signal.
95- Parachute.parachute_radius : float
95+ Parachute.radius : float
9696 Length of the non-unique semi-axis (radius) of the inflated hemispheroid
9797 parachute in meters.
98- Parachute.parachute_height : float, None
98+ Parachute.height : float, None
9999 Length of the unique semi-axis (height) of the inflated hemispheroid
100100 parachute in meters.
101101 Parachute.porosity : float
@@ -111,8 +111,8 @@ def __init__(
111111 sampling_rate ,
112112 lag = 0 ,
113113 noise = (0 , 0 , 0 ),
114- parachute_radius = 1.5 ,
115- parachute_height = None ,
114+ radius = 1.5 ,
115+ height = None ,
116116 porosity = 0.0432 ,
117117 ):
118118 """Initializes Parachute class.
@@ -166,11 +166,11 @@ def __init__(
166166 The values are used to add noise to the pressure signal which is
167167 passed to the trigger function. Default value is ``(0, 0, 0)``.
168168 Units are in Pa.
169- parachute_radius : float, optional
169+ radius : float, optional
170170 Length of the non-unique semi-axis (radius) of the inflated hemispheroid
171171 parachute. Default value is 1.5.
172172 Units are in meters.
173- parachute_height : float, optional
173+ height : float, optional
174174 Length of the unique semi-axis (height) of the inflated hemispheroid
175175 parachute. Default value is the radius of the parachute.
176176 Units are in meters.
@@ -193,8 +193,8 @@ def __init__(
193193 self .clean_pressure_signal_function = Function (0 )
194194 self .noisy_pressure_signal_function = Function (0 )
195195 self .noise_signal_function = Function (0 )
196- self .parachute_radius = parachute_radius
197- self .parachute_height = parachute_height or parachute_radius
196+ self .radius = radius
197+ self .height = height or radius
198198 self .porosity = porosity
199199 self .ka = 1.068 * (
200200 1
@@ -296,8 +296,8 @@ def to_dict(self, include_outputs=False):
296296 "sampling_rate" : self .sampling_rate ,
297297 "lag" : self .lag ,
298298 "noise" : self .noise ,
299- "parachute_radius " : self .parachute_radius ,
300- "parachute_height " : self .parachute_height ,
299+ "radius " : self .radius ,
300+ "height " : self .height ,
301301 "porosity" : self .porosity ,
302302 }
303303
@@ -325,8 +325,8 @@ def from_dict(cls, data):
325325 sampling_rate = data ["sampling_rate" ],
326326 lag = data ["lag" ],
327327 noise = data ["noise" ],
328- parachute_radius = data .get ("parachute_radius " , 1.5 ),
329- parachute_height = data .get ("parachute_height " , None ),
328+ radius = data .get ("radius " , 1.5 ),
329+ height = data .get ("height " , None ),
330330 porosity = data .get ("porosity" , 0.0432 ),
331331 )
332332
0 commit comments