exposure#
Classes:
CTF estimation results associated with an exposure. |
|
CTF statistics associated with an exposure. |
|
A single exposure (movie) within a session, along with associated metadata. |
|
Exposure processing metadata. |
|
Outputs produced for a specific exposure. |
|
Information about Outputs produced by a specific exposure |
|
Metadata for gain reference blob file associated with an exposure. |
|
Microscope parameters associated with an exposure. |
|
Metadata for motion-corrected micrograph blob file associated with an exposure. |
|
Motion correction data associated with an exposure. |
|
Metadata for raw movie blob file associated with an exposure. |
|
Particle picking results. |
|
Manual particle picking results. |
|
Particle picking results for extracted particles. |
|
Particle picker locations stored as fractional coordinates. |
|
Metadata for background blob .mrc file associated with an exposure. |
- class CTF#
CTF estimation results associated with an exposure.
Attributes:
- accel_kv: float#
- amp_contrast: float#
- cross_corr_ctffind4: float#
- cs_mm: float#
- ctf_fit_to_A: float#
- df1_A: float#
- df2_A: float#
- df_angle_rad: float#
- exp_group_id: int#
- fig_of_merit_gctf: float#
- path: str#
- phase_shift_rad: float#
- type: str#
- class CtfStats#
CTF statistics associated with an exposure.
Attributes:
- cross_corr: int#
- ctf_fit_to_A: float#
- df_range: List[Any]#
- df_tilt_normal: List[Any]#
- diag_image_path: str#
- fit_data_path: str#
- ice_thickness_rel: float#
- spectrum_dim: int#
- type: str#
- class Exposure#
A single exposure (movie) within a session, along with associated metadata.
Attributes:
only used when first reading in this file, otherwise use
groups.exposures.movie_blob.pathrelative to the project directory.When this object was first created.
Configured exposure group ID.
Unique integer identifier for this exposure within the session.
When this object was last modified.
- abs_file_path: str#
only used when first reading in this file, otherwise use
groups.exposures.movie_blob.pathrelative to the project directory.
- attributes: ExposureAttributes#
- created_at: datetime#
When this object was first created. Imported objects such as projects and jobs will retain the created time from their original CryoSPARC instance.
- deleted: bool#
- discovered_at: datetime#
- ecl: ECLExposureProperties#
- exp_group_id: int#
Configured exposure group ID.
- fail_count: int#
- fail_reason: str#
- failed: bool#
- groups: ExposureGroups#
- id: str#
- in_progress: bool#
- manual_reject: bool#
- micrograph_psize: float | None#
- micrograph_shape: List[int]#
- parameter_version: int | None#
- picker_type: Literal['blob', 'template', 'manual'] | None#
- preview_img_1x: List[str]#
- preview_img_2x: List[str]#
- priority: int#
- project_uid: str#
- session_uid: str#
- size: int#
- stage: Literal['go_to_found', 'found', 'check', 'motion', 'ctf', 'thumbs', 'pick', 'extract', 'extract_manual', 'ready', 'restoring', 'restoring_motion', 'restoring_thumbs', 'restoring_ctf', 'restoring_extract', 'restoring_extract_manual', 'compacted']#
- test: bool#
- test_parameters: LivePreprocessingParams | None#
- threshold_reject: bool#
- thumb_shape: List[int]#
- uid: int#
Unique integer identifier for this exposure within the session. Starts at 1 for the first found exposure and increments by 1 for each new exposure.
- updated_at: datetime#
When this object was last modified.
- worker_juid: str | None#
- class ExposureAttributes#
Exposure processing metadata.
Attributes:
- astigmatism: float#
- astigmatism_angle: float#
- average_defocus: float#
- blob_pick_score_median: float#
- check_at: float#
- ctf_at: float#
- ctf_fit_to_A: float#
- defocus_range: float#
- df_tilt_angle: float#
- extract_at: float#
- found_at: float#
- ice_thickness_rel: float#
- manual_extract_at: float#
- max_intra_frame_motion: float#
- motion_at: float#
- phase_shift: float#
- pick_at: float#
- ready_at: float#
- template_pick_score_median: float#
- thumbs_at: float#
- total_blob_picks: int#
- total_extracted_particles: int#
- total_extracted_particles_blob: int#
- total_extracted_particles_manual: int#
- total_extracted_particles_template: int#
- total_manual_picks: int#
- total_motion_dist: float#
- total_template_picks: int#
- class ExposureElement#
Outputs produced for a specific exposure.
Attributes:
- gain_ref_blob: GainRefBlob | None#
- micrograph_blob: MicrographBlob | None#
- micrograph_blob_non_dw: MicrographBlob | None#
- micrograph_blob_thumb: MicrographBlob | None#
- mscope_params: MScopeParams | None#
- rigid_motion: MotionData | None#
- spline_motion: MotionData | None#
- uid: str#
- class ExposureGroups#
Information about Outputs produced by a specific exposure
Attributes:
Exposures have an list of length 1 values for each field in each prefix below.
Blob picks have a list of fields, a count, and a path to a cs file
Unused for now :meta private:
Starts as empty dict, but gets populated as a list of dictionaries.
Manual picks have a list of values for each field in each prefix
Starts as empty dict, but gets populated as a list of dictionaries
Template picks have a list of fields, a count, and a path to a cs file
- exposure: ExposureElement#
Exposures have an list of length 1 values for each field in each prefix below.
- particle_blob: ParticleInfo#
Blob picks have a list of fields, a count, and a path to a cs file
- particle_deep: Dict[str, Any]#
Unused for now :meta private:
- particle_extracted: List[PickerInfoElement] | ParticleInfo#
Starts as empty dict, but gets populated as a list of dictionaries. Used for 2-slot extraction.
- particle_manual: ParticleManual#
Manual picks have a list of values for each field in each prefix
- particle_manual_extracted: PickerInfoElement#
Starts as empty dict, but gets populated as a list of dictionaries
- particle_template: ParticleInfo#
Template picks have a list of fields, a count, and a path to a cs file
- class GainRefBlob#
Metadata for gain reference blob file associated with an exposure.
Attributes:
- flip_x: int#
- flip_y: int#
- idx: int#
- path: str#
- rotate_num: int#
- shape: List[int]#
- class MScopeParams#
Microscope parameters associated with an exposure.
Attributes:
- accel_kv: float#
- beam_shift: List[int]#
- beam_shift_known: int#
- cs_mm: float#
- defect_path: str | None#
- exp_group_id: int#
- neg_stain: int#
- phase_plate: int#
- total_dose_e_per_A2: float#
- class MicrographBlob#
Metadata for motion-corrected micrograph blob file associated with an exposure.
Attributes:
- format: str#
- idx: int#
- is_background_subtracted: bool#
- path: str#
- psize_A: float#
- shape: List[int]#
- class MotionData#
Motion correction data associated with an exposure.
Attributes:
- frame_end: int#
- frame_start: int#
- idx: int#
- path: str#
- psize_A: float#
- type: str#
- zero_shift_frame: int#
- class MovieBlob#
Metadata for raw movie blob file associated with an exposure.
Attributes:
Unique 64 bit import signature for this exposure, created by computing the sha1 of the original absolute path and taking the first 8 bytes.
- format: str#
- has_defect_file: bool#
- import_sig: str#
Unique 64 bit import signature for this exposure, created by computing the sha1 of the original absolute path and taking the first 8 bytes.
Encoded as a string when saved to mongo or JSON to avoid 32 bit overflow errors. When using instances of the MovieBlob model from Python,
import_sigshould be treated as a regular int.
- is_gain_corrected: bool#
- path: str#
- psize_A: float#
- shape: List[int]#
- class ParticleManual#
Manual particle picking results.
Attributes:
- count: int#
- fields: List[str]#
- location: PickerLocations#
- path: str#
- class PickerInfoElement#
Particle picking results for extracted particles.
Attributes:
- count: int#
- fields: List[str]#
- output_shape: int | None#
- path: str#
- picker_type: Literal['blob', 'template', 'manual'] | None#