Name | GANrec JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | A deep neural network data reconstruction platform |
upload_time | 2024-05-30 17:52:02 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | BSD 3-Clause License Copyright (c) 2022, Brookhaven National Lab All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
data reconstruction
gan
phase retrieval
tomography
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
|
coveralls test coverage |
|
# GANrec: A GAN-based Data Reconstruction Framework
# Overview
GANrec is an data reconstruction framework that harnesses the power of Generative Adversarial Networks (GANs). While traditional reconstruction methods primarily rely on intricate algorithms to piece together fragmented data, GANrec employs the generative capabilities of GANs to reimagine and revitalize data reconstruction.
Originally designed for the fields of tomography and phase retrieval, GANrec shines in its adaptability. With a provision to input the forward model, the framework can be flexibly adapted for complex data reconstruction processes across diverse applications.
# Features
1. GAN-powered Reconstruction: At its core, GANrec employs GANs to assist in the reconstruction process, enabling more accurate and efficient results than conventional methods.
2. Specialized for Tomography & Phase Retrieval: GANrec has been optimized for tomography and phase retrieval applications, ensuring precision and reliability in these domains.
3. Modular Design: The framework's architecture allows users to provide their forward model, making it adaptable for various complex data reconstruction challenges.
4. Efficient and Scalable: Built to handle large datasets, GANrec ensures that speed and efficiency are maintained without compromising the accuracy of reconstruction.
# Installation
Installation
Follow the steps below to install and set up GANrec:
1. Create a Conda Environment:
Create a new conda environment named ganrec.
`conda create --name ganrec python=3.8`
2. Activate the Conda Environment:
Activate the newly created ganrec environment.
`conda activate ganrec`
3. Install tensorflow:
https://www.tensorflow.org/install/pip
4. Clone the GANrec Repository:
Clone the GANrec repository from GitHub to your local machine.
`git clone https://github.com/XYangXRay/ganrec.git`
5. Install the Required Packages:
Navigate to the main directory of the cloned repository and install the necessary packages.
`cd ganrec`
`python3 -m pip install -e .`
# Examples
GANrec currently has the applications for tomography reconstructon and in-line phase contrast (holography) phase retrieval:
1. X-ray tomography reconstruction:
- [Tomography Example](https://github.com/XYangXRay/ganrec/blob/main/examples/tomography_tf.ipynb)
2. Holography phase retreival:
- [Phase retrieval Example](https://github.com/XYangXRay/ganrec/blob/main/examples/holography_tf.ipynb)
# References
If you find GANrec is useful in your work, please consider citing:
J. Synchrotron Rad. (2020). 27, 486-493.
Available at: https://doi.org/10.1107/S1600577520000831
Raw data
{
"_id": null,
"home_page": null,
"name": "GANrec",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Data reconstruction, GAN, Phase retrieval, Tomography",
"author": null,
"author_email": "Xiaogang Yang <xiaogang.yang@outlook.com>",
"download_url": "https://files.pythonhosted.org/packages/86/a1/c3a91c9315c1f948ca7c5088bf12e81b2ad89b44a0d93a3ed65ed770e145/ganrec-0.2.0.tar.gz",
"platform": null,
"description": "# GANrec: A GAN-based Data Reconstruction Framework\n\n# Overview\n\nGANrec is an data reconstruction framework that harnesses the power of Generative Adversarial Networks (GANs). While traditional reconstruction methods primarily rely on intricate algorithms to piece together fragmented data, GANrec employs the generative capabilities of GANs to reimagine and revitalize data reconstruction.\n\nOriginally designed for the fields of tomography and phase retrieval, GANrec shines in its adaptability. With a provision to input the forward model, the framework can be flexibly adapted for complex data reconstruction processes across diverse applications.\n\n# Features\n\n1. GAN-powered Reconstruction: At its core, GANrec employs GANs to assist in the reconstruction process, enabling more accurate and efficient results than conventional methods.\n2. Specialized for Tomography & Phase Retrieval: GANrec has been optimized for tomography and phase retrieval applications, ensuring precision and reliability in these domains.\n3. Modular Design: The framework's architecture allows users to provide their forward model, making it adaptable for various complex data reconstruction challenges.\n4. Efficient and Scalable: Built to handle large datasets, GANrec ensures that speed and efficiency are maintained without compromising the accuracy of reconstruction.\n\n# Installation\n\nInstallation\n\nFollow the steps below to install and set up GANrec:\n\n1. Create a Conda Environment:\nCreate a new conda environment named ganrec.\n\n`conda create --name ganrec python=3.8`\n\n2. Activate the Conda Environment:\nActivate the newly created ganrec environment.\n\n`conda activate ganrec`\n\n3. Install tensorflow:\n\nhttps://www.tensorflow.org/install/pip\n\n4. Clone the GANrec Repository:\nClone the GANrec repository from GitHub to your local machine.\n\n`git clone https://github.com/XYangXRay/ganrec.git`\n\n5. Install the Required Packages:\nNavigate to the main directory of the cloned repository and install the necessary packages.\n\n`cd ganrec`\n\n`python3 -m pip install -e .`\n\n# Examples\n\nGANrec currently has the applications for tomography reconstructon and in-line phase contrast (holography) phase retrieval:\n\n1. X-ray tomography reconstruction:\n - [Tomography Example](https://github.com/XYangXRay/ganrec/blob/main/examples/tomography_tf.ipynb)\n2. Holography phase retreival:\n - [Phase retrieval Example](https://github.com/XYangXRay/ganrec/blob/main/examples/holography_tf.ipynb)\n\n# References\n\nIf you find GANrec is useful in your work, please consider citing:\n\nJ. Synchrotron Rad. (2020). 27, 486-493.\nAvailable at: https://doi.org/10.1107/S1600577520000831\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License Copyright (c) 2022, Brookhaven National Lab All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": "A deep neural network data reconstruction platform",
"version": "0.2.0",
"project_urls": {
"documentation": "https://github.com/XYangXRay/ganrec",
"homepage": "https://github.com/XYangXRay/ganrec",
"repository": "https://github.com/XYangXRay/ganrec"
},
"split_keywords": [
"data reconstruction",
" gan",
" phase retrieval",
" tomography"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bfa324c7b4b01991614a6ad45d5812f0458bb52dee5fd1642519d216570c3cf7",
"md5": "0fc99b186c07a696e215104606250334",
"sha256": "460a5dfdbebd79150c4c48da31467fde2539d8434e63d5cc2e37ddcc45df4271"
},
"downloads": -1,
"filename": "ganrec-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0fc99b186c07a696e215104606250334",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 48956,
"upload_time": "2024-05-30T17:51:53",
"upload_time_iso_8601": "2024-05-30T17:51:53.971327Z",
"url": "https://files.pythonhosted.org/packages/bf/a3/24c7b4b01991614a6ad45d5812f0458bb52dee5fd1642519d216570c3cf7/ganrec-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "86a1c3a91c9315c1f948ca7c5088bf12e81b2ad89b44a0d93a3ed65ed770e145",
"md5": "df58c2fd1d72146b6a94d306dc566ea7",
"sha256": "dd932b7eb41fbd068b9911821a6f84580aa5fbb50e908cbee855e9c95f993c33"
},
"downloads": -1,
"filename": "ganrec-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "df58c2fd1d72146b6a94d306dc566ea7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 10560591,
"upload_time": "2024-05-30T17:52:02",
"upload_time_iso_8601": "2024-05-30T17:52:02.569353Z",
"url": "https://files.pythonhosted.org/packages/86/a1/c3a91c9315c1f948ca7c5088bf12e81b2ad89b44a0d93a3ed65ed770e145/ganrec-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-30 17:52:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "XYangXRay",
"github_project": "ganrec",
"travis_ci": true,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "ganrec"
}