# dicom2squirrel

## Overview

The tool converts DICOM file(s) into a squirrel package.

## Example Usage

Convert a directory containing DICOM files into a squirrel package. DICOM will be converted to nifit 4D gz, and the squirrel directory structure will use the original series numbers.

`squirrel dicom2squirrel <indir> <package> --dataformat nifti4d --dirformat orig`

## Options

### --dataformat

`--dataformat <format>` sets the DICOM conversation format. It can be one of the following

* nift4d
* nift4dgz
* nifti3d
* nifti3dgz

### --dirformat

`--dirformat <format>` can be one of the following

* orig
* seq


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neuroinfodb.org/squirrel/getting-started/squirrel-utilities/dicom2squirrel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
