pydra-dcm2niix


Namepydra-dcm2niix JSON
Version 1.2.1 PyPI version JSON
download
home_page
SummaryProvides a task interface for the popular dcm2niix DICOM to NIfTI converter
upload_time2023-07-11 01:10:40
maintainer
docs_urlNone
authorThomas G. Close
requires_python>=3.7
licenseApache License, 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pydra Dcm2Niix Task

This repository contains Pydra task interface for the `dcm2niix`
DICOM to NIfTI converter tool (https://github.com/rordenlab/dcm2niix).

Part of this effort is to establish a (mostly) declarative language for describing tasks that
potentially have intricate rules for determining the availability and names from the choice of
inputs.

## Installation
```
pip install /path/to/pydra-dcm2niix/
```

### Installation for developers
```
pip install -e /path/to/pydra-dcm2niix/[dev]
```

## Basic Use

To run the `dcm2niix` task

```
from pydra.tasks.dcm2niix import Dcm2Niix

task = Dcm2Niix(in_dir='/path/to/dicom/dir', out_dir='/path/to/create/nifti/output')
result = task()
```

However, the converter task interface will typically be used as the first step within larger Pydra workflows

```
from pydra import Workflow
from pydra.tasks.dcm2niix import Dcm2Niix

my_workflow = Workflow(name='my_workflow', input_spec=['in_dicom'])

my_workflow.add(
    Dcm2Niix(name='converter', in_dir=my_workflow.lzin.in_dicom, out_dir='.'))
my_workflow.add(...)

my_workflow()
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "pydra-dcm2niix",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Thomas G. Close",
    "author_email": "tom.g.close@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/44/19/2a5724ed64f5e45e0d861d379dd5de56a41f434493e6b125356971a8d2fe/pydra-dcm2niix-1.2.1.tar.gz",
    "platform": null,
    "description": "# Pydra Dcm2Niix Task\n\nThis repository contains Pydra task interface for the `dcm2niix`\nDICOM to NIfTI converter tool (https://github.com/rordenlab/dcm2niix).\n\nPart of this effort is to establish a (mostly) declarative language for describing tasks that\npotentially have intricate rules for determining the availability and names from the choice of\ninputs.\n\n## Installation\n```\npip install /path/to/pydra-dcm2niix/\n```\n\n### Installation for developers\n```\npip install -e /path/to/pydra-dcm2niix/[dev]\n```\n\n## Basic Use\n\nTo run the `dcm2niix` task\n\n```\nfrom pydra.tasks.dcm2niix import Dcm2Niix\n\ntask = Dcm2Niix(in_dir='/path/to/dicom/dir', out_dir='/path/to/create/nifti/output')\nresult = task()\n```\n\nHowever, the converter task interface will typically be used as the first step within larger Pydra workflows\n\n```\nfrom pydra import Workflow\nfrom pydra.tasks.dcm2niix import Dcm2Niix\n\nmy_workflow = Workflow(name='my_workflow', input_spec=['in_dicom'])\n\nmy_workflow.add(\n    Dcm2Niix(name='converter', in_dir=my_workflow.lzin.in_dicom, out_dir='.'))\nmy_workflow.add(...)\n\nmy_workflow()\n```\n",
    "bugtrack_url": null,
    "license": "Apache License, 2.0",
    "summary": "Provides a task interface for the popular dcm2niix DICOM to NIfTI converter",
    "version": "1.2.1",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e77bab643cd16a3acc9ac14610cc9cde2f8ec903111baafe09c01dbebb29ca0",
                "md5": "7ab221c4982fbb2fbce38d6227648ffa",
                "sha256": "efc0e27113a1a2f4c6500136f4fb451927792032eb26f109865da2aacff6de7e"
            },
            "downloads": -1,
            "filename": "pydra_dcm2niix-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7ab221c4982fbb2fbce38d6227648ffa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7520,
            "upload_time": "2023-07-11T01:10:38",
            "upload_time_iso_8601": "2023-07-11T01:10:38.376652Z",
            "url": "https://files.pythonhosted.org/packages/0e/77/bab643cd16a3acc9ac14610cc9cde2f8ec903111baafe09c01dbebb29ca0/pydra_dcm2niix-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "44192a5724ed64f5e45e0d861d379dd5de56a41f434493e6b125356971a8d2fe",
                "md5": "2d694f12960b0406558650a88a70e1c2",
                "sha256": "59b5155a1e164f10c0da4c39256e58c5fc9719607e43f1f37dcf4797a6de3936"
            },
            "downloads": -1,
            "filename": "pydra-dcm2niix-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2d694f12960b0406558650a88a70e1c2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 24014,
            "upload_time": "2023-07-11T01:10:40",
            "upload_time_iso_8601": "2023-07-11T01:10:40.031423Z",
            "url": "https://files.pythonhosted.org/packages/44/19/2a5724ed64f5e45e0d861d379dd5de56a41f434493e6b125356971a8d2fe/pydra-dcm2niix-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-11 01:10:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pydra-dcm2niix"
}
        
Elapsed time: 0.15769s