A deep neural network data reconstruction platform
Project description
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
- GAN-powered Reconstruction: At its core, GANrec employs GANs to assist in the reconstruction process, enabling more accurate and efficient results than conventional methods.
- Specialized for Tomography & Phase Retrieval: GANrec has been optimized for tomography and phase retrieval applications, ensuring precision and reliability in these domains.
- Modular Design: The framework's architecture allows users to provide their forward model, making it adaptable for various complex data reconstruction challenges.
- Efficient and Scalable: Built to handle large datasets, GANrec ensures that speed and efficiency are maintained without compromising the accuracy of reconstruction.
Installation
Installation
-
For the general users:
- Create a Conda Environment: Create a new conda environment named ganrec.
conda create --name ganrec python=3.11
- Activate the Conda Environment: Activate the newly created ganrec environment.
conda activate ganrec
- Install from Pypi:
pip install ganrec
-
If you want to work for some developments based on GANrec, please follow the steps below to install and set up GANrec:
- Create a Conda Environment: Create a new conda environment named ganrec.
conda create --name ganrec python=3.11
- Activate the Conda Environment: Activate the newly created ganrec environment.
conda activate ganrec
- Clone the GANrec Repository: Clone the GANrec repository from GitHub to your local machine.
git clone https://github.com/XYangXRay/ganrec.git
- 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:
- X-ray tomography reconstruction:
- Holography phase retreival:
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ganrec-0.2.2.tar.gz
.
File metadata
- Download URL: ganrec-0.2.2.tar.gz
- Upload date:
- Size: 10.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c9861e42c942fbd3ff4c1ae7f5ff5acd0d06fa501c0f90d89b15f52b4fc69d2 |
|
MD5 | 22ead7f122095c47592a24504fe014f8 |
|
BLAKE2b-256 | 932fe0c1aeb5482fce19a5d5441e5aa274608f48378fbeaf42d0ace0b4528000 |
File details
Details for the file ganrec-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: ganrec-0.2.2-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc82e783281d4fd4d0209ea50e6decd93b9bfab7e8da5af1be5e77f6ebff91be |
|
MD5 | fa0f9a9c389a6fba584710290fd32aed |
|
BLAKE2b-256 | 99525559548c46384dac48c5f0d19b8009730a8da54093812289ccb344d259a9 |