[docs]classMcellData:path_to_data_model_json:strpath_to_binary_files:strmeta_data:MetaDatanth_timestep_to_read:intdisplay_data:Dict[str,DisplayData]surface_mol_rotation_angle:floatplots:List[Dict[str,Any]]def__init__(self,path_to_data_model_json:str,path_to_binary_files:str,meta_data:MetaData=None,nth_timestep_to_read:int=1,display_data:Dict[str,DisplayData]=None,surface_mol_rotation_angle:float=None,plots:List[Dict[str,Any]]=None,):""" This object holds simulation trajectory outputs from MCell (https://mcell.org/) and plot data Parameters ---------- path_to_data_model_json : str A string path to the json file containing the data model path_to_binary_files : str A string path to the directory containing visualization .dat binary files meta_data : MetaData (optional) An object containing metadata for the trajectory including box size, scale factor, and camera defaults nth_timestep_to_read: int (optional) Visualize every Nth timestep e.g. if 10, only every 10th timestep will be visualized Default: 1 display_data: Dict[str, DisplayData] (optional) A mapping from molecule names in the MCell data to DisplayData, including names and display info to use for rendering this agent type in the Simularium Viewer Default: for names, use names from MCell, for radius, use value from MCell, for rendering, use default representations and colors surface_mol_rotation_angle: float (optional) The angle to use to calculate rotations around surface molecules' normals Default: use random angles plots : List[Dict[str, Any]] (optional) An object containing plot data already in Simularium format """self.path_to_data_model_json=path_to_data_model_jsonself.path_to_binary_files=path_to_binary_filesself.meta_data=meta_dataifmeta_dataisnotNoneelseMetaData()self.nth_timestep_to_read=nth_timestep_to_readself.display_data=display_dataifdisplay_dataisnotNoneelse{}self.surface_mol_rotation_angle=surface_mol_rotation_angleself.plots=plotsifplotsisnotNoneelse[]