Skip to content

Commit

Permalink
Revert "Removed optika.sensors.AbstractCCD for now."
Browse files Browse the repository at this point in the history
This reverts commit 0b165f4.
  • Loading branch information
byrdie committed Jan 8, 2024
1 parent 0ba6f70 commit f6b14d9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions optika/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,3 +390,27 @@ def quantum_efficiency_effective(
result = transmissivity * (term_1 + term_2 + term_3)

return result


class AbstractImagingSensor(
optika.surfaces.AbstractSurface[
None,
MaterialT,
optika.apertures.RectangularAperture,
optika.apertures.RectangularAperture,
None,
],
):
@property
def sag(self) -> None:
return None

@property
def rulings(self) -> None:
return None


class AbstractCCD(
AbstractImagingSensor[MaterialT],
):
pass

0 comments on commit f6b14d9

Please sign in to comment.