Dear @olibclarke ,
We currently don’t explicitly distinguish in the
cs file itself which ctf parameters are per-group and per-particle, which means it’s a bit complicated to do this generally.
For the odd terms (residual shift
ctf/trefoil_A), these are always constant per group; they can just be copied over to the other dataset.
Some of the even terms are constant per dataset (
ctf/cs_mm and tetrafoil
ctf/tetra_A), but not all of them (phase shift, defoci) unfortunately, and we don’t store the per-group modifications that were fit during the CTF refinement job aside from printing them to the streamlog. Further, since some of the even terms are coupled to each other, it might not be correct to just copy the spherical aberration and tetrafoil values without also changing the defoci…
Unfortunately I think the only safe way to do this is just to copy over the odd aberrations, i.e. only modify the beam tilt, trefoil, and residual shift. This is an interesting use case though, and definitely speaks to the benefits of separating the group values!
Edit: Actually even for the odd terms, the only way to “copy” them and then use them later in cryoSPARC would involve loading the dataset into a python environment using, modifying the dataset values, and then re-writing the cs file. So it would involve the kind of manipulation like in this tutorial.