Command-Line Interface for MagellanMapper¶
Command-Line argument reference¶
Argument |
Sub-argument |
Function |
Ver Added |
Last updated |
|---|---|---|---|---|
|
|
Image paths. |
v1.0.0 |
|
|
|
Metadata paths corresponding to images from |
v1.0.0 |
v1.0.0 |
|
|
Path input/output prefix(es), typically used for the start of output paths. May also modify input paths, eg with
|
v1.0.0 |
|
|
|
Path output prefix(es), typically used for the start of output paths when
|
v1.5.0 |
|
|
None |
Open images as RGB(A).
|
||
|
|
Path suffix, typically used for the end of output paths.
|
v1.0.0 |
v1.0.0 |
|
|
Indices of channels to include, starting from 0. |
v1.0.0 |
v1.0.0 |
|
|
Index of image series such as image tile, starting from 0. |
v1.0.0 |
v1.0.0 |
|
|
Sub-image offset coordinates given as |
v1.2.0 |
v1.2.0 |
|
|
Sub-image size given as |
v1.2.0 |
v1.2.0 |
|
|
ROI (region of interest) offset coordinates given as |
v1.0.0 |
v1.0.0 |
|
|
ROI size given as |
v1.0.0 |
v1.0.0 |
|
|
The main to the main SQlite database. |
v1.0.0 |
v1.0.0 |
|
|
The number of CPUs to use during multiprocessing tasks. |
v1.3.6 |
|
|
|
Paths to load data. |
v1.4.0 |
|
|
|
Image processing tasks; see |
v1.0.0 |
|
|
|
Registration and other atlas-related tasks; see |
v1.0.0 |
|
|
|
Pandas data frame tasks; see |
v1.0.0 |
|
|
|
2D plot tasks; see |
v1.0.0 |
|
|
|
Start an EC2 instance. |
v1.0.0 |
v1.0.0 |
|
|
List EC2 instances. |
v1.0.0 |
v1.0.0 |
|
|
Terminate EC2 instances by instance ID. |
v1.0.0 |
v1.0.0 |
|
|
Post a message to a URL. |
v1.0.0 |
v1.0.0 |
|
|
Perform a Grid Search hyperparameter tuning task for blob detection with the given profile name or file. |
v1.0.0 |
|
|
|
User interface themes; see |
v1.1.4 |
v1.1.4 |
|
|
Truth database; see |
v1.0.0 |
v1.0.0 |
|
|
Atlas label settings; see
|
v1.0.0 |
v1.0.0 |
|
|
Image transformations; see
|
v1.0.0 |
v1.6.0 |
|
|
Suffixes of registered images to load; see
./run.py --img /home/me/my_image --reg_suffixes atlasVolume.nii.gz annotation.nii.gz. |
v1.0.0 |
|
|
|
Plot labels; see
|
v1.0.0 |
|
|
|
Metadata to set when importing an image; see |
v1.0.0 |
|
|
|
Transpose to the given planar orientation |
v1.0.0 |
v1.0.0 |
|
|
Show images after generating them in atlas pipelines. |
v1.0.0 |
|
|
|
Alpha (opacity) levels for the main image; can give as a comma-delimited for multiple channels (eg |
v1.0.0 |
v1.0.0 |
|
|
Minimum intensity levels; can give as a comma-delimited for multiple channels (eg |
v1.0.0 |
v1.0.0 |
|
|
Maximum intensity levels; can give as a comma-delimited for multiple channels (eg |
v1.0.0 |
v1.0.0 |
|
|
Random number generator seed. |
v1.0.0 |
v1.0.0 |
|
None |
Save a sub-image (given by |
v1.0.0 |
|
|
|
Slice range similar to the Python |
v1.0.0 |
v1.0.0 |
|
|
Time delay in ms, used for animations. |
v1.0.0 |
v1.0.0 |
|
|
Extension to use when saving figures, without period. When unset, defaults to PNG when exporting images. |
v1.0.0 |
|
|
|
Group ID corresponding to each image in |
v1.0.0 |
v1.0.0 |
|
|
Verbose output. |
v1.0.0 |
Changes in MagellanMapper v1.6¶
Old |
New |
Version |
Purpose of Change |
|---|---|---|---|
None |
|
v1.6a1 |
Open images in RGB(a) mode. |
|
|
v1.6b1 |
Task to add plot decorations such as title and axis labels. |
|
|
v1.6a1 |
Plot error bars with a column of absolute rather than relative values, now that Clrstats gives absolute values for effect sizes. |
|
|
v1.6a1 |
Change plot background color with a Matplotlib color string. |
|
|
v1.6a1 |
Column denoting vertical span groups and string format for them, respectively. |
|
|
v1.6a2 |
Change rotation in degrees. |
|
|
v1.6a1 |
Flip the specified axis. |
|
|
v1.6a1 |
Interpolation order can be specified when exporting the main image. |
|
|
v1.6a1 |
Flip the specified axis. |
Changes in MagellanMapper v1.5¶
Old |
New |
Version |
Purpose of Change |
|---|---|---|---|
|
|
v1.5.0 |
Multiple prefixes can be given |
|
|
v1.5.0 |
Multiple processing tasks can be given as well as sub-tasks |
None |
|
v1.5.0 |
Export NPY files to TIF format. |
Specified in ROI profiles |
|
v1.5.0 |
Pre-processing tasks are integrated as sub-processing tasks; see |
|
Unchanged |
v1.5.0 |
Suffixes can now be given as an absolute path to load directly from the path, eg a labels image not registered to the main image. Image masks for registration can also be given as |
|
|
v1.5.0 |
Multiple suffixes can be given |
Changes in MagellanMapper v1.4¶
Old |
New |
Version |
Purpose of Change |
|---|---|---|---|
None |
|
v1.4.0 |
Translate labels, where |
None |
|
v1.4.0 |
Arithmetic operations on data frame columns |
None |
|
v1.4.0 |
Replace values |
|
Can be given as |
v1.4.0 |
The full imported filename can be given, and the |
None |
|
v1.4.0 |
Add plane number annotation at the |
None |
|
v1.4.0 |
Set plot axis scaling, such as |
|
|
v1.4.0 |
Block processing is performed based on each profile, rather than only on |
None |
|
v1.4.0 |
Intensity-based co-localizations during blob detection |
None |
|
v1.4.0 |
Match-based co-localizations after blob detection |
None |
|
v1.4.0 |
Export all channels together into each plane |
|
|
v1.4.0 |
Export each channel into a separate plane |
|
|
v1.4.0 |
Load different data types, such as |
|
|
v1.4.0 |
Use |
None |
|
v1.4.0 |
Measure the distance from labels to specified landmarks |
|
|
v1.4.0 |
Log level from 1 ( |
Changes in MagellanMapper v1.3¶
Old |
New |
Version |
Purpose of Change |
|---|---|---|---|
|
|
v1.3.0 |
Duplicated by the |
|
|
v1.3.1 |
Accepts multiple channels |
|
None |
v1.3.0 |
Obsolete by block processing improvements |
None |
|
v1.3.6 |
Specify the maximum number of CPUs to use for multiprocessing tasks |
|
None |
v1.3.0 |
Its settings are now default |
|
Same |
v1.3.7 |
Sub-arguments are now included along with main arguments in help |
|
|
v1.3.0 |
Grouped custom metadata settings into |
|
|
v1.3.0 |
Specifies profiles to process by regions of interest; delimit by |
|
|
v1.3.0 |
Grouped with other plot labels controls |
|
|
v1.3.0 |
Show with |
|
|
v1.3.0 |
Grouped with other plot labels controls, adding |
None |
|
v1.3.2 |
Export images to RAW format |
None |
|
v1.3.0 |
Pre-processing tasks using |
None |
|
v1.3.7 |
Configure DPI of saved images |
None |
`–plot_labels drop_dups=<0 |
1>` |
v1.3.3 |
|
|
v1.3.7 |
Group with |
None |
|
v1.3.5 |
Load only registered images by specifying a directory rather than an image file path as the main image |
|
|
v1.3.0 |
Specifies profiles for atlases; delimit by |
|
|
v1.3.0 |
Grouped with other transformation tasks |
|
|
v1.3.0 |
Grouped custom metadata settings into |
|
|
v1.3.0 |
Its main task is to perform Grid Search based hyperparameter tuning; specify profile names or YAML files |
|
|
v1.3.0 |
All command-line based entry points can be accessed through the CLI using this script |
|
|
v1.3.2 |
|
|
Optional |
v1.3.7 |
Defaults to PNG when exporting images even if |
|
|
v1.3.0 |
Consistency with “sub-images” as parts of images that can contain ROIs |
|
|
v1.3.0 |
Run data-frame (eg CSV file) tasks |
|
|
v1.3.0 |
Grouped custom metadata settings into |