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.1.tar.gz (247.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.1-py3-none-any.whl (378.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ptychodus-1.0.1.tar.gz
Algorithm Hash digest
SHA256 65ba2939b0ba5f38fe19c2ea7fce0dbd63ffddc269ff44f6367a073fd06b1338
MD5 09516378cba13111c16c05dac77c6d9b
BLAKE2b-256 eb4accd2809ff1d32af5f2fe7c3732e8ce18b9535dc98c45186e75e61ab0984a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ptychodus-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 63339bc5bad2ced4b09e19bbf8d605d78dbbdd997ab81cf9dffd9d5ffcab3ebd
MD5 a4da41cd97f2a242a07086590baf86cb
BLAKE2b-256 8bd959f09ee4235e793d5fac40d8fee1657240885c3e059b5da56dd89607f743

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