ptypy.engines.utils#
Engine-specific utilities. This could be compiled, or GPU accelerated.
This file is part of the PTYPY package.
- copyright:
Copyright 2014 by the PTYPY team, see AUTHORS.
- license:
see LICENSE for details.
Functions
|
Compute the dot product on two containers c1 and c2. |
|
Computes a norm2 on whole container c. |
|
* DEPRECATED * Backwards compatible function, for reference only. |
|
* DEPRECATED * Fourier update a single view using its associated pods. |
|
Load an derivatives of baselist dynamically from .py files in the given path. |
|
Calculates the log-likelihood for a diffraction view. |
|
Linear interpolation between Difference Map algorithm (a,b,c = -1,1,2) and Alternating Projections algorithm (a,b,c = 0,1,1) with coefficients a = -alpha, b = 1, c = 1 + alpha. |
|
Generalized projection update of a single view using its associated pods. |
|
Apply a low-rank approximation on a. |