ptypy.core.data#

data - Diffraction data access.

This module defines a PtyScan, a container to hold the experimental data of a ptychography scan. Instrument-specific reduction routines should inherit PtyScan to prepare data for the Ptycho Instance in a uniform format.

The experiment specific child class only needs to overwrite 2 functions of the base class:

For the moment the module contains two main objects: PtyScan, which holds a single ptychography scan, and DataSource, which holds a collection of datascans and feeds the data as required.

This file is part of the PTYPY package.

copyright:

Copyright 2014 by the PTYPY team, see AUTHORS.

license:

see LICENSE for details.

Module Attributes

PTYD

Basic Structure of a .ptyd datafile

Classes

MoonFlowerScan([pars])

Test PtyScan class producing a romantic ptychographic data set of a moon illuminating flowers.

PtyScan([pars])

PtyScan: A single ptychography scan, created on the fly or read from file.

PtydScan([pars])

PtyScan provided by native "ptyd" file format.

QuickScan([pars])

Test PtyScan to benchmark graph creation further down the line.