simularium / simularium-planning

Apache License 2.0
0 stars 0 forks source link

Stitch fibers #56

Open blairlyons opened 2 years ago

blairlyons commented 2 years ago

Use Case

As a developer, I want a function I can use to stitch segments of fibers back into larger fibers.

Acceptance Criteria

Expose cropping and stitching functions that work together to crop out fiber segments (for simulation elsewhere) and then stitch the updated segments back into the original fiber.

Details

We want to be able to crop fibers to an orthogonal box volume in order to use them as initial conditions for simulations in different engines, but then they need to be stitched back into the original fibers when transitioning back up in scale.

Likely this will need padding added to the cropping function with a margin of the fiber segments immobilized, and to save data from the cropping process, e.g. to know which fiber to stitch each segment back into.