fakecbed 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fakecbed/version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.5.0'
32
- __version_tuple__ = version_tuple = (0, 5, 0)
31
+ __version__ = version = '0.5.1'
32
+ __version_tuple__ = version_tuple = (0, 5, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -0,0 +1,177 @@
1
+ Metadata-Version: 2.4
2
+ Name: fakecbed
3
+ Version: 0.5.1
4
+ Summary: A Python library for generating quickly images that imitate convergent beam electron diffraction patterns.
5
+ Author-email: Matthew Fitzpatrick <matthew.rc.fitzpatrick@gmail.com>
6
+ Project-URL: Homepage, https://mrfitzpa.github.io/fakecbed
7
+ Project-URL: Repository, https://github.com/mrfitzpa/fakecbed
8
+ Keywords: pytorch,microscopy,diffraction,cbed
9
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Science/Research
12
+ Classifier: Programming Language :: Python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.8
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Classifier: Programming Language :: Python :: 3.10
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Natural Language :: English
21
+ Requires-Python: >=3.8
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: distoptica>=0.4.0
25
+ Requires-Dist: empix>=0.0.6
26
+ Provides-Extra: tests
27
+ Requires-Dist: pytest-cov; extra == "tests"
28
+ Provides-Extra: examples
29
+ Requires-Dist: jupyter; extra == "examples"
30
+ Requires-Dist: ipympl; extra == "examples"
31
+ Provides-Extra: docs
32
+ Requires-Dist: sphinx<7; extra == "docs"
33
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
34
+ Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
35
+ Requires-Dist: numpydoc; extra == "docs"
36
+ Requires-Dist: docutils; extra == "docs"
37
+ Provides-Extra: all
38
+ Requires-Dist: fakecbed[docs,examples,tests]; extra == "all"
39
+ Dynamic: license-file
40
+
41
+ # Fake Convergence Beam Electron Diffraction (FakeCBED)
42
+
43
+ [![Test library](https://github.com/mrfitzpa/fakecbed/actions/workflows/test_library.yml/badge.svg)](https://github.com/mrfitzpa/fakecbed/actions/workflows/test_library.yml)
44
+ [![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/mrfitzpa/adb03c4c54f978f44822ffa033fe6762/raw/fakecbed_coverage_badge.json)](https://github.com/mrfitzpa/fakecbed/actions/workflows/measure_code_coverage.yml)
45
+ [![Documentation](https://img.shields.io/badge/docs-read-brightgreen)](https://mrfitzpa.github.io/fakecbed)
46
+ [![PyPi Version](https://img.shields.io/pypi/v/fakecbed.svg)](https://pypi.org/project/fakecbed)
47
+ [![Conda-Forge Version](https://img.shields.io/conda/vn/conda-forge/fakecbed.svg)](https://anaconda.org/conda-forge/fakecbed)
48
+ [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
49
+
50
+ `fakecbed` is a Python library for generating quickly images that imitate
51
+ convergent beam electron diffraction patterns.
52
+
53
+ Visit the `fakecbed` [website](https://mrfitzpa.github.io/fakecbed) for a web
54
+ version of the installation instructions, the reference guide, and the examples
55
+ archive.
56
+
57
+ The source code can be found in the [`fakecbed` GitHub
58
+ repository](https://github.com/mrfitzpa/fakecbed).
59
+
60
+
61
+
62
+ ## Table of contents
63
+
64
+ - [Instructions for installing and uninstalling
65
+ `fakecbed`](#instructions-for-installing-and-uninstalling-fakecbed)
66
+ - [Installing `fakecbed`](#installing-fakecbed)
67
+ - [Installing `fakecbed` using `pip`](#installing-fakecbed-using-pip)
68
+ - [Installing `fakecbed` using
69
+ `conda`](#installing-fakecbed-using-conda)
70
+ - [Uninstalling `fakecbed`](#uninstalling-fakecbed)
71
+ - [Learning how to use `fakecbed`](#learning-how-to-use-fakecbed)
72
+
73
+
74
+
75
+ ## Instructions for installing and uninstalling `fakecbed`
76
+
77
+
78
+
79
+ ### Installing `fakecbed`
80
+
81
+ For all installation scenarios, first open up the appropriate command line
82
+ interface. On Unix-based systems, you could open e.g. a terminal. On Windows
83
+ systems you could open e.g. an Anaconda Prompt as an administrator.
84
+
85
+ Before installing `fakecbed`, it is recommended that users install `PyTorch` in
86
+ the same environment that they intend to install `fakecbed` according to the
87
+ instructions given [here](https://pytorch.org/get-started/locally/) for their
88
+ preferred PyTorch installation option.
89
+
90
+
91
+
92
+ #### Installing `fakecbed` using `pip`
93
+
94
+ Before installing `fakecbed`, make sure that you have activated the (virtual)
95
+ environment in which you intend to install said package. After which, simply run
96
+ the following command:
97
+
98
+ pip install fakecbed
99
+
100
+ The above command will install the latest stable version of `fakecbed`.
101
+
102
+ To install the latest development version from the main branch of the [fakecbed
103
+ GitHub repository](https://github.com/mrfitzpa/fakecbed), one must first clone
104
+ the repository by running the following command:
105
+
106
+ git clone https://github.com/mrfitzpa/fakecbed.git
107
+
108
+ Next, change into the root of the cloned repository, and then run the following
109
+ command:
110
+
111
+ pip install .
112
+
113
+ Note that you must include the period as well. The above command executes a
114
+ standard installation of `fakecbed`.
115
+
116
+ Optionally, for additional features in `fakecbed`, one can install additional
117
+ dependencies upon installing `fakecbed`. To install a subset of additional
118
+ dependencies (along with the standard installation), run the following command
119
+ from the root of the repository:
120
+
121
+ pip install .[<selector>]
122
+
123
+ where `<selector>` can be one of the following:
124
+
125
+ * `tests`: to install the dependencies necessary for running unit tests;
126
+ * `examples`: to install the dependencies necessary for executing files stored
127
+ in `<root>/examples`, where `<root>` is the root of the repository;
128
+ * `docs`: to install the dependencies necessary for documentation generation;
129
+ * `all`: to install all of the above optional dependencies.
130
+
131
+ Alternatively, one can run:
132
+
133
+ pip install fakecbed[<selector>]
134
+
135
+ elsewhere in order to install the latest stable version of `fakecbed`, along
136
+ with the subset of additional dependencies specified by `<selector>`.
137
+
138
+
139
+
140
+ #### Installing `fakecbed` using `conda`
141
+
142
+ Before proceeding, make sure that you have activated the (virtual) `conda`
143
+ environment in which you intend to install said package. For Windows systems,
144
+ users must install `PyTorch` separately prior to following the remaining
145
+ instructions below.
146
+
147
+ To install `fakecbed` using the `conda` package manager, run the following
148
+ command:
149
+
150
+ conda install -c conda-forge fakecbed
151
+
152
+ The above command will install the latest stable version of `fakecbed`.
153
+
154
+
155
+
156
+ ### Uninstalling `fakecbed`
157
+
158
+ If `fakecbed` was installed using `pip`, then to uninstall, run the following
159
+ command:
160
+
161
+ pip uninstall fakecbed
162
+
163
+ If `fakecbed` was installed using `conda`, then to uninstall, run the following
164
+ command:
165
+
166
+ conda remove fakecbed
167
+
168
+
169
+
170
+ ## Learning how to use `fakecbed`
171
+
172
+ For those new to the `fakecbed` library, it is recommended that they take a look
173
+ at the [Examples](https://mrfitzpa.github.io/fakecbed/examples.html) page, which
174
+ contain code examples that show how one can use the `fakecbed` library. While
175
+ going through the examples, readers can consult the [fakecbed reference
176
+ guide](https://mrfitzpa.github.io/fakecbed/_autosummary/fakecbed.html) to
177
+ understand what each line of code is doing.
@@ -2,9 +2,9 @@ fakecbed/__init__.py,sha256=iP73WNV_HZgxiVUVdesbJqlrhDGESooh1hlBs8kox9M,1342
2
2
  fakecbed/discretized.py,sha256=uV9tc8CC0K6GG1rGp2Nvq8p9qf6zLmp4lWTbKicmULE,205011
3
3
  fakecbed/shapes.py,sha256=Lo4pg46lpBwGiUJB6Q3X6gxoaa1d9eRwwjG49gkZ2zY,116472
4
4
  fakecbed/tds.py,sha256=mk5359ErIhdpCoTdHq9r1-foKb8t3qCOHqNoabx3bQw,8066
5
- fakecbed/version.py,sha256=fvHpBU3KZKRinkriKdtAt3crenOyysELF-M9y3ozg3U,704
6
- fakecbed-0.5.0.dist-info/licenses/LICENSE,sha256=N0P3pKtRMvfb64jmgJdlerg3TnS0a2QC776AzPsbZIg,35128
7
- fakecbed-0.5.0.dist-info/METADATA,sha256=t20KYP5iU16GlSq2JGzOppGAf8nh3nszLAwO5iMNiN4,3044
8
- fakecbed-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- fakecbed-0.5.0.dist-info/top_level.txt,sha256=l0jL8P0CjRiCSznYLnq7riaAnOmYaV3zjjjIJx9vjSQ,9
10
- fakecbed-0.5.0.dist-info/RECORD,,
5
+ fakecbed/version.py,sha256=cYMOhuaBHd0MIZmumuccsEQ-AxM8LIJy9dsBAWgOpqE,704
6
+ fakecbed-0.5.1.dist-info/licenses/LICENSE,sha256=N0P3pKtRMvfb64jmgJdlerg3TnS0a2QC776AzPsbZIg,35128
7
+ fakecbed-0.5.1.dist-info/METADATA,sha256=NGCr4SUFD2W5hKMPPe1mv3YAHRvMQ4TlKUITz_hjVgQ,7023
8
+ fakecbed-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ fakecbed-0.5.1.dist-info/top_level.txt,sha256=l0jL8P0CjRiCSznYLnq7riaAnOmYaV3zjjjIJx9vjSQ,9
10
+ fakecbed-0.5.1.dist-info/RECORD,,
@@ -1,61 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: fakecbed
3
- Version: 0.5.0
4
- Summary: A Python library for generating quickly images that imitate convergent beam electron diffraction patterns.
5
- Author-email: Matthew Fitzpatrick <matthew.rc.fitzpatrick@gmail.com>
6
- Project-URL: Homepage, https://mrfitzpa.github.io/fakecbed
7
- Project-URL: Repository, https://github.com/mrfitzpa/fakecbed
8
- Keywords: pytorch,microscopy,diffraction,cbed
9
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
- Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: Intended Audience :: Science/Research
12
- Classifier: Programming Language :: Python
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: Programming Language :: Python :: 3.8
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Operating System :: OS Independent
20
- Classifier: Natural Language :: English
21
- Requires-Python: >=3.8
22
- Description-Content-Type: text/markdown
23
- License-File: LICENSE
24
- Requires-Dist: distoptica>=0.4.0
25
- Requires-Dist: empix
26
- Requires-Dist: hyperspy
27
- Provides-Extra: tests
28
- Requires-Dist: pytest-cov; extra == "tests"
29
- Provides-Extra: examples
30
- Requires-Dist: jupyter; extra == "examples"
31
- Requires-Dist: ipympl; extra == "examples"
32
- Provides-Extra: docs
33
- Requires-Dist: sphinx<7; extra == "docs"
34
- Requires-Dist: sphinx_rtd_theme; extra == "docs"
35
- Requires-Dist: sphinx-autodoc-typehints; extra == "docs"
36
- Requires-Dist: numpydoc; extra == "docs"
37
- Requires-Dist: docutils; extra == "docs"
38
- Provides-Extra: all
39
- Requires-Dist: fakecbed[docs,examples,tests]; extra == "all"
40
- Dynamic: license-file
41
-
42
- # Fake Convergence Beam Electron Diffraction (fakecbed)
43
-
44
- [![Test library](https://github.com/mrfitzpa/fakecbed/actions/workflows/test_library.yml/badge.svg)](https://github.com/mrfitzpa/fakecbed/actions/workflows/test_library.yml)
45
- [![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/mrfitzpa/adb03c4c54f978f44822ffa033fe6762/raw/fakecbed_coverage_badge.json)](https://github.com/mrfitzpa/fakecbed/actions/workflows/measure_code_coverage.yml)
46
- [![Documentation](https://img.shields.io/badge/docs-read-brightgreen)](https://mrfitzpa.github.io/fakecbed)
47
- [![PyPi Version](https://img.shields.io/pypi/v/fakecbed.svg)](https://pypi.org/project/fakecbed)
48
- [![Conda-Forge Version](https://img.shields.io/conda/vn/conda-forge/fakecbed.svg)](https://anaconda.org/conda-forge/fakecbed)
49
- [![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
50
-
51
- `fakecbed` is a Python library for generating quickly images that imitate
52
- convergent beam electron diffraction patterns.
53
-
54
- Visit the `fakecbed` [website](https://mrfitzpa.github.io/fakecbed) for a web
55
- version of the installation instructions, the reference guide, and the examples
56
- archive.
57
-
58
- <!--
59
- For those reading raw .rst files, see file `docs/INSTALL.rst` for instructions
60
- on installing the `fakecbed` library.
61
- -->