herbs


Nameherbs JSON
Version 0.2.8 PyPI version JSON
download
home_pagehttps://github.com/JingyiGF/HERBS
SummaryA Python-based GUI for Histological E-data Registration in Brain Space
upload_time2024-02-01 20:28:33
maintainer
docs_urlNone
authorJingyi GF
requires_python>=3.8
license
keywords brain atlas histological image registration probe coordinates
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HERBS
A Python-based GUI for Histological E-data Registration in Brain Space


HERBS is an open source, extensible, intuitive and interactive software platform for image visualisation and image registration. Where the image registration is the process of identifying a spatial transformation that maps images to a template such that corresponding anatomical structures are optimally aligned, or in other words, a voxel-wise ‘correspondence’ is established between the images and template.

HERBS has been tested on Windows 10, MacOSx (Big Sur - Monterey), Linux (Kubuntu 18.04, Ubuntu 22.04 LTS), and as a python application, it should run in all environments supporting python 3.8.10-3.9.16 / 3.9.0 with PyQt5 >= 5.14.2 as a GUI framework. For details, please see HERBS CookBook or Tutorials(most recent update).

HERBS provides users:

- 2D and 3D visualisation of brain atlas volume data and arbitrary slicing.
- Image registration with interactive local elastic deformation methods in current version.
- 2D and 3D visualisation of user defined data.

## Install

```python
$ pip install herbs
```

Please install the newest version of HERBS.

## Usage

```python
import herbs
herbs.run_herbs()
```

After running the above scripts, a GUI window will pop up. Users can download atlas and upload images for further process,

<img src="./herbs/herbs.png" width="800px"></img>

For more information, please read HERBS CookBook (on going) or check the Tutorial folder for corresponding functionalities.

## Atlas Storage

- <span style="font-weight:700;font-size:18px">
    Do not store Atlases inside HERBS folder. 
</span>
When downloading Atlases, HERBS asks users to select the folder to store the atlas. Please choose a folder other than HERBS folder.

- <span style="font-weight:700;font-size:18px">
    Save different Atlas in different folders. 
</span>
When downloading an atlas other than the one you already have, please store it in another folder.


## Some Pre-Requirement Issues

- In order to run HERBS properly, 64 bit operating systems and 64 bit Python are required.

- 3D visualisation in HERBS depends on OpenGL, if you face to the problem that no OpenGL is installed on your machine, please see (https://www.opengl.org) to download and install accordingly. 

- If you use MacOS and face to the problem of ImportError states that "Unable to load OpenGL package". Please try to find the OpenGL package folder from where you install all python packages in your enviroment, and go to OpenGL's child-folder "platform", open "ctypesloader.py", and change line 

```python
fullName = util.find_library( name )
```

to

```python
fullName = '/System/Library/Frameworks/OpenGL.framework/OpenGL'
```


- For the current version of HERBS, Python is required to be installed. Please see (https://www.python.org) for downloading.

- If you would like to install HERBS through terminal, **pip** is required. 
	- Check if pip is installed, `pip --version` or `pip help`.
	- Use `python3 -m ensurepip` for MacOS to install pip.
	- Use `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py` to download requiring file for installing pip on Windows and `python get-pip.py` to install pip.
	- Please update pip to the newest version before installing HERBS.

- We strongly recommend users to use Python and install packages with virtual environment. For no-coders, we strongly recommend to use IDE to create environment at the moment. A desktop app of HERBS is on its way.   

## Some Dependencies Conflict Issues
- The initial of test of HERBS was carried on Windows 10 (one user claimed he had a Windows 11 before, but it turned out to be a Windows 10 at the end), MacOSx (Big Sur - Monterey) and Linux (Kubuntu 18.04, Ubuntu 22.04 LTS) with Python==3.8.10 and the corresponding dependencies listed in CookBook. 

- The current tests showed that different version of Python accepts different versions of dependencies. For example, PyQt5 == 5.14.2 works when Python>=3.8.10 and PyQt5 >= 5.15.0 works when Python==3.9. 

- HERBS depends on Numba and the valid version for Numba is highly depends on the version of Numpy. For example, Numba == 0.54 only works when Numpy <= 1.20 and Numba == 0.55 only works when Numpy <= 1.21 and so on.

- If you face to these kinds of problems, the easiest way to install HERBS is to create a new environment and install HERBS without previous installation of any dependencies.

### 
Please report your issues: https://github.com/JingyiGF/HERBS/issues. Please have a good description (maybe a screenshot or an error message). Any feedback welcome!

Please feel free to start any discussion: https://github.com/JingyiGF/HERBS/discussions.

## Finally
HERBS is 'always' in development, please check updates every time before you use it.


Hope this tool makes your amazing research life more tasty :-)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/JingyiGF/HERBS",
    "name": "herbs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "brain atlas,histological image registration,probe coordinates",
    "author": "Jingyi GF",
    "author_email": "jingyi.g.fuglstad@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/57/9c/8ea083c129ca76be8824d54e56f3ba5c7518bef3ef45e0c49b218598c646/herbs-0.2.8.tar.gz",
    "platform": null,
    "description": "# HERBS\nA Python-based GUI for Histological E-data Registration in Brain Space\n\n\nHERBS is an open source, extensible, intuitive and interactive software platform for image visualisation and image registration. Where the image registration is the process of identifying a spatial transformation that maps images to a template such that corresponding anatomical structures are optimally aligned, or in other words, a voxel-wise \u2018correspondence\u2019 is established between the images and template.\n\nHERBS has been tested on Windows 10, MacOSx (Big Sur - Monterey), Linux (Kubuntu 18.04, Ubuntu 22.04 LTS), and as a python application, it should run in all environments supporting python 3.8.10-3.9.16 / 3.9.0 with PyQt5 >= 5.14.2 as a GUI framework. For details, please see HERBS CookBook or Tutorials(most recent update).\n\nHERBS provides users:\n\n- 2D and 3D visualisation of brain atlas volume data and arbitrary slicing.\n- Image registration with interactive local elastic deformation methods in current version.\n- 2D and 3D visualisation of user defined data.\n\n## Install\n\n```python\n$ pip install herbs\n```\n\nPlease install the newest version of HERBS.\n\n## Usage\n\n```python\nimport herbs\nherbs.run_herbs()\n```\n\nAfter running the above scripts, a GUI window will pop up. Users can download atlas and upload images for further process,\n\n<img src=\"./herbs/herbs.png\" width=\"800px\"></img>\n\nFor more information, please read HERBS CookBook (on going) or check the Tutorial folder for corresponding functionalities.\n\n## Atlas Storage\n\n- <span style=\"font-weight:700;font-size:18px\">\n    Do not store Atlases inside HERBS folder. \n</span>\nWhen downloading Atlases, HERBS asks users to select the folder to store the atlas. Please choose a folder other than HERBS folder.\n\n- <span style=\"font-weight:700;font-size:18px\">\n    Save different Atlas in different folders. \n</span>\nWhen downloading an atlas other than the one you already have, please store it in another folder.\n\n\n## Some Pre-Requirement Issues\n\n- In order to run HERBS properly, 64 bit operating systems and 64 bit Python are required.\n\n- 3D visualisation in HERBS depends on OpenGL, if you face to the problem that no OpenGL is installed on your machine, please see (https://www.opengl.org) to download and install accordingly. \n\n- If you use MacOS and face to the problem of ImportError states that \"Unable to load OpenGL package\". Please try to find the OpenGL package folder from where you install all python packages in your enviroment, and go to OpenGL's child-folder \"platform\", open \"ctypesloader.py\", and change line \n\n```python\nfullName = util.find_library( name )\n```\n\nto\n\n```python\nfullName = '/System/Library/Frameworks/OpenGL.framework/OpenGL'\n```\n\n\n- For the current version of HERBS, Python is required to be installed. Please see (https://www.python.org) for downloading.\n\n- If you would like to install HERBS through terminal, **pip** is required. \n\t- Check if pip is installed, `pip --version` or `pip help`.\n\t- Use `python3 -m ensurepip` for MacOS to install pip.\n\t- Use `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py` to download requiring file for installing pip on Windows and `python get-pip.py` to install pip.\n\t- Please update pip to the newest version before installing HERBS.\n\n- We strongly recommend users to use Python and install packages with virtual environment. For no-coders, we strongly recommend to use IDE to create environment at the moment. A desktop app of HERBS is on its way.   \n\n## Some Dependencies Conflict Issues\n- The initial of test of HERBS was carried on Windows 10 (one user claimed he had a Windows 11 before, but it turned out to be a Windows 10 at the end), MacOSx (Big Sur - Monterey) and Linux (Kubuntu 18.04, Ubuntu 22.04 LTS) with Python==3.8.10 and the corresponding dependencies listed in CookBook. \n\n- The current tests showed that different version of Python accepts different versions of dependencies. For example, PyQt5 == 5.14.2 works when Python>=3.8.10 and PyQt5 >= 5.15.0 works when Python==3.9. \n\n- HERBS depends on Numba and the valid version for Numba is highly depends on the version of Numpy. For example, Numba == 0.54 only works when Numpy <= 1.20 and Numba == 0.55 only works when Numpy <= 1.21 and so on.\n\n- If you face to these kinds of problems, the easiest way to install HERBS is to create a new environment and install HERBS without previous installation of any dependencies.\n\n### \nPlease report your issues: https://github.com/JingyiGF/HERBS/issues. Please have a good description (maybe a screenshot or an error message). Any feedback welcome!\n\nPlease feel free to start any discussion: https://github.com/JingyiGF/HERBS/discussions.\n\n## Finally\nHERBS is 'always' in development, please check updates every time before you use it.\n\n\nHope this tool makes your amazing research life more tasty :-)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Python-based GUI for Histological E-data Registration in Brain Space",
    "version": "0.2.8",
    "project_urls": {
        "Bug Tracker": "https://github.com/JingyiGF/HERBS/issues",
        "Homepage": "https://github.com/JingyiGF/HERBS"
    },
    "split_keywords": [
        "brain atlas",
        "histological image registration",
        "probe coordinates"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5af5ea4f149918e998a36a6927622791dd7c18a9cd2c750cca0f1e87e4912da3",
                "md5": "801b5cee1952a6d36fa7809bef4e1800",
                "sha256": "14a2639b5ac8faa8887eada9d188402864b09ac2975ddb4cf58f212cdbec7e35"
            },
            "downloads": -1,
            "filename": "herbs-0.2.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "801b5cee1952a6d36fa7809bef4e1800",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 482317,
            "upload_time": "2024-02-01T20:28:31",
            "upload_time_iso_8601": "2024-02-01T20:28:31.191470Z",
            "url": "https://files.pythonhosted.org/packages/5a/f5/ea4f149918e998a36a6927622791dd7c18a9cd2c750cca0f1e87e4912da3/herbs-0.2.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "579c8ea083c129ca76be8824d54e56f3ba5c7518bef3ef45e0c49b218598c646",
                "md5": "517608f638b2477bf410ca4a39ead4ab",
                "sha256": "f8582e08ca76fae94eb9231cc17a278cb5133c078352020c955c684c0967a255"
            },
            "downloads": -1,
            "filename": "herbs-0.2.8.tar.gz",
            "has_sig": false,
            "md5_digest": "517608f638b2477bf410ca4a39ead4ab",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 397517,
            "upload_time": "2024-02-01T20:28:33",
            "upload_time_iso_8601": "2024-02-01T20:28:33.556709Z",
            "url": "https://files.pythonhosted.org/packages/57/9c/8ea083c129ca76be8824d54e56f3ba5c7518bef3ef45e0c49b218598c646/herbs-0.2.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-01 20:28:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "JingyiGF",
    "github_project": "HERBS",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "herbs"
}
        
Elapsed time: 0.76252s