Skip to main content

Ptychography on AOBA-S

Project description

aoba-ptycho

Prerequisites

  • Python 3.6
  • NLC 3.1.0

Installation

  1. Ensure pip is up to date:
    pip3 install --user -U pip
    
  2. Install the wheel file:
    pip3 install --user aoba_ptycho-0.1.0-py3-none-any.whl
    

Usage

The package provides a CLI tool named aoba-ptycho. The usage is as follows:

aoba-ptycho [-h] [--iter ITER] [--plot] [-v] input output

Positional arguments:

  • input: Input file in MATLAB v7.3 format. Observations and configurations should be supplied included in this file.
  • output: Output file in MATLAB v7.3 format. It includes the complex object image and R-factor history.

Optional arguments:

  • -h, --help: Show help message and exit.
  • --iter ITER: Override the number of ePIE iterations.
  • --plot: Generate plots (object phase image and R-factor)
  • -v, --version: Show version information.

Building instructions

The following commands should be executed on a front-end nodes of AOBA-S (compute nodes lack access to compilers).

  1. Compile the VE library:
    aoba/ptychography/jit/compile.sh
    
  2. Update packaging tools:
    pip3 install --user -U pip wheel
    
  3. Build the wheel:
    pip3 wheel --no-deps .
    

Distribute the generate wheel (aoba_ptycho-x.y.z-py3-none-any.whl) to users.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

aoba_ptycho-0.1.1-py3-none-any.whl (124.8 kB view hashes)

Uploaded Python 3

Supported by

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