Skip to content

Update features/sample to masks #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 118 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
381630d
Update features.py
giovannivolpe Jun 18, 2025
c6132f4
Update features.py
giovannivolpe Jun 18, 2025
4b68ce1
Update features.py
giovannivolpe Jun 18, 2025
21044e8
Update features.py
giovannivolpe Jun 22, 2025
0f55b17
Update test_features.py
giovannivolpe Jun 22, 2025
017f21e
Update features.py
giovannivolpe Jun 22, 2025
3e4a546
Value
giovannivolpe Jun 23, 2025
83bb491
Update test_features.py
giovannivolpe Jun 23, 2025
8851004
remove __gpu_compatible__
giovannivolpe Jun 23, 2025
c806cfd
Update features.py
giovannivolpe Jun 23, 2025
a1f71d7
Update test_features.py
giovannivolpe Jun 23, 2025
b1ca6ca
Update features.py
giovannivolpe Jun 23, 2025
0a78b0f
Update test_features.py
giovannivolpe Jun 23, 2025
2ea065b
Update aberrations.py
giovannivolpe Jun 23, 2025
d1b8d34
Update optics.py
giovannivolpe Jun 23, 2025
84fecbd
Update image.py
giovannivolpe Jun 23, 2025
6eafa18
Update holography.py
giovannivolpe Jun 23, 2025
addebc9
Update features.py
giovannivolpe Jun 23, 2025
15cdd3c
Update features.py
giovannivolpe Jun 23, 2025
ef06761
Update test_features.py
giovannivolpe Jun 24, 2025
c8b3df6
Update features.py
giovannivolpe Jun 24, 2025
17e3921
Update test_features.py
giovannivolpe Jun 24, 2025
83a3566
Update features.py
giovannivolpe Jun 24, 2025
158f247
Update test_features.py
giovannivolpe Jun 24, 2025
00533aa
Update features.py
giovannivolpe Jun 24, 2025
910dae0
Update test_features.py
giovannivolpe Jun 24, 2025
755e09b
Update features.py
giovannivolpe Jun 24, 2025
046b6e2
Update features.py
giovannivolpe Jun 24, 2025
0c83f7c
Update features.py
giovannivolpe Jun 24, 2025
b2da196
Update features.py
giovannivolpe Jun 24, 2025
5730015
Update test_features.py
giovannivolpe Jun 24, 2025
0c16b48
Update features.py
giovannivolpe Jun 24, 2025
c8319d3
Update features.py
giovannivolpe Jun 24, 2025
01fe26d
Update test_features.py
giovannivolpe Jun 24, 2025
c9c418a
Update test_features.py
giovannivolpe Jun 24, 2025
d414d40
Update features.py
giovannivolpe Jun 24, 2025
5179396
Update features.py
giovannivolpe Jun 24, 2025
62a4507
Update test_features.py
giovannivolpe Jun 24, 2025
1b8a24c
Update features.py
giovannivolpe Jun 25, 2025
66108d8
Update test_features.py
giovannivolpe Jun 25, 2025
5fbb7cd
Update test_features.py
giovannivolpe Jun 25, 2025
6c744fb
Update features.py
giovannivolpe Jun 25, 2025
5224632
Update test_features.py
giovannivolpe Jun 25, 2025
4b127ef
Update features.py
giovannivolpe Jun 25, 2025
0edf8fd
Update test_features.py
giovannivolpe Jun 25, 2025
c827935
Update features.py
giovannivolpe Jun 25, 2025
6f65d74
Update features.py
giovannivolpe Jun 25, 2025
63093f9
Update test_features.py
giovannivolpe Jun 25, 2025
3f8a9cf
Update features.py
giovannivolpe Jun 25, 2025
3af492b
Update features.py
giovannivolpe Jun 25, 2025
ae805ee
Update test_features.py
giovannivolpe Jun 25, 2025
7a5b83f
Update features.py
giovannivolpe Jun 27, 2025
1cf1973
Update test_features.py
giovannivolpe Jun 27, 2025
27a76b1
Update features.py
giovannivolpe Jun 27, 2025
927f6ab
Update features.py
giovannivolpe Jun 27, 2025
7040b1c
Update test_features.py
giovannivolpe Jun 27, 2025
bfd6852
Update features.py
giovannivolpe Jun 27, 2025
f90f2c1
Update features.py
giovannivolpe Jun 27, 2025
f25fc1c
Update test_features.py
giovannivolpe Jun 27, 2025
65773d0
Update features.py
giovannivolpe Jun 27, 2025
155dcf3
Update features.py
giovannivolpe Jun 27, 2025
12a88e1
Update features.py
giovannivolpe Jun 27, 2025
4eb169c
Update test_features.py
giovannivolpe Jun 27, 2025
e6734f0
Update features.py
giovannivolpe Jun 27, 2025
3dee646
Update test_features.py
giovannivolpe Jun 27, 2025
a5a9736
Update test_features.py
giovannivolpe Jun 27, 2025
dcae336
Update features.py
giovannivolpe Jun 27, 2025
c7985bf
Update test_features.py
giovannivolpe Jun 27, 2025
0128f22
Update features.py
giovannivolpe Jun 27, 2025
2234f8d
Update test_features.py
giovannivolpe Jun 27, 2025
a23fa7c
Update features.py
giovannivolpe Jun 30, 2025
5c67108
Update test_features.py
giovannivolpe Jun 30, 2025
fd5fc9f
Update test_features.py
giovannivolpe Jun 30, 2025
1714d5c
Update features.py
giovannivolpe Jun 30, 2025
3ef47fd
Update test_features.py
giovannivolpe Jun 30, 2025
9f1f019
Update features.py
giovannivolpe Jun 30, 2025
ca3e443
Update test_features.py
giovannivolpe Jun 30, 2025
b5ea873
Update features.py
giovannivolpe Jun 30, 2025
9c7bb29
Update test_features.py
giovannivolpe Jun 30, 2025
ee903ab
Update features.py
giovannivolpe Jun 30, 2025
4d94ed0
Update test_features.py
giovannivolpe Jun 30, 2025
a58bdc8
Update features.py
giovannivolpe Jun 30, 2025
485fd1d
Update test_features.py
giovannivolpe Jun 30, 2025
ad358a3
Update test_features.py
giovannivolpe Jun 30, 2025
5610d40
Update features.py
giovannivolpe Jun 30, 2025
eb17bab
Update features.py
giovannivolpe Jun 30, 2025
6ccdfac
Update test_features.py
giovannivolpe Jul 1, 2025
4b4d547
Update features.py
giovannivolpe Jul 1, 2025
0cc0132
Update features.py
giovannivolpe Jul 1, 2025
362ad85
Update features.py
giovannivolpe Jul 1, 2025
07383ce
Update features.py
giovannivolpe Jul 1, 2025
0be5371
Update _config.py
giovannivolpe Jul 1, 2025
fffdf6d
Update features.py
giovannivolpe Jul 1, 2025
df8330f
Update features.py
giovannivolpe Jul 1, 2025
57e42ec
Update features.py
giovannivolpe Jul 1, 2025
e4e9750
Update features.py
giovannivolpe Jul 1, 2025
4355a71
Update features.py
giovannivolpe Jul 2, 2025
55d6788
Update features.py
giovannivolpe Jul 2, 2025
a55e95f
Update features.py
giovannivolpe Jul 2, 2025
b247a65
Update features.py
giovannivolpe Jul 2, 2025
2c61e9f
Update features.py
giovannivolpe Jul 2, 2025
434d661
Update features.py
giovannivolpe Jul 2, 2025
c356091
Update features.py
giovannivolpe Jul 2, 2025
f790513
Update features.py
giovannivolpe Jul 2, 2025
c05ca7a
Update features.py
giovannivolpe Jul 2, 2025
9b42746
Update features.py
giovannivolpe Jul 2, 2025
bb709db
Update features.py
giovannivolpe Jul 2, 2025
d5920c8
Update features.py
giovannivolpe Jul 2, 2025
d28a829
Update features.py
giovannivolpe Jul 2, 2025
50491da
Update features.py
giovannivolpe Jul 2, 2025
a969692
Update features.py
giovannivolpe Jul 2, 2025
1320523
Update features.py
giovannivolpe Jul 2, 2025
adaa426
Update features.py
giovannivolpe Jul 3, 2025
7d2379f
Update _config.py
giovannivolpe Jul 3, 2025
ce4c463
update features/SampleToMasks
mirjagranfors Jul 3, 2025
38ce451
corrections of docs
mirjagranfors Jul 3, 2025
f78b7c5
Update features.py
giovannivolpe Jul 4, 2025
e8b7088
fix typos
mirjagranfors Jul 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions deeptrack/aberrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def get(
n: int | list[int],
m: int | list[int],
coefficient: float | list[float],
**kwargs: dict[str, Any],
**kwargs: Any,
) -> np.ndarray:
"""Applies the Zernike phase aberration to the input pupil function.
Expand Down Expand Up @@ -564,7 +564,7 @@ def __init__(
self: "Piston",
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the Piston class.
Expand Down Expand Up @@ -623,7 +623,7 @@ def __init__(
self: VerticalTilt,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the VerticalTilt class.
Expand Down Expand Up @@ -682,7 +682,7 @@ def __init__(
self: HorizontalTilt,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the HorizontalTilt class.
Expand Down Expand Up @@ -743,7 +743,7 @@ def __init__(
self: ObliqueAstigmatism,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the ObliqueAstigmatism class.
Expand Down Expand Up @@ -802,7 +802,7 @@ def __init__(
self: Defocus,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the Defocus class.
Expand Down Expand Up @@ -861,7 +861,7 @@ def __init__(
self: Astigmatism,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
"""Initializes the Astigmatism class.
Expand Down Expand Up @@ -909,7 +909,7 @@ def __init__(
self: ObliqueTrefoil,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
super().__init__(*args, n=3, m=-3, coefficient=coefficient, **kwargs)

Expand All @@ -930,7 +930,7 @@ def __init__(
self: VerticalComa,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
super().__init__(*args, n=3, m=-1, coefficient=coefficient, **kwargs)

Expand All @@ -951,7 +951,7 @@ def __init__(
self: HorizontalComa,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
super().__init__(*args, n=3, m=1, coefficient=coefficient, **kwargs)

Expand All @@ -972,7 +972,7 @@ def __init__(
self: Trefoil,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
super().__init__(*args, n=3, m=3, coefficient=coefficient, **kwargs)

Expand All @@ -993,6 +993,6 @@ def __init__(
self: SphericalAberration,
*args: tuple[Any, ...],
coefficient: PropertyLike[float | list[float]] = 1,
**kwargs: dict[str, Any],
**kwargs: Any,
) -> None:
super().__init__(*args, n=4, m=0, coefficient=coefficient, **kwargs)
2 changes: 0 additions & 2 deletions deeptrack/elementwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ class ElementwiseFeature(Feature):
Returns the result of applying the function to the input array.

"""

__gpu_compatible__: bool = True

def __init__(
self: ElementwiseFeature,
Expand Down
Loading