fakecbed 0.2.0__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/__init__.py +46 -0
- fakecbed/discretized.py +2554 -0
- fakecbed/shapes.py +3510 -0
- fakecbed/tds.py +268 -0
- fakecbed/version.py +16 -0
- fakecbed-0.2.0.dist-info/LICENSE +674 -0
- fakecbed-0.2.0.dist-info/METADATA +59 -0
- fakecbed-0.2.0.dist-info/RECORD +10 -0
- fakecbed-0.2.0.dist-info/WHEEL +5 -0
- fakecbed-0.2.0.dist-info/top_level.txt +1 -0
fakecbed/__init__.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 2024 Matthew Fitzpatrick.
|
|
3
|
+
#
|
|
4
|
+
# This program is free software: you can redistribute it and/or modify it under
|
|
5
|
+
# the terms of the GNU General Public License as published by the Free Software
|
|
6
|
+
# Foundation, version 3.
|
|
7
|
+
#
|
|
8
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
|
9
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
10
|
+
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
11
|
+
#
|
|
12
|
+
# You should have received a copy of the GNU General Public License along with
|
|
13
|
+
# this program. If not, see <https://www.gnu.org/licenses/gpl-3.0.html>.
|
|
14
|
+
"""``fakecbec`` is a Python library for generating quickly images that imitate
|
|
15
|
+
convergent beam electron diffraction patterns.
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#####################################
|
|
22
|
+
## Load libraries/packages/modules ##
|
|
23
|
+
#####################################
|
|
24
|
+
|
|
25
|
+
# Import child modules and packages of current package.
|
|
26
|
+
import fakecbed.shapes
|
|
27
|
+
import fakecbed.tds
|
|
28
|
+
import fakecbed.discretized
|
|
29
|
+
|
|
30
|
+
# Get version of current package.
|
|
31
|
+
from fakecbed.version import __version__
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
##################################
|
|
36
|
+
## Define classes and functions ##
|
|
37
|
+
##################################
|
|
38
|
+
|
|
39
|
+
# List of public objects in package.
|
|
40
|
+
__all__ = []
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
###########################
|
|
45
|
+
## Define error messages ##
|
|
46
|
+
###########################
|