According to this link, Managing a CryoSPARC Live Session from the CLI | CryoSPARC Guide
I didn’t find a corresponding interface, is there an interface that allows me to save “motion correction” data as float16?
According to this link, Managing a CryoSPARC Live Session from the CLI | CryoSPARC Guide
I didn’t find a corresponding interface, is there an interface that allows me to save “motion correction” data as float16?
Recent versions of CryoSPARC allow you to select Save results in 16-bit floating point in the Motion Correction and Particle Extraction sections of Parameters.
What I mean is whether cli provides an interface to turn on this option is similar to the
rtp.set_param(project_uid=project_uid, session_uid=session_uid, param_sec=’ motion_settings’, param_name=‘save_as_float16’, value=1)
It does:
rtp.set_param(project_uid=project_uid, session_uid=session_uid, param_sec='motion_settings', param_name='output_f16', value=True)
rtp.set_param(project_uid=project_uid, session_uid=session_uid, param_sec='extraction', param_name='output_f16', value=True)
Thank you so much, this helps me a lot!
Is there an api to see the current number of Total Exposures and Processed exposures for cryosparc live?
@yaohua The commands
cryosparcm rtpcli "get_session_doc('PXX', 'SYY')['stats']['total_exposures']"
cryosparcm rtpcli "get_session_doc('PXX', 'SYY')['stats']['total_ready']"
Where PXX
and SYY
are the project number and session number will give you the number of total exposures and processed exposures for a real time session.