-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from instamatic-dev/tweaks
Maintenance and documentation
- Loading branch information
Showing
189 changed files
with
508 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,5 +86,5 @@ plugins: | |
include_source: True | ||
|
||
watch: | ||
- instamatic/ | ||
- src/instamatic/ | ||
- docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,125 @@ | ||
[build-system] | ||
requires = ["setuptools>=40.6.0", "wheel"] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ | ||
[project] | ||
name = "instamatic" | ||
version = "2.0.0" | ||
description = "Python program for automated electron diffraction data collection" | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
authors = [ | ||
{name = "Stef Smeets", email = "[email protected]"}, | ||
] | ||
keywords = [ | ||
"electron-crystallography", | ||
"electron-microscopy", | ||
"electron-diffraction", | ||
"serial-crystallography", | ||
"3D-electron-diffraction", | ||
"micro-ed", | ||
"data-collection", | ||
"automation", | ||
] | ||
license = {text = "BSD License"} | ||
classifiers = [ | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: Microsoft :: Windows", | ||
"Topic :: Scientific/Engineering :: Human Machine Interfaces", | ||
"Topic :: Scientific/Engineering :: Chemistry", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
dependencies = [ | ||
"comtypes >= 1.1.7", | ||
"h5py >= 2.10.0", | ||
"ipython >= 7.11.1", | ||
"lmfit >= 1.0.0", | ||
"matplotlib >= 3.1.2", | ||
"mrcfile >= 1.1.2", | ||
"numpy >= 1.17.3", | ||
"pandas >= 1.0.0", | ||
"pillow >= 7.0.0", | ||
"pywinauto >= 0.6.8", | ||
"pyyaml >= 5.3", | ||
"scikit-image >= 0.17.1", | ||
"scipy >= 1.3.2", | ||
"tifffile >= 2019.7.26.2", | ||
"tqdm >= 4.41.1", | ||
"virtualbox >= 2.0.0", | ||
"pyserialem >= 0.3.2", | ||
] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/instamatic-dev/instamatic" | ||
issues = "http://github.com/instamatic-dev/instamatic/issues" | ||
documentation = "https://instamatic.readthedocs.io" | ||
changelog = "https://github.com/instamatic-dev/instamatic/releases" | ||
|
||
[project.optional-dependencies] | ||
develop = [ | ||
"bump2version", | ||
"check-manifest", | ||
"pre-commit", | ||
"pytest >= 5.4.1", | ||
"coverage", | ||
] | ||
serval = [ | ||
"serval-toolkit" | ||
] | ||
docs = [ | ||
"markdown-include", | ||
"mkdocs", | ||
"mkdocs-jupyter", | ||
"mkdocs-gen-files", | ||
"mkdocs-material", | ||
"mkdocstrings[python]", | ||
] | ||
publishing = [ | ||
"twine", | ||
"wheel", | ||
"build", | ||
] | ||
|
||
[project.scripts] | ||
"instamatic" = "instamatic.main:main" | ||
"instamatic.controller" = "instamatic.TEMController.TEMController:main_entry" | ||
# experiments | ||
"instamatic.serialed" = "instamatic.experiments.serialed.experiment:main" | ||
"instamatic.camera" = "instamatic.camera.camera:main_entry" | ||
# calibrate | ||
"instamatic.calibrate_stage_lowmag" = "instamatic.calibrate.calibrate_stage_lowmag:main_entry" | ||
"instamatic.calibrate_stage_mag1" = "instamatic.calibrate.calibrate_stage_mag1:main_entry" | ||
"instamatic.calibrate_beamshift" = "instamatic.calibrate.calibrate_beamshift:main_entry" | ||
"instamatic.calibrate_directbeam" = "instamatic.calibrate.calibrate_directbeam:main_entry" | ||
"instamatic.calibrate_stagematrix" = "instamatic.calibrate.calibrate_stagematrix:main_entry" | ||
"instamatic.flatfield" = "instamatic.processing.flatfield:main_entry" | ||
"instamatic.stretch_correction" = "instamatic.processing.stretch_correction:main_entry" | ||
# tools | ||
"instamatic.browser" = "scripts.browser:main" | ||
"instamatic.viewer" = "scripts.viewer:main" | ||
"instamatic.defocus_helper" = "instamatic.gui.defocus_button:main" | ||
"instamatic.find_crystals" = "instamatic.processing.find_crystals:main_entry" | ||
"instamatic.find_crystals_ilastik" = "instamatic.processing.find_crystals_ilastik:main_entry" | ||
"instamatic.learn" = "scripts.learn:main_entry" | ||
# server | ||
"instamatic.temserver" = "instamatic.server.tem_server:main" | ||
"instamatic.camserver" = "instamatic.server.cam_server:main" | ||
"instamatic.dialsserver" = "instamatic.server.dials_server:main" | ||
"instamatic.VMserver" = "instamatic.server.vm_ubuntu_server:main" | ||
"instamatic.xdsserver" = "instamatic.server.xds_server:main" | ||
"instamatic.temserver_fei" = "instamatic.server.TEMServer_FEI:main" | ||
"instamatic.goniotoolserver" = "instamatic.server.goniotool_server:main" | ||
# setup | ||
"instamatic.autoconfig" = "instamatic.config.autoconfig:main" | ||
|
||
[tool.ruff] | ||
# Enable Pyflakes `E` and `F` codes by default. | ||
select = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.