rocketpal.exporters.flight_data_export module

rocketpal.exporters.flight_data_export.export_flight_data_to_csv(flight, filepath, time_step_seconds=1.0)[source]

Export selected flight data in csv format, using a constant time step as specified in seconds.

Parameters:
  • flight (Flight) – The RocketPy flight simulation to extract the data from.

  • filepath (Path) – The file to write the data into, in .csv format.

  • time_step_seconds (float, optional) – The constant time step to use, by default 1.0

Return type:

None

rocketpal.exporters.flight_data_export.export_flight_data_to_csv_in_simulated_sensor_module_format(flight, filepath, environment, time_step_seconds=1.0)[source]

Export selected flight data in csv format, using a constant time step as specified in seconds. The data is formatted in the format that will be used by the sensor module.

Parameters:
  • flight (Flight) – The RocketPy flight simulation to extract the data from.

  • filepath (Path) – The file to write the data into, in .csv format.

  • time_step_seconds (float, optional) – The constant time step to use, by default 1.0

  • environment (Environment)

Return type:

None