MDFactoryMDFactory

artifacts

Bilayer artifact generators using VMD TCL scripts.

func_require_vmd()str

Returns

str
func_require_ffmpeg()str

Returns

str
func_artifact_dir(simulation)Path
paramsimulation'Simulation'

Returns

pathlib.Path
funcrender_bilayer_snapshot(simulation, *, output_prefix='bilayer_snapshot')list[Path]

Render snapshot images of the last trajectory frame.

paramsimulation'Simulation'
paramoutput_prefixstr
= 'bilayer_snapshot'

Returns

list[pathlib.Path]
funcrender_bilayer_movie(simulation, *, output_prefix='bilayer_movie', framerate=15, crf=18, preset='slow', frame_step=2, max_frames=None)list[Path]

Render a bilayer movie and encode to MP4 with ffmpeg.

paramsimulation'Simulation'
paramoutput_prefixstr
= 'bilayer_movie'
paramframerateint
= 15
paramcrfint
= 18
parampresetstr
= 'slow'
paramframe_stepint
= 2
parammax_framesint | None
= None

Returns

list[pathlib.Path]