skbeam.core.constants.xrs.HKL

class skbeam.core.constants.xrs.HKL

Namedtuple sub-class miller indicies (HKL)

This class enforces that the values are integers.

Parameters
hint
kint
lint
__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, /, \*args, \*\*kwargs)

Initialize self.

count(self, value, /)

Return number of occurrences of value.

index(self, value[, start, stop])

Return first index of value.

Attributes

h

Alias for field number 0

k

Alias for field number 1

l

Alias for field number 2

length

The L2 norm (length) of the hkl vector.