https://github.com/JoeMcEwen/FAST-PT
Revision c56761670c0e4c154b7f2794c79c06c840ba5b0a authored by Jonathan Blazek on 01 March 2019, 22:19:49 UTC, committed by Jonathan Blazek on 01 March 2019, 22:19:49 UTC
1 parent 137418e
Tip revision: c56761670c0e4c154b7f2794c79c06c840ba5b0a authored by Jonathan Blazek on 01 March 2019, 22:19:49 UTC
merging changes from develop branch to prepare for merge with dev. develop will be deprecated.
merging changes from develop branch to prepare for merge with dev. develop will be deprecated.
Tip revision: c567616
OV.py
import numpy as np
from J_table import J_table
import sys
# Ordering is \alpha, \beta, l_1, l_2, l, A coeficient
l_mat= np.array([[-2,0,0,0,0,2./3],\
[-2,0,0,2,0,-2./3],\
[0,-2,0,0,0,-2./3],\
[0,-2,0,2,0,2./3]], dtype=float)
def OV():
table=np.zeros(10,dtype=float)
for i in range(l_mat.shape[0]):
x=J_table(l_mat[i])
table=np.row_stack((table,x))
return table[1:,:]
Computing file changes ...