fw-gear-splitter


Namefw-gear-splitter JSON
Version 1.7.2 PyPI version JSON
download
home_pageNone
SummaryDICOM splitter based on unique tags, or localizers
upload_time2024-04-18 17:21:32
maintainerNone
docs_urlNone
authorFlywheel
requires_python<4,>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DICOM Splitter

This gear is meant to split DICOM archives into two or more archives.  The main use
cases for this gear are if,

* There are one or more localizers (scouts, etc.) mixed in with primary images
* There are multiple Series in one archive.
* The archive is multiphasic with respect to slice location (geometry split)
* The archive has non uniform image orientations (geometry split)
* Some field varies across the archive and you have reason to the archive based on that
  field (Note: This "group by" option is exclusive if a previous geometry split is performed)

The gear is set to do the first two above by default, i.e. it will extract a
localizer(s) from the archive, and it will extract each unique SeriesInstanceUID into
its own archive.

## Usage

### Inputs

* __dicom__ : DICOM archive input

### Configuration

* __extract_localizer__ (boolean, default True): Whether or not to extract localizer
from archive.
* __group_by__ (string, default "SeriesInstanceUID"): Comma separated list of dicom
tags to split the archive on.
* __tag__ (string, default "splitter"): The tag to be added on input file upon run
completion.
* __debug__ (boolean, default False): Include debug output.
* __delete_input__ (boolean, default True): Delete input if DICOM is successfully split.

### Outputs

The gear will output nothing if no splitting action was taken.  Otherwise it will output
a variable number of archives depending on the input and configuration named with the
following pattern:

`series-<SeriesNumber>_<Modality>_<SeriesDescription>_<GroupByTags>[_localizer]`, where

* `SeriesNumber` is the value of the `SeriesNumber` tag across the archive.  By default
  the largest sized archive (by number of slices) will retain the original
  `SeriesNumber` and additional archives will be incremented by `1000 + i`, where `i` is
  the index of the archive in a list of total archives.
* `SeriesDescription` is the value of the `SeriesDescription` tag across the archive
* `GroupByTags` is an underscore separated list of all tags appearing in the `group_by` list,
  and their corresponding value in that archive. Tags "SeriesInstanceUID" and "SeriesNumber"
  are not included even if they appear in the `group_by` list.
* `Modality` is the value of the `Modality` tag across the archive
* If the series is a localizer, `_localizer` will be appended.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "fw-gear-splitter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Flywheel",
    "author_email": "support@flywheel.io",
    "download_url": null,
    "platform": null,
    "description": "# DICOM Splitter\n\nThis gear is meant to split DICOM archives into two or more archives.  The main use\ncases for this gear are if,\n\n* There are one or more localizers (scouts, etc.) mixed in with primary images\n* There are multiple Series in one archive.\n* The archive is multiphasic with respect to slice location (geometry split)\n* The archive has non uniform image orientations (geometry split)\n* Some field varies across the archive and you have reason to the archive based on that\n  field (Note: This \"group by\" option is exclusive if a previous geometry split is performed)\n\nThe gear is set to do the first two above by default, i.e. it will extract a\nlocalizer(s) from the archive, and it will extract each unique SeriesInstanceUID into\nits own archive.\n\n## Usage\n\n### Inputs\n\n* __dicom__ : DICOM archive input\n\n### Configuration\n\n* __extract_localizer__ (boolean, default True): Whether or not to extract localizer\nfrom archive.\n* __group_by__ (string, default \"SeriesInstanceUID\"): Comma separated list of dicom\ntags to split the archive on.\n* __tag__ (string, default \"splitter\"): The tag to be added on input file upon run\ncompletion.\n* __debug__ (boolean, default False): Include debug output.\n* __delete_input__ (boolean, default True): Delete input if DICOM is successfully split.\n\n### Outputs\n\nThe gear will output nothing if no splitting action was taken.  Otherwise it will output\na variable number of archives depending on the input and configuration named with the\nfollowing pattern:\n\n`series-<SeriesNumber>_<Modality>_<SeriesDescription>_<GroupByTags>[_localizer]`, where\n\n* `SeriesNumber` is the value of the `SeriesNumber` tag across the archive.  By default\n  the largest sized archive (by number of slices) will retain the original\n  `SeriesNumber` and additional archives will be incremented by `1000 + i`, where `i` is\n  the index of the archive in a list of total archives.\n* `SeriesDescription` is the value of the `SeriesDescription` tag across the archive\n* `GroupByTags` is an underscore separated list of all tags appearing in the `group_by` list,\n  and their corresponding value in that archive. Tags \"SeriesInstanceUID\" and \"SeriesNumber\"\n  are not included even if they appear in the `group_by` list.\n* `Modality` is the value of the `Modality` tag across the archive\n* If the series is a localizer, `_localizer` will be appended.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "DICOM splitter based on unique tags, or localizers",
    "version": "1.7.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a13c49e9c6fe7d175f48c093bfa8fa68b4254dd26e05f0362bafb7097de4dca6",
                "md5": "2ab03c7bac0553bed0a2238bb78ee159",
                "sha256": "a82105c68c1b106123dd2986b00ea738b36f2917120e2b878e494f3f2f71b4b2"
            },
            "downloads": -1,
            "filename": "fw_gear_splitter-1.7.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2ab03c7bac0553bed0a2238bb78ee159",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 22668,
            "upload_time": "2024-04-18T17:21:32",
            "upload_time_iso_8601": "2024-04-18T17:21:32.603397Z",
            "url": "https://files.pythonhosted.org/packages/a1/3c/49e9c6fe7d175f48c093bfa8fa68b4254dd26e05f0362bafb7097de4dca6/fw_gear_splitter-1.7.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 17:21:32",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "fw-gear-splitter"
}
        
Elapsed time: 0.23187s