Update setup script and plotting cosmetics

Former-commit-id: 4929c28524809d1e9ffb42f523e99ee4e43d4fb8
This commit is contained in:
Marek Nečada 2017-05-08 19:45:16 +03:00
parent 0103201fb4
commit 36ed59dcf8
2 changed files with 5 additions and 3 deletions

View File

@ -457,7 +457,7 @@ colormax = np.amax(np.linalg.norm(centers2,axis=0))
# In[ ]:
for minN in reversed(range(svn)):
f, axes = plt.subplots(1,3, figsize=(20,4))
f, axes = plt.subplots(1,3, figsize=(20,4.8))
ax = axes[0]
sc = ax.scatter(klist[:,0], klist[:,1], c = np.clip(np.abs(minsvTElist[:,minN]),0,1), lw=0)
for center in centers2:
@ -470,6 +470,7 @@ for minN in reversed(range(svn)):
ax.add_patch(patch)
ax.set_xticks([])
ax.set_yticks([])
ax.title.set_text('E in-plane ("TE")')
f.colorbar(sc,ax=ax)
@ -485,6 +486,7 @@ for minN in reversed(range(svn)):
ax.add_patch(patch)
ax.set_xticks([])
ax.set_yticks([])
ax.title.set_text('E perpendicular ("TM")')
f.colorbar(sc,ax=ax)
ax = axes[2]

View File

@ -27,13 +27,13 @@ qpms_c = Extension('qpms_c',
'-DDISABLE_NDEBUG', # uncomment to enable assertions in the modules
#'-fopenmp',
],
libraries=['gsl', 'blas', #'omp'
libraries=['gsl', 'blas', 'gslcblas', #'omp'
],
runtime_library_dirs=os.environ['LD_LIBRARY_PATH'].split(':') if 'LD_LIBRARY_PATH' in os.environ else []
)
setup(name='qpms',
version = "0.2.8",
version = "0.2.9",
packages=['qpms'],
# setup_requires=['setuptools_cython'],
install_requires=['cython>=0.21','quaternion','spherical_functions','py_gmm'],