https://github.com/brisvag/napari

napari: a fast, interactive, multi-dimensional image viewer for python

https://github.com/brisvag/napari

Science Score: 41.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

napari: a fast, interactive, multi-dimensional image viewer for python

Basic Info
  • Host: GitHub
  • Owner: brisvag
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Homepage: https://napari.org
  • Size: 39.4 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of napari/napari
Created over 5 years ago · Last pushed 10 months ago
Metadata Files
Readme Funding License Citation Codeowners

README.md

napari

multi-dimensional image viewer for python

napari on Binder image.sc forum License Build Status Code coverage Supported Python versions Python package index Python package index download statistics Development Status Code style: black DOI NEP29

napari is a fast, interactive, multi-dimensional image viewer for Python. It's designed for browsing, annotating, and analyzing large multi-dimensional images. It's built on top of Qt (for the GUI), vispy (for performant GPU-based rendering), and the scientific Python stack (numpy, scipy).

We're developing napari in the open! But the project is in an alpha stage, and there will still likely be breaking changes with each release. You can follow progress on this repository, test out new versions as we release them, and contribute ideas and code.

If you want to refer to our documentation, please go to napari.org. If you want to contribute to it, please refer to the contributing section below.

We're working on tutorials, but you can also quickly get started by looking below.

installation

It is recommended to install napari into a virtual environment, like this:

sh conda create -y -n napari-env -c conda-forge python=3.9 conda activate napari-env python -m pip install "napari[all]"

If you prefer conda over pip, you can replace the last line with: conda install -c conda-forge napari pyqt

See here for the full installation guide.

simple example

(The examples below require the scikit-image package to run. We just use data samples from this package for demonstration purposes. If you change the examples to use your own dataset, you may not need to install this package.)

From inside an IPython shell, you can open up an interactive viewer by calling

```python from skimage import data import napari

viewer = napari.viewimage(data.cells3d(), channelaxis=1, ndisplay=3) ```

napari viewer with a multichannel image of cells displayed as two image layers: nuclei and membrane.

To use napari from inside a script, use napari.run():

```python from skimage import data import napari

viewer = napari.viewimage(data.cells3d(), channelaxis=1, ndisplay=3) napari.run() # start the "event loop" and show the viewer ```

features

Check out the scripts in our examples folder to see some of the functionality we're developing!

napari supports six main different layer types, Image, Labels, Points, Vectors, Shapes, and Surface, each corresponding to a different data type, visualization, and interactivity. You can add multiple layers of different types into the viewer and then start working with them, adjusting their properties.

All our layer types support n-dimensional data and the viewer provides the ability to quickly browse and visualize either 2D or 3D slices of the data.

napari also supports bidirectional communication between the viewer and the Python kernel, which is especially useful when launching from jupyter notebooks or when using our built-in console. Using the console allows you to interactively load and save data from the viewer and control all the features of the viewer programmatically.

You can extend napari using custom shortcuts, key bindings, and mouse functions.

tutorials

For more details on how to use napari checkout our tutorials. These are still a work in progress, but we'll be updating them regularly.

mission, values, and roadmap

For more information about our plans for napari you can read our mission and values statement, which includes more details on our vision for supporting a plugin ecosystem around napari. You can see details of the project roadmap here.

contributing

Contributions are encouraged! Please read our contributing guide to get started. Given that we're in an early stage, you may want to reach out on our Github Issues before jumping in.

If you want to contribute or edit to our documentation, please go to napari/docs.

code of conduct

napari has a Code of Conduct that should be honored by everyone who participates in the napari community.

governance

You can learn more about how the napari project is organized and managed from our governance model, which includes information about, and ways to contact the @napari/steering-council and @napari/core-devs.

citing napari

If you find napari useful please cite this repository using its DOI as follows:

napari contributors (2019). napari: a multi-dimensional image viewer for python. doi:10.5281/zenodo.3555620

Note this DOI will resolve to all versions of napari. To cite a specific version please find the DOI of that version on our zenodo page. The DOI of the latest version is in the badge at the top of this page.

help

We're a community partner on the image.sc forum and all help and support requests should be posted on the forum with the tag napari. We look forward to interacting with you there.

Bug reports should be made on our github issues using the bug report template. If you think something isn't working, don't hesitate to reach out - it is probably us and not you!

institutional and funding partners

CZI logo

Owner

  • Name: Lorenzo Gaifas
  • Login: brisvag
  • Kind: user
  • Company: @gutsche-lab

PhD student at @gutsche-lab, doing computational stuff with cryo-ET data.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: 'napari: a multi-dimensional image viewer for Python'
doi: 10.5281/zenodo.3555620
authors:
- given-names: Jannis
  family-names: Ahlers
  affiliation: Monash University
  orcid: orcid.org/0000-0003-0630-1819
  alias: jnahlers
- given-names: Daniel
  family-names: Althviz Moré
  affiliation: Quansight
  orcid: https://orcid.org/0000-0003-1759-4194
  alias: dalthviz
- given-names: Oren
  family-names: Amsalem
  affiliation: Harvard Medical School, BIDMC
  orcid: orcid.org/0000-0002-8070-0378
  alias: orena1
- given-names: Ashley
  family-names: Anderson
  affiliation: Chan Zuckerberg Initiative
  orcid: https://orcid.org/0000-0002-3841-8344
  alias: aganders3
- given-names: Grzegorz
  family-names: Bokota
  affiliation: University of Warsaw, Faculty of Mathematics, Informatics, and Mechanics
  orcid: https://orcid.org/0000-0002-5470-1676
  alias: Czaki
- given-names: Peter
  family-names: Boone
  alias: boonepeter
- given-names: Jordão
  family-names: Bragantini
  affiliation: Chan Zuckerberg Biohub
  alias: JoOkuma
- given-names: Genevieve
  family-names: Buckley
  affiliation: Monash University
  orcid: https://orcid.org/0000-0003-2763-492X
  alias: GenevieveBuckley
- given-names: Alister
  family-names: Burt
  affiliation: MRC-LMB
  alias: alisterburt
- given-names: Matthias
  family-names: Bussonnier
  affiliation: Quansight Labs
  orcid: http://orcid.org/0000-0002-7636-8632
  alias: Carreau
- given-names: Ahmet
  family-names: Can Solak
  affiliation: Chan Zuckerberg Biohub
  alias: AhmetCanSolak
- given-names: Clément
  family-names: Caporal
  affiliation: Laboratory for Optics and Biosciences, Ecole Polytechnique, INSERM,
    CNRS, Palaiseau, France
  orcid: https://orcid.org/0000-0002-9441-9173
  alias: ClementCaporal
- given-names: Draga
  family-names: Doncila Pop
  alias: DragaDoncila
- given-names: Kira
  family-names: Evans
  affiliation: Chan Zuckerberg Initiative
  alias: kne42
- given-names: Jeremy
  family-names: Freeman
  affiliation: Chan Zuckerberg Initiative
  alias: freeman-lab
- given-names: Lorenzo
  family-names: Gaifas
  affiliation: Gutsche Lab - University of Grenoble
  orcid: https://orcid.org/0000-0003-4875-9422
  alias: brisvag
- given-names: Christoph
  family-names: Gohlke
  affiliation: University of California, Irvine
  alias: cgohlke
- given-names: Kabilar
  family-names: Gunalan
  alias: kabilar
- given-names: Hagai
  family-names: Har-Gil
  affiliation: Tel Aviv University, Israel
  alias: HagaiHargil
- given-names: Mark
  family-names: Harfouche
  affiliation: Ramona Optics Inc, Durham, North Carolina, USA
  orcid: https://orcid.org/0000-0002-4657-4603
  alias: hmaarrfk
- given-names: Kyle I. S.
  family-names: Harrington
  affiliation: Chan Zuckerberg Initiative
  orcid: https://orcid.org/0000-0002-7237-1973
  alias: kephale
- given-names: Volker
  family-names: Hilsenstein
  affiliation: EMBL Heidelberg, Germany
  orcid: https://orcid.org/0000-0002-2255-2960
  alias: VolkerH
- given-names: Katherine
  family-names: Hutchings
  affiliation: University College London
  alias: katherine-hutchings
- given-names: Talley
  family-names: Lambert
  affiliation: Harvard Medical School
  orcid: https://orcid.org/0000-0002-2409-0181
  alias: tlambert03
- given-names: Jessy
  family-names: Lauer
  affiliation: Swiss Federal Institute of Technology (EPFL), Lausanne, Switzerland
  orcid: orcid.org/0000-0002-3656-2449
  alias: jeylau
- given-names: Gregor
  family-names: Lichtner
  affiliation: Universitätsmedizin Greifswald
  orcid: https://orcid.org/0000-0002-5890-1958
  alias: glichtner
- given-names: Ziyang
  family-names: Liu
  affiliation: Chan Zuckerberg Initiative Foundation
  alias: liu-ziyang
- given-names: Lucy
  family-names: Liu
  affiliation: Quansight
  alias: lucyleeow
- given-names: Alan
  family-names: Lowe
  affiliation: UCL & The Alan Turing Institute
  alias: quantumjot
- given-names: Luca
  family-names: Marconato
  affiliation: EMBL Heidelberg
  orcid: https://orcid.org/0000-0003-3198-1326
  alias: LucaMarconato
- given-names: Sean
  family-names: Martin
  affiliation: MetaCell
  orcid: https://orcid.org/0000-0001-7600-0291
  alias: seankmartin
- given-names: Abigail
  family-names: McGovern
  affiliation: Monash University
  alias: AbigailMcGovern
- given-names: Lukasz
  family-names: Migas
  affiliation: Delft University of Technology
  alias: lukasz-migas
- given-names: Nadalyn
  family-names: Miller
  affiliation: Apex Systems
  orcid: https://orcid.org/0009-0007-6993-1267
  alias: Nadalyn-CZI
- given-names: Hector
  family-names: Muñoz
  affiliation: University of California, Los Angeles
  orcid: https://orcid.org/0000-0001-7851-2549
  alias: hectormz
- given-names: Jan-Hendrik
  family-names: Müller
  affiliation: Georg-August-Universität Göttingen
  orcid: orcid.org/0009-0007-3670-9969
  alias: kolibril13
- given-names: Christopher
  family-names: Nauroth-Kreß
  affiliation: University Hospital Würzburg - Institute of Neuroradiology
  alias: Chris-N-K
- given-names: Juan
  family-names: Nunez-Iglesias
  affiliation: Biomedicine Discovery Institute, Monash University
  alias: jni
- given-names: Constantin
  family-names: Pape
  affiliation: Georg-August-Universität Göttingen
  orcid: https://orcid.org/0000-0001-6562-7187
  alias: constantinpape
- given-names: Kim
  family-names: Pevey
  alias: kcpevey
- given-names: Gonzalo
  family-names: Peña-Castellanos
  affiliation: Quansight
  orcid: https://orcid.org/0000-0002-1214-4680
  alias: goanpeca
- given-names: Andrea
  family-names: Pierré
  affiliation: Brown University
  orcid: https://orcid.org/0000-0003-4501-5428
  alias: kir0ul
- given-names: Jaime
  family-names: Rodríguez-Guerra
  affiliation: Quansight Labs
  orcid: https://orcid.org/0000-0001-8974-1566
  alias: jaimergp
- given-names: David
  family-names: Ross
  affiliation: NanoString Technologies, Inc.
  orcid: orcid.org/0000-0001-9998-3817
  alias: davidpross
- given-names: Loic
  family-names: Royer
  affiliation: Chan Zuckerberg Biohub
  alias: royerloic
- given-names: Craig T.
  family-names: Russell
  affiliation: European Bioinformatics Institute - European Molecular Biology Laboratory
  orcid: orcid.org/0000-0002-2447-5911
  alias: ctr26
- given-names: Gabriel
  family-names: Selzer
  affiliation: University of Wisconsin-Madison
  orcid: orcid.org/0009-0002-2400-1940
  alias: gselzer
- given-names: Paul
  family-names: Smith
  affiliation: University College London
  orcid: orcid.org/0000-0002-3676-5318
  alias: p-j-smith
- given-names: Peter
  family-names: Sobolewski
  affiliation: West Pomeranian University of Technology, Szczecin
  orcid: https://orcid.org/0000-0002-2097-0990
  alias: psobolewskiPhD
- given-names: Konstantin
  family-names: Sofiiuk
  alias: ksofiyuk
- given-names: Nicholas
  family-names: Sofroniew
  affiliation: Chan Zuckerberg Initiative
  orcid: https://orcid.org/0000-0002-3426-0914
  alias: sofroniewn
- given-names: David
  family-names: Stansby
  affiliation: University College London
  orcid: orcid.org/0000-0002-1365-1908
  alias: dstansby
- given-names: Andrew
  family-names: Sweet
  affiliation: Chan Zuckerberg Initiative
  alias: andy-sweet
- given-names: Wouter-Michiel
  family-names: Vierdag
  affiliation: European Molecular Biology Laboratory, Genome Biology Unit, Heidelberg,
    Germany
  orcid: https://orcid.org/0000-0003-1666-5421
  alias: melonora
- given-names: Pam
  family-names: Wadhwa
  affiliation: Quansight Labs
  alias: ppwadhwa
- given-names: Melissa
  family-names: Weber Mendonça
  affiliation: Quansight
  orcid: orcid.org/0000-0002-3212-402X
  alias: melissawm
- given-names: Jonas
  family-names: Windhager
  affiliation: ETH Zurich / University of Zurich
  orcid: https://orcid.org/0000-0002-2111-5291
  alias: jwindhager
- given-names: Philip
  family-names: Winston
  affiliation: Tobeva Software
  alias: pwinston
- given-names: Kevin
  family-names: Yamauchi
  affiliation: Iber Lab - ETH Zürich
  alias: kevinyamauchi
repository-code: https://github.com/napari/napari
license: BSD-3-Clause

GitHub Events

Total
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 319
  • Pull request review event: 2
  • Pull request event: 10
  • Create event: 56
Last Year
  • Delete event: 1
  • Issue comment event: 1
  • Push event: 319
  • Pull request review event: 2
  • Pull request event: 10
  • Create event: 56

Dependencies

.github/workflows/auto_author_assign.yml actions
  • toshimaru/auto-author-assign v1.5.0 composite
.github/workflows/benchmarks.yml actions
  • JasonEtco/create-an-issue v2 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • octokit/request-action v2.x composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/benchmarks_report.yml actions
  • actions/github-script v5 composite
.github/workflows/build_docs.yml actions
  • GabrielBB/xvfb-action v1 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v2 composite
  • nschloe/action-cached-lfs-checkout v1 composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/deploy_docs.yml actions
  • GabrielBB/xvfb-action v1 composite
  • actions/setup-python v4 composite
  • nschloe/action-cached-lfs-checkout v1 composite
  • peaceiris/actions-gh-pages v3 composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/docker-singularity-publish.yml actions
  • actions/checkout v2 composite
  • docker/build-push-action v3 composite
  • docker/login-action 28218f9b04b4f3f62068d7b6ce6ca5b26e35336c composite
  • docker/metadata-action v4 composite
.github/workflows/labeler.yml actions
  • actions/labeler main composite
.github/workflows/make_bundle_conda.yml actions
  • WebFreak001/deploy-nightly v1.1.0 composite
  • actions/checkout v2 composite
  • actions/download-artifact v2 composite
  • actions/upload-artifact v2 composite
  • actions/upload-release-asset v1 composite
  • bruceadams/get-release v1.2.2 composite
  • conda-incubator/setup-miniconda v2 composite
  • devbotsxyz/xcode-notarize v1 composite
  • devbotsxyz/xcode-staple v1 composite
  • mamba-org/provision-with-micromamba main composite
.github/workflows/make_release.yml actions
  • actions/checkout main composite
  • actions/create-release latest composite
  • actions/setup-python v4 composite
  • actions/upload-release-asset v1 composite
  • pypa/gh-action-pypi-publish master composite
.github/workflows/test_comprehensive.yml actions
  • GabrielBB/xvfb-action v1 composite
  • JasonEtco/create-an-issue v2 composite
  • actions/checkout v3 composite
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
  • styfle/cancel-workflow-action 0.9.1 composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/test_prereleases.yml actions
  • GabrielBB/xvfb-action v1 composite
  • JasonEtco/create-an-issue v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/test_pull_requests.yml actions
  • GabrielBB/xvfb-action v1 composite
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • codecov/codecov-action v3 composite
  • styfle/cancel-workflow-action 0.9.1 composite
  • tlambert03/setup-qt-libs v1 composite
.github/workflows/test_translations.yml actions
  • JasonEtco/create-an-issue v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
.github/workflows/test_typing.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
.github/workflows/test_vendored.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v4 composite
  • peter-evans/create-pull-request v4 composite
.devcontainer/Dockerfile docker
  • mcr.microsoft.com/vscode/devcontainers/miniconda 0-3 build
.github/workflows/circleci.yml actions
  • larsoner/circleci-artifacts-redirector-action master composite
.github/workflows/edit_pr_description.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/label_and_milesone_checker.yml actions
  • docker://agilepathway/pull-request-label-checker latest composite
.github/workflows/upgrade_test_constraints.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
binder/environment.yml conda
  • appdirs >=1.4.4
  • cachey >=0.2.1
  • certifi >=2020.6.20
  • dask >=2.1.0
  • fsspec
  • imageio >=2.20
  • importlib-metadata >=1.5.0
  • jsonschema >=3.2.0
  • magicgui >=0.2.6
  • napari-console >=0.0.4
  • napari-plugin-engine >=0.1.9
  • napari-svg >=0.1.4
  • numpy >=1.18.5
  • numpydoc >=0.9.2
  • pillow
  • pint >=0.17
  • pip
  • psutil >=5.0
  • pydantic >=1.8.1
  • pyopengl >=3.1.0
  • pyqt
  • python >=3.8
  • pyyaml >=5.1
  • qtpy >=1.7.0
  • scikit-image
  • scipy >=1.2.0
  • superqt >=0.4.1
  • tifffile >=2020.2.16
  • toolz >=0.10.0
  • tqdm >=4.56.0
  • typing_extensions
  • vispy >=0.6.4
  • websockify
  • wrapt >=1.11.1
  • zarr
pyproject.toml pypi
resources/requirements_mypy.in pypi
  • magicgui *
  • mypy *
  • npe2 *
  • numpy *
  • pydantic *
  • qtpy *
  • types-PyYAML *
  • types-requests *
  • types-setuptools *
resources/requirements_mypy.txt pypi
  • appdirs ==1.4.4
  • build ==0.10.0
  • click ==8.1.6
  • docstring-parser ==0.15
  • magicgui ==0.7.3
  • markdown-it-py ==3.0.0
  • mdurl ==0.1.2
  • mypy ==1.5.0
  • mypy-extensions ==1.0.0
  • npe2 ==0.7.2
  • numpy ==1.25.2
  • packaging ==23.1
  • psygnal ==0.9.2
  • pydantic ==1.10.12
  • pygments ==2.16.1
  • pyproject-hooks ==1.0.0
  • pyyaml ==6.0.1
  • qtpy ==2.3.1
  • rich ==13.5.2
  • superqt ==0.5.0
  • tomli-w ==1.0.0
  • typer ==0.9.0
  • types-pyyaml ==6.0.12.11
  • types-requests ==2.31.0.2
  • types-setuptools ==68.0.0.3
  • types-urllib3 ==1.26.25.14
  • typing-extensions ==4.7.1