Ignore:
Timestamp:
Dec 5, 2016 2:42:45 PM (5 years ago)
Author:
vondreele
Message:

make A2Gmat return np.arrays
put in spinners for Background & Container multipliers
fix a couple of Status problems
fix(?) lattice parameter errors for hexagonal & trigonal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIlattice.py

    r2546 r2560  
    128128
    129129    """
    130     G = np.zeros(shape=(3,3))
    131     G = [
     130    G = np.array([
    132131        [A[0],  A[3]/2.,  A[4]/2.],
    133132        [A[3]/2.,A[1],    A[5]/2.],
    134         [A[4]/2.,A[5]/2.,    A[2]]]
     133        [A[4]/2.,A[5]/2.,    A[2]]])
    135134    if inverse:
    136135        g = nl.inv(G)
Note: See TracChangeset for help on using the changeset viewer.