Skip to main content

Pty-chi is a package of ptychography reconstruction engines

Project description

Pty-chi Logo

Welcome to the repository of Pty-chi, a PyTorch-based ptychography reconstruction library!

Installation

Clone the repository to your workspace, and create a new conda environment using:

conda create -n ptychi -c conda-forge -c nvidia --file requirements-dev.txt

Then install the package using:

pip install -e .

How to run test scripts

  1. Contact the developers to be given access to the APS GitLab repository that holds test data.

  2. After gaining access, clone the GitLab data repository to your hard drive.

  3. Set PTYCHO_CI_DATA_DIR to the ci_data directory of the data repository: export PTYCHO_CI_DATA_DIR="path_to_data_repo/ci_data".

  4. Run any test scripts in tests with Python.

How to build the docs

To build the docs, install the dependencies as the first step:

pip install -e .[docs]

Then:

cd docs
make html

You can then view the docs by opening docs/build/html/index.html in your browser.

Developer’s Guide

Please refer to the developer’s guide for more information on how to contribute to the project. The developer’s guide is hosted on the Wiki page of Pty-Chi’s APS GitLab repository. To gain access to the APS GitLab repository, please contact the developers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ptychi-1.0.0.tar.gz (173.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ptychi-1.0.0-py3-none-any.whl (143.7 kB view details)

Uploaded Python 3

File details

Details for the file ptychi-1.0.0.tar.gz.

File metadata

  • Download URL: ptychi-1.0.0.tar.gz
  • Upload date:
  • Size: 173.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ptychi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bc02223b0e64a6bab6bfd0e4eab599bf62edb48564b66ed769b44593e5a0343d
MD5 ebc4cbd937a99de3a3b9d3f29d7534d4
BLAKE2b-256 978555ff1cc5eb9de1943d2655b3908af9abea1b340ce856913fb47f2ee95e05

See more details on using hashes here.

File details

Details for the file ptychi-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ptychi-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 143.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ptychi-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc33ffc5510a6ae33fcb97968a22f2245a7f2757ce8a5063d1322d529aa8ab03
MD5 1a5ece0129357d7cb94af52b32b27879
BLAKE2b-256 a77c7fd1cfecda8b79fa603e93527c2cc4de5a248bba3bba994d1a11fb1e98fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page