xnn.common.models.reciprocal.PhaseColumns#
- class xnn.common.models.reciprocal.PhaseColumns(grid)[source]#
Bases:
objectInteger reciprocal-lattice triples grouped into columns of fixed
(m_1, m_2).- Parameters:
grid (Tensor) – The triples
m,(G, 3), integer-valued (any dtype). The caller chooses the set (a half space, a spherical shell); the order of the values passed toscatter()follows this order.
- static phases(pos, cell)[source]#
Phases
theta (N, 3)withtheta_ik = b_k dot r_i, in float64 (differentiable).cellrows are the lattice vectors;b_ksatisfyb_k . a_l = 2 pi delta_kl.
- column_table(theta, c0, c1, cdtype)[source]#
B[c, i] = exp(i (m_1 theta_1 + m_2 theta_2))for columnsc0:c1,(c, N).
- axis_table(theta, cdtype)[source]#
P[i, m] = exp(i m theta_3)formfrom-M_3toM_3, shape(N, 2 M_3 + 1).