> For the complete documentation index, see [llms.txt](https://guide.cryosparc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.cryosparc.com/processing-data/all-job-types-in-cryosparc/utilities/job-exposure-sets-tool.md).

# Job: Exposure Sets Tool

## Description

Split an exposure group into subsets or compare two groups.

## Inputs

* `exposures_A`: Exposures
  * With only this group $$A$$ specified, choose the `split` action to split the data into multiple batches
* `exposures_B`: Exposures (optional)
  * With both groups $$A$$ and $$B$$ , choose the `intersect` action to compute set operations on the two groups, including (i) intersection $$A ∩ B$$ and differences (ii) $$A - B$$ and (iii) $$B - A$$.

## **Common Parameters**

* `Action`
  * With *only one exposure input group*, choose **`split`** to split the data into multiple batches
  * With *both exposure input groups*, choose **`intersect`** to compute the set intersection and difference between the two groups
  * if `intersect` is selected, a new parameter is available: `Field to Intersect`
    * `uid`: use the `uid` field to intersect the two inputs
    * `path` : use a common path field to intersect the two inputs.
      * Either `micrograph_blob` or `movie_blob` must be connected.
      * If the `micrograph_blob` slot is connected, intersection will be done using the micrograph path and index in the file.
      * If the `movie_blob` slot is connected, intersection will be done using the movie path.
* `Split num. batches`: With the `split` action, how many batches to split the exposures into
* `Split batch size`: With the `split` action, the number of items to place into each split batch that is output. Additional items will be output as a separate remainder output. If the value is `None`, the items will be split into equal sized batches.
* `Split randomize`: With the `split` action, randomize the exposures to add to each batch

## Outputs

* Split mode:
  * `split_X` (multiple outputs): With the `split` action, batches of the resulting exposures
  * `remainder`: With the `split` action, exposures left out of `split_X` batches due to the specified batch size and number of batches
* Intersect mode:
  * `intersect` and `intersect_B` outputs: With the `intersect` action, these contain the result of $$A ∩ B$$
    * For the `intersect` output, all of the result groups in common from set A and B (e.g. `movie_blob`) and passthrough groups will be copied *from set A*
    * For the `intersect_B` output, all of the result and passthrough groups will be copied *from set B*
  * `A_minus_B`: With the `intersect` action, set difference $$A - B$$
  * `B_minus_A`: With the `intersect` action, set difference$$B - A$$

![Example outputs when only one input exposure set is provided compared to two sets.](/files/s5vdIvyq4suFVsBfFEYL)

## Common Next Steps

* CTF Estimation
* Blob Picker
* Template Picker
