https://github.com/ghisvail/pydra-templateflow

Pydra tasks for TemplateFlow

https://github.com/ghisvail/pydra-templateflow

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

atlas brain neuroimaging pydra templateflow
Last synced: 5 months ago · JSON representation

Repository

Pydra tasks for TemplateFlow

Basic Info
  • Host: GitHub
  • Owner: ghisvail
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 22.5 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 2
Topics
atlas brain neuroimaging pydra templateflow
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

pydra-templateflow

PyPI - Version PyPI - Python Version PyPI - Downloads


Pydra tasks for TemplateFlow.

Pydra is a dataflow engine which provides a set of lightweight abstractions for DAG construction, manipulation, and distributed execution.

TemplateFlow provides a framework for publicly hosting and distributing neuroimaging templates for human and nonhuman brains.

Table of contents

Available tasks

This package provides a get_template task, which takes a template_id argument and a output_queries mapping from output names to their respective file queries.

The following example showcases using get_template to download the template image, brain and head masks for the Linear ICBM Average Brain (ICBM152).

```python from pydra.tasks import templateflow

task = templateflow.gettemplate( templateid="MNI152Lin", outputqueries={ "brainmask": {"resolution": "1", "suffix": "mask", "desc": "head"}, "headmask": {"resolution": "1", "suffix": "mask", "desc": "brain"}, "t1wimage": {"resolution": "1", "suffix": "T1w"}, }, )

result = task()

result.output.brain_mask

result.output.head_mask

result.output.t1w_image

```

Please check the list of available templates here.

Installation

console pip install pydra-templateflow

Development

This project is managed with Hatch:

console pipx install hatch

To run the test suite:

console hatch run test

To fix linting issues:

console hatch run lint:fix

License

This project is distributed under the terms of the Apache License, Version 2.0.

Owner

  • Name: Ghislain Vaillant
  • Login: ghisvail
  • Kind: user
  • Location: Paris, France
  • Company: @aramis-lab

Research Software Engineer

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Ghislain Vaillant g****l@g****m 22

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 17 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: pydra-templateflow

Pydra tasks for TemplateFlow

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 17 Last month
Rankings
Dependent packages count: 7.1%
Forks count: 30.6%
Dependent repos count: 31.5%
Average: 36.4%
Stargazers count: 39.4%
Downloads: 73.5%
Maintainers (1)
Last synced: 6 months ago