|
| 1 | +--- |
| 2 | +description: How to register your data to the template |
| 3 | +--- |
| 4 | + |
| 5 | +# User guide |
| 6 | + |
| 7 | +## Basic usage |
| 8 | + |
| 9 | +```bash |
| 10 | +amap /path/to/raw/data /path/to/output/directory -x 2 -y 2 -z 5 |
| 11 | +``` |
| 12 | + |
| 13 | +{% hint style="info" %} |
| 14 | +Full command-line arguments are available with `amap -h` |
| 15 | +{% endhint %} |
| 16 | + |
| 17 | +{% hint style="warning" %} |
| 18 | +If you have any spaces in your file-path, please enclose it in quotation marks, otherwise amap will interpret it as two inputs, separated by a space. |
| 19 | + |
| 20 | +**i.e. `"/path/to/my data"` not `path/to/my data`.** |
| 21 | +{% endhint %} |
| 22 | + |
| 23 | +## Arguments |
| 24 | + |
| 25 | +### Mandatory |
| 26 | + |
| 27 | +* Path to the directory of the images. \(Can also be a text file pointing to the files\) |
| 28 | +* Output directory for all intermediate and final results |
| 29 | + |
| 30 | +{% hint style="warning" %} |
| 31 | +You must also specify the pixel sizes, see [Specifying pixel size](../../user-guide/usage/specifying-pixel-size.md) |
| 32 | +{% endhint %} |
| 33 | + |
| 34 | +### Additional options |
| 35 | + |
| 36 | +* `-d` or `--downsample` Paths to N additional channels to downsample to the same coordinate space. |
| 37 | +* `--no-save-downsampled` Don't save the downsampled brain before filtering. |
| 38 | +* `--registration-config` To supply your own, custom registration configuration file |
| 39 | +* `--sort-input-file` If set to true, the input text file will be sorted using natural sorting. This means that the file paths will be sorted as would be expected by a human and not purely alphabetically |
| 40 | + |
| 41 | +#### Misc options |
| 42 | + |
| 43 | +* `--n-free-cpus` The number of CPU cores on the machine to leave unused by the program to spare resources. |
| 44 | +* `--debug` Debug mode. Will increase verbosity of logging and save all intermediate files for diagnosis of software issues. |
| 45 | + |
| 46 | +### Input data orientation |
| 47 | + |
| 48 | +If your data does not match the NifTI standard orientation \(origin is the most ventral, posterior, left voxel\), then please see [Image orientation](image-orientation.md) to reorient the atlas |
| 49 | + |
| 50 | +### Registration options |
| 51 | + |
| 52 | +To change how the actual registration performs, see [Registration parameters](registration-parameters.md) |
| 53 | + |
| 54 | +### Visualisation options |
| 55 | + |
| 56 | +* `--no-boundaries` Do not precompute the outline images \(if you don't want to use `amap_vis`\) |
| 57 | + |
| 58 | +## Visualisation |
| 59 | + |
| 60 | +To visualise your data, please see [Visualisation](../../user-guide/visualisation.md) |
| 61 | + |
0 commit comments