simularium / simularium-planning

Apache License 2.0
0 stars 0 forks source link

Jupyter Notebook: Widget Python Improvements #158

Closed ascibisz closed 9 months ago

ascibisz commented 9 months ago

Use Case

As a user, I want to be able to easily initialize, update, and save a simularium trajectory in a Jupyter notebook.

Acceptance Criteria

  1. It is a relatively straightforward to provide the trajectory data to the viewer widget, with minimal simulariumio manipulations. This may look like being able to provide a regular TrajectoryData object to the widget, or providing all of the data pieces as parameters to the widget.
  2. There are functions to update individual parts of the trajectory without writing out the entire trajectory data object again (ie just call update_agent_data() and provide new radii will just update the radii and retain all TrajectoryData parameters)
  3. There is a function to save the trajectory represented in the widget locally, so the user can bring that into the simularium website if they desire.