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 details)

Uploaded Python 3

File details

Details for the file aoba_ptycho-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aoba_ptycho-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 124.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for aoba_ptycho-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8ab96bca3d7d1e8ad6bb877b7552f728700f81bf6f0f4e7abb9e9366abe5122
MD5 10d06ef8b0c2361f2b6d3cb87ffe4ad1
BLAKE2b-256 e91c686eafc0b41b3498d933d3ed64aa3a3c8367551f9e1980f414cbcd7b09b9

See more details on using hashes here.

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