Start cleaning up the repo and tidying up the example scripts

This commit is contained in:
Abe Levitan committed 2021-06-28 11:14:41 -04:00
1 parent 76e6d5efae
commit 8ddcc7683f
18 files changed
+127 -574

No files matched your search

+7 -8
View File
@@ -5,8 +5,9 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="CDTools",
version="0.0.1",
author="Abe Levitan, Madelyn Cain",
version="0.1.1",
python_requires='>3.4', # we use pathlib, introduced in 3.4
author="Abe Levitan",
author_email="alevitan@mit.edu",
description="Coherent Diffraction Tools",
long_description=long_description,
@@ -15,15 +16,13 @@ setuptools.setup(
install_requires=[
"numpy>=1.0",
"scipy>=1.0",
"matplotlib>=2.0",
"matplotlib>=2.0", # Matplotlib 2.0 introduces better colormaps and no I'm not sorry
"python-dateutil",
"torch>=1.9.0", #1.9.0 implements support for autograd on indexed complex tensors, key to allowing us to use complex tensors in the forward models
"h5py>=2.1",
"pathlib2 ; python_version<'3.4'"],
"torch>=1.9.0", #1.9.0 implements support for autograd on indexed complex tensors, which we need in order to use complex tensors in the forward models
"h5py>=2.1"],
extras_require={
'tests': ["pytest"],
'docs': ["sphinx","sphinx-argparse","sphinx_rtd_theme"],
":python_version<'3.4'": ["pathlib2"],
'docs': ["sphinx","sphinx-argparse","sphinx_rtd_theme"]
},
packages=setuptools.find_packages(),
classifiers=[