@@ -43,7 +43,7 @@ def initial_conditions(self):
4343 None
4444 """
4545
46- print ("\n \ n Initial Conditions\n " )
46+ print ("\n Initial Conditions\n " )
4747
4848 # Post-process results
4949 if self .flight .postProcessed is False :
@@ -92,7 +92,7 @@ def numerical_integration_settings(self):
9292 None
9393 """
9494
95- print ("\n \ n Numerical Integration Settings\n " )
95+ print ("\n Numerical Integration Settings\n " )
9696 print ("Maximum Allowed Flight Time: {:f} s" .format (self .flight .maxTime ))
9797 print ("Maximum Allowed Time Step: {:f} s" .format (self .flight .maxTimeStep ))
9898 print ("Minimum Allowed Time Step: {:e} s" .format (self .flight .minTimeStep ))
@@ -123,7 +123,7 @@ def surface_wind_conditions(self):
123123 """
124124 if self .flight .postProcessed is False :
125125 self .flight .postProcess ()
126- print ("\n \ n Surface Wind Conditions\n " )
126+ print ("\n Surface Wind Conditions\n " )
127127 print (
128128 "Frontal Surface Wind Speed: {:.2f} m/s" .format (
129129 self .flight .frontalSurfaceWind
@@ -149,7 +149,7 @@ def launch_rail_conditions(self):
149149 None
150150 """
151151
152- print ("\n \ n Launch Rail Orientation\n " )
152+ print ("\n Launch Rail Orientation\n " )
153153 print ("Launch Rail Inclination: {:.2f}°" .format (self .flight .inclination ))
154154 print ("Launch Rail Heading: {:.2f}°" .format (self .flight .heading ))
155155 return None
@@ -163,7 +163,7 @@ def out_of_rail_conditions(self):
163163 """
164164 if self .flight .postProcessed is False :
165165 self .flight .postProcess ()
166- print ("\n \ n Rail Departure State\n " )
166+ print ("\n Rail Departure State\n " )
167167 print ("Rail Departure Time: {:.3f} s" .format (self .flight .outOfRailTime ))
168168 print (
169169 "Rail Departure Velocity: {:.3f} m/s" .format (self .flight .outOfRailVelocity )
@@ -200,7 +200,7 @@ def burn_out_conditions(self):
200200 """
201201 if self .flight .postProcessed is False :
202202 self .flight .postProcess ()
203- print ("\n \ n BurnOut State\n " )
203+ print ("\n BurnOut State\n " )
204204 print ("BurnOut time: {:.3f} s" .format (self .flight .rocket .motor .burnOutTime ))
205205 print (
206206 "Altitude at burnOut: {:.3f} m (AGL)" .format (
@@ -248,7 +248,7 @@ def apogee_conditions(self):
248248 """
249249 if self .flight .postProcessed is False :
250250 self .flight .postProcess ()
251- print ("\n \ n Apogee State\n " )
251+ print ("\n Apogee State\n " )
252252 print (
253253 "Apogee Altitude: {:.3f} m (ASL) | {:.3f} m (AGL)" .format (
254254 self .flight .apogee , self .flight .apogee - self .flight .env .elevation
@@ -272,7 +272,7 @@ def events_registered(self):
272272 """
273273 if self .flight .postProcessed is False :
274274 self .flight .postProcess ()
275- print ("\n \ n Parachute Events\n " )
275+ print ("\n Parachute Events\n " )
276276 if len (self .flight .parachuteEvents ) == 0 :
277277 print ("No Parachute Events Were Triggered." )
278278 for event in self .flight .parachuteEvents :
@@ -308,7 +308,7 @@ def impact_conditions(self):
308308 if self .flight .postProcessed is False :
309309 self .flight .postProcess ()
310310 if len (self .flight .impactState ) != 0 :
311- print ("\n \ n Impact Conditions\n " )
311+ print ("\n Impact Conditions\n " )
312312 print ("X Impact: {:.3f} m" .format (self .flight .xImpact ))
313313 print ("Y Impact: {:.3f} m" .format (self .flight .yImpact ))
314314 print ("Time of Impact: {:.3f} s" .format (self .flight .tFinal ))
@@ -327,7 +327,7 @@ def maximum_values(self):
327327 -------
328328 None
329329 """
330- print ("\n \ n Maximum Values\n " )
330+ print ("\n Maximum Values\n " )
331331 print (
332332 "Maximum Speed: {:.3f} m/s at {:.2f} s" .format (
333333 self .flight .maxSpeed , self .flight .maxSpeedTime
@@ -395,32 +395,42 @@ def all(self):
395395
396396 # Print initial conditions
397397 self .initial_conditions ()
398+ print ()
398399
399400 # Print surface wind conditions
400401 self .surface_wind_conditions ()
402+ print ()
401403
402404 # Print launch rail orientation
403405 self .launch_rail_conditions ()
406+ print ()
404407
405408 # Print out of rail conditions
406409 self .out_of_rail_conditions ()
410+ print ()
407411
408412 # Print burnOut conditions
409413 self .burn_out_conditions ()
414+ print ()
410415
411416 # Print apogee conditions
412417 self .apogee_conditions ()
418+ print ()
413419
414420 # Print events registered
415421 self .events_registered ()
422+ print ()
416423
417424 # Print impact conditions
418425 self .impact_conditions ()
426+ print ()
419427
420428 # Print maximum values
421429 self .maximum_values ()
430+ print ()
422431
423432 # Print Numerical Integration Information
424433 self .numerical_integration_settings ()
434+ print ()
425435
426436 return None
0 commit comments