Set frame range for RBMC [Feature request]

Hi,

With reference to the issue discussed here, it would be useful to be able to set a frame range to use during reference-based motion correction, so that later frames of the movie can be excluded.

Cheers
Oli

2 Likes

(It would also be useful to be able to calculate frame range reconstructions without recalculating trajectories each time, and with/without dose weights - this would be useful for analysis of radiation damage)

Hi Oli. Thanks for the feature request(s). Good points, we’ve noted the request and we will consider this for a future release. In the meantime, reference motion re-uses the frame range from patch motion (because it uses the rigid motion trajectory computed in patch motion), so as an (admittedly inconvenient) workaround, you could use multiple patch motion jobs to control which frames are used in reference motion.

– Harris

2 Likes

@hsnyder

Could we get this behavior without re-running patch motion by changing the frame count of a set of exposures via cryosparc-tools?

@DanielAsarnow Maybe, but I’ve never tried it. You’d also have to chop the corresponding frames off of the rigid motion estimate that patch motion produces, though.

You mean in the .npy files themselves, or just the shape metadata fields?

@DanielAsarnow sorry for the delay. You’d have to do both.