-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (72 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (72 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "difftmm"
version = "0.2.0"
description = "Differentiable transfer matrix method (TMM) in PyTorch for multi-layer thin film optics — supports anisotropic media, GPU batching, and gradient-based inverse design."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [
{ name = "Xinge Yang", email = "singer.yang.yxg@gmail.com" },
]
keywords = [
"transfer-matrix-method",
"tmm",
"thin-film",
"optics",
"photonics",
"pytorch",
"differentiable-programming",
"inverse-design",
"anisotropic",
"birefringence",
"optical-coatings",
"fresnel-equations",
"gpu-acceleration",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"torch>=2.0",
]
[project.optional-dependencies]
benchmarks = [
"numpy",
"scipy",
"matplotlib",
]
notebooks = [
"numpy",
"scipy",
"matplotlib",
"jupyter",
]
dev = [
"pytest",
"ruff",
"build",
"twine",
]
[project.urls]
Homepage = "https://github.com/singer-yang/DiffTMM"
Repository = "https://github.com/singer-yang/DiffTMM"
Issues = "https://github.com/singer-yang/DiffTMM/issues"
Paper = "https://arxiv.org/abs/2601.04370"
[tool.setuptools.packages.find]
include = ["difftmm*"]
exclude = ["benchmarks*", "tmm_numpy*", "tests*", "__pycache__*"]
[tool.setuptools.package-data]
"difftmm.material" = ["catalogs/*.AGF", "catalogs/*.json"]