Update setup script and plotting cosmetics
Former-commit-id: 4929c28524809d1e9ffb42f523e99ee4e43d4fb8
This commit is contained in:
parent
0103201fb4
commit
36ed59dcf8
|
@ -457,7 +457,7 @@ colormax = np.amax(np.linalg.norm(centers2,axis=0))
|
||||||
|
|
||||||
# In[ ]:
|
# In[ ]:
|
||||||
for minN in reversed(range(svn)):
|
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]
|
ax = axes[0]
|
||||||
sc = ax.scatter(klist[:,0], klist[:,1], c = np.clip(np.abs(minsvTElist[:,minN]),0,1), lw=0)
|
sc = ax.scatter(klist[:,0], klist[:,1], c = np.clip(np.abs(minsvTElist[:,minN]),0,1), lw=0)
|
||||||
for center in centers2:
|
for center in centers2:
|
||||||
|
@ -470,6 +470,7 @@ for minN in reversed(range(svn)):
|
||||||
ax.add_patch(patch)
|
ax.add_patch(patch)
|
||||||
ax.set_xticks([])
|
ax.set_xticks([])
|
||||||
ax.set_yticks([])
|
ax.set_yticks([])
|
||||||
|
ax.title.set_text('E in-plane ("TE")')
|
||||||
f.colorbar(sc,ax=ax)
|
f.colorbar(sc,ax=ax)
|
||||||
|
|
||||||
|
|
||||||
|
@ -485,6 +486,7 @@ for minN in reversed(range(svn)):
|
||||||
ax.add_patch(patch)
|
ax.add_patch(patch)
|
||||||
ax.set_xticks([])
|
ax.set_xticks([])
|
||||||
ax.set_yticks([])
|
ax.set_yticks([])
|
||||||
|
ax.title.set_text('E perpendicular ("TM")')
|
||||||
f.colorbar(sc,ax=ax)
|
f.colorbar(sc,ax=ax)
|
||||||
|
|
||||||
ax = axes[2]
|
ax = axes[2]
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -27,13 +27,13 @@ qpms_c = Extension('qpms_c',
|
||||||
'-DDISABLE_NDEBUG', # uncomment to enable assertions in the modules
|
'-DDISABLE_NDEBUG', # uncomment to enable assertions in the modules
|
||||||
#'-fopenmp',
|
#'-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 []
|
runtime_library_dirs=os.environ['LD_LIBRARY_PATH'].split(':') if 'LD_LIBRARY_PATH' in os.environ else []
|
||||||
)
|
)
|
||||||
|
|
||||||
setup(name='qpms',
|
setup(name='qpms',
|
||||||
version = "0.2.8",
|
version = "0.2.9",
|
||||||
packages=['qpms'],
|
packages=['qpms'],
|
||||||
# setup_requires=['setuptools_cython'],
|
# setup_requires=['setuptools_cython'],
|
||||||
install_requires=['cython>=0.21','quaternion','spherical_functions','py_gmm'],
|
install_requires=['cython>=0.21','quaternion','spherical_functions','py_gmm'],
|
||||||
|
|
Loading…
Reference in New Issue