SeparatedCoords

class hcipy.field.SeparatedCoords(separated_coords)

Bases: hcipy.field.coordinates.CoordsBase

A list of points that are separable along each dimension.

The actual points are given by the iterated tensor product of the separated_coords.

Parameters
separated_coordslist or tuple

A tuple of a list of coordinates along each dimension.

Attributes
separated_coords

A tuple of a list of coordinates along each dimension.

Attributes Summary

dims

The number of points along each dimension.

shape

The shape of an numpy.ndarray with the right dimensions.

size

The number of points.

Methods Summary

reverse(self)

Reverse the ordering of points in-place.

Attributes Documentation

dims

The number of points along each dimension.

shape

The shape of an numpy.ndarray with the right dimensions.

size

The number of points.

Methods Documentation

reverse(self)

Reverse the ordering of points in-place.