{"name":"napari-mat-images","display_name":"napari-mat-images","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":null,"readers":null,"writers":null,"widgets":null,"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-mat-images","version":"0.1.3","dynamic":null,"platform":["UNKNOWN"],"supported_platform":null,"summary":"A plugin to load images stored in MATLAB .mat files with napari","description":"# napari-mat-images\n\n[![PyPI version](https://img.shields.io/pypi/v/napari-mat-images.svg)](https://pypi.org/project/napari-mat-images)\n\n[![Python versions](https://img.shields.io/pypi/pyversions/napari-mat-images.svg)](https://pypi.org/project/napari-mat-images)\n\n[![See Build Status on Azure Pipelines](https://dev.azure.com/hectormz-1/napari-mat-images/_apis/build/status/hectormz.napari-mat-images?branchName=main)](https://dev.azure.com/hectormz-1/napari-mat-images/_build/latest?definitionId=1&branchName=main)\n\n## Features\n\nThis plugin loads image variables stored in `MATLAB` `.mat` files into [napari](https://github.com/napari/napari).\n\nIt loads any variable that looks like an image.\nPresently, that includes any array with more than two dimensions with size greater than 20 pixels (determined by `shape_is_image()`).\n\nIf loading a variable with 3 or more dimensions, the plugin assumes that it is a stack of images, and the dimension with greatest size is the axis of the stack.\n\n### Loading Large Files\n\nIf loading a large `.mat` file saved in `HDF5`/`v7.3` format, chunks of the images are loaded as needed, resulting in fast initial load, but potentially slower scrolling.\n\nSlices of the image stacks are randomly sampled to determine min/max contrast values.\n\n## Requirements\n\nThis plugin relies on `scipy` to load small `.mat` files and `h5py` (with `dask`) to load larger `HDF5`/`v7.3` `.mat` files.\n\nIt implicitly requires `napari` for use.\n\n## Installation\n\n`napari-mat-images` requires [napari](https://github.com/napari/napari) to be installed, although it is not listed as a requirement for installation.\nThis plugin relies on plugin functionality found in `napari` version \\> `0.2.12`. This can be installed via [pip](https://pypi.org/project/pip/) from [PyPI](https://pypi.org/project):\n\n $ pip install napari>0.2.12\n\nYou can install `napari-mat-images` via [pip](https://pypi.org/project/pip/) from [PyPI](https://pypi.org/project):\n\n $ pip install napari-mat-images\n\n## Usage\n\nOnce installed, the plugin will be used whenever trying to load a `.mat` file.\nThis can be done from the `napari` GUI or commandline:\n\n $ napari my_file.mat\n\n## Contributing\n\nContributions are very welcome.\nTests can be run with [pytest](https://docs.pytest.org/en/latest/),\nplease ensure the coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3](http://opensource.org/licenses/BSD-3-Clause) license, `napari-mat-images` is free and open source software\n\n## Issues\n\nIf you encounter any problems, please [file an issue](https://github.com/hectormz/napari-mat-images/issues) along with a detailed description.\n\n---\n\nThis [napari](https://github.com/napari/napari) plugin was generated with [Cookiecutter](https://github.com/audreyr/cookiecutter) along with [napari](https://github.com/napari/napari)\\'s [cookiecutter-napari-plugin](https://github.com/napari/cookiecutter-napari-plugin) template.\n\n\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/hectormz/napari-mat-images","download_url":null,"author":"Hector Munoz","author_email":"hectormz.git@gmail.com","maintainer":"Hector Munoz","maintainer_email":"hectormz.git@gmail.com","license":"BSD-3","classifier":["Development Status :: 4 - Beta","Intended Audience :: Developers","Framework :: napari","Topic :: Software Development :: Testing","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3.6","Programming Language :: Python :: 3.7","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: Implementation :: CPython","Programming Language :: Python :: Implementation :: PyPy","Operating System :: OS Independent","License :: OSI Approved :: BSD License"],"requires_dist":["dask[delayed]","h5py","numpy","pluggy","scipy"],"requires_python":">=3.6","requires_external":null,"project_url":null,"provides_extra":null,"provides_dist":null,"obsoletes_dist":null},"npe1_shim":true}