fastoad.gui.mission_viewer module
Defines the analysis and plotting functions for postprocessing regarding the mission
- class fastoad.gui.mission_viewer.MissionViewer[source]
Bases:
object
A class for facilitating the post-processing of mission and trajectories
- add_mission(mission_data: str | PathLike | DataFrame, name=None)[source]
Adds the mission to the mission database (self.missions) :param mission_data: path of the mission file or Dataframe containing the mission data :param name: name to give to the mission
- display(layout_dict=None, layout_overwrite=False, **kwargs)[source]
Display the user interface
- Parameters:
layout_dict – Dictionary of properties to be updated
layout_overwrite – If True, overwrite existing properties. If False, apply updates to existing properties recursively, preserving existing properties that are not specified in the update operation.
kwargs – Keyword/value pair of properties to be updated
:return the display object