Skip to content

Commit eb1f068

Browse files
chore: ruff & add Gustavo to authors
1 parent 6cd6405 commit eb1f068

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/authors.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ We sincerely appreciate the contributions of the following individuals, whose ef
3232
- **Melquiades Xiong** (`GitHub <https://github.com/Xiong-Ziyi>`_)
3333
- **Scott Paine** (`GitHub <https://github.com/scottpaine>`_)
3434
- **Renato Ferracini Alves** (`GitHub <https://github.com/RFerraciniAlves>`_)
35+
- **Gustavo Vasconcelos** (`GitHub <https://github.com/gustavu92>`_)
3536

3637

3738
Your contributions, whether in the form of code, documentation, feedback, or discussions, are what make **Optiland** better for everyone.

optiland/phase/height_profile.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
"""
22
Provides a phase profile based on a height map and dispersive material.
3+
4+
Gustavo Vasconcelos, 2026
35
"""
46

57
from __future__ import annotations
68

9+
from typing import TYPE_CHECKING
10+
711
from optiland import backend as be
8-
from optiland.materials.base import BaseMaterial
912
from optiland.phase.base import BasePhaseProfile
1013

14+
if TYPE_CHECKING:
15+
from optiland.materials.base import BaseMaterial
16+
1117
try:
1218
from scipy.interpolate import RectBivariateSpline
1319
except ImportError:

0 commit comments

Comments
 (0)