The named_tuples Module

CFELPyUtils named tuples.

This module contains a collection of named tuples used throughout the CFELPyUtils library.

class PixelMaps

Bases: tuple

Pixel maps that store geometry information.

Parameters:
  • x (numpy.ndarray) – pixel map for the x coordinate.
  • y (numpy.ndarray) – pixel map for the y coordinate.
  • z (numpy.ndarray) – pixel map for the z coordinate.
  • r (numpy.ndarray) – pixel map storing the distance of each pixel from the center of the reference system.
  • phi (numpy.ndarray) – pixel map storing the amplitude of the angle between each pixel, the center of the reference system, and the x axis.
phi

Alias for field number 4

r

Alias for field number 3

x

Alias for field number 0

y

Alias for field number 1

z

Alias for field number 2