Skip to main content

Ptychodus is a ptychography data analysis application.

Project description

ptychodus is a ptychography analysis application that supports multiple reconstruction libraries.

Standard Installation

  1. Install miniforge.

  2. Install ptychodus.

    • To install ptychodus with the GUI and all optional packages:

      $ conda create -c conda-forge -n ptychodus ptychodus-all
    • To install ptychodus with the GUI and no optional packages:

      $ conda create -c conda-forge -n ptychodus ptychodus
    • To install ptychodus without the GUI or optional packages:

      $ conda create -c conda-forge -n ptychodus ptychodus-core
  3. Activate the ptychodus conda environment to run ptychodus.

    $ conda activate ptychodus
    $ ptychodus -h
    
    usage: ptychodus [-h] [-b {reconstruct,train}] [-f FILE_PREFIX] [-s SETTINGS_FILE] [-v] [-w OUTPUT_DIR]
    
    ptychodus is a ptychography analysis application
    
    options:
      -h, --help            show this help message and exit
      -b {reconstruct,train}, --batch {reconstruct,train}
                            run action non-interactively
      -f FILE_PREFIX, --file-prefix FILE_PREFIX
                            replace file path prefix in settings
      -s SETTINGS_FILE, --settings SETTINGS_FILE
                            use settings from file
      -v, --version         show program's version number and exit
      -w OUTPUT_DIR, --write OUTPUT_DIR
                            stage reconstruction inputs to directory
    
    $ ptychodus

Developer Installation

  • For a developer installation:

$ git clone https://github.com/AdvancedPhotonSource/ptychodus.git
$ conda create -c conda-forge -n ptychodus --file ptychodus/requirements-dev.txt
$ conda activate ptychodus
$ pip install -e ./ptychodus
$ pip install ptychi
$ conda install -n ptychodus -c conda-forge ptychonn
  • Launch ptychodus:

$ conda activate ptychodus
$ ptychodus

Reporting Bugs

Open a bug at https://github.com/AdvancedPhotonSource/ptychodus/issues.

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

ptychodus-1.0.tar.gz (246.7 kB view details)

Uploaded Source

Built Distribution

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

ptychodus-1.0-py3-none-any.whl (377.8 kB view details)

Uploaded Python 3

File details

Details for the file ptychodus-1.0.tar.gz.

File metadata

  • Download URL: ptychodus-1.0.tar.gz
  • Upload date:
  • Size: 246.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for ptychodus-1.0.tar.gz
Algorithm Hash digest
SHA256 a69631811ab78c75cd9c0886cccc157221c9d26965554fbb75af9825b4a80ab3
MD5 9c135b9dcac74005ed3ddf4136b6145d
BLAKE2b-256 be97fbac291639db2b37bff64f4ab057fe5474200b1841d67dd8a787802f16d2

See more details on using hashes here.

File details

Details for the file ptychodus-1.0-py3-none-any.whl.

File metadata

  • Download URL: ptychodus-1.0-py3-none-any.whl
  • Upload date:
  • Size: 377.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for ptychodus-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5de6535539076617aa8d545657194e5e26b369e44d2f3512bb95d0ab7d2f9d3f
MD5 fd3d0872378c43319ed10ab444f258bf
BLAKE2b-256 f36463065b1acbc9a081268fcbf9aa4ae9ae7cf8d45c18f639be9aef7810531e

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