Skip to content

Commit

Permalink
💬 UPdate type hints and be slim.
Browse files Browse the repository at this point in the history
  • Loading branch information
arafune committed Feb 7, 2024
1 parent c5253b4 commit 3b53fcc
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 141 deletions.
8 changes: 8 additions & 0 deletions arpes/_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@
ANGLE = Literal["alpha", "beta", "chi", "theta"] | EMISSION_ANGLE


class KspaceCoords(TypedDict, total=False):
eV: NDArray[np.float_]
kp: NDArray[np.float_]
kx: NDArray[np.float_]
ky: NDArray[np.float_]
kz: NDArray[np.float_]


class ConfigSettings(TypedDict, total=False):
"""TypedDict for arpes.config.SETTINGS."""

Expand Down
Loading

0 comments on commit 3b53fcc

Please sign in to comment.