Apply dust command to entire timeseries
I am attempting to remove small connected components from my timeseries volumes. The surface dust command works well for this, but it only works on one time point at a time, is there a way to script this, or use in conjunction with the vseries play command to apply this to each timepoint?
Thanks,
-Brandon
____________________
Brandon Scott, PhD
SDSMT, Nanoscience
Hi Brandon, I haven’t tried this myself with volume series playback, but in principle you should be able to use “perframe” along with “surface dust” to automatically run dust-hiding at each display frame during playback.
http://rbvi.ucsf.edu/chimerax/docs/user/commands/perframe.html http://rbvi.ucsf.edu/chimerax/docs/user/commands/surface.html#dust
E.g. could be something like:
perframe “surface dust [your surface dust arguments]”; vseries play [your vseries arguments]; wait <N>; ~perframe
…where <N> would be the number of frames it takes to play your volume series. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Sep 10, 2018, at 9:34 AM, Scott, Brandon L. Brandon.Scott@sdsmt.edu wrote:
I am attempting to remove small connected components from my timeseries volumes. The surface dust command works well for this, but it only works on one time point at a time, is there a way to script this, or use in conjunction with the vseries play command to apply this to each timepoint?
Thanks, -Brandon
Hi Brandon,
It looks like Chimera preserves the hide dust settings when playing a volume series, but ChimeraX does not. That is because hide dust was recently added to ChimeraX. I’ll make a feature request to preserve hide dust settings when playing a volume series. But for now Elaine’s suggestion to use perframe is the way to do it.
Tom
On Sep 10, 2018, at 2:30 PM, Elaine Meng wrote:
Hi Brandon, I haven’t tried this myself with volume series playback, but in principle you should be able to use “perframe” along with “surface dust” to automatically run dust-hiding at each display frame during playback.
http://rbvi.ucsf.edu/chimerax/docs/user/commands/perframe.html http://rbvi.ucsf.edu/chimerax/docs/user/commands/surface.html#dust
E.g. could be something like:
perframe “surface dust [your surface dust arguments]”; vseries play [your vseries arguments]; wait <N>; ~perframe
…where <N> would be the number of frames it takes to play your volume series. I hope this helps, Elaine
Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Sep 10, 2018, at 9:34 AM, Scott, Brandon L. wrote:
I am attempting to remove small connected components from my timeseries volumes. The surface dust command works well for this, but it only works on one time point at a time, is there a way to script this, or use in conjunction with the vseries play command to apply this to each timepoint?
Thanks, -Brandon
ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
participants (3)
-
Elaine Meng
-
Scott, Brandon L.
-
Tom Goddard