Skip to content

Commit

Permalink
Main re-work is done. On to testing next
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisDesdoigts committed Sep 8, 2023
1 parent 909952e commit 1e47cb8
Show file tree
Hide file tree
Showing 8 changed files with 519 additions and 2,071 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ repos:
rev: 22.3.0
hooks:
- id: black
args: [--line-length=79]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.278
hooks:
Expand Down
6 changes: 4 additions & 2 deletions dLux/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,13 @@
ShiftedMFT as ShiftedMFT,
FarFieldFresnel as FarFieldFresnel,
CircularAperture as CircularAperture,
SquareAperture as SquareAperture,
RectangularAperture as RectangularAperture,
RegPolyAperture as RegPolyAperture,
IrregPolyAperture as IrregPolyAperture,
Spider as Spider,
# IrregPolyAperture as IrregPolyAperture,
AberratedAperture as AberratedAperture,
UniformSpider as UniformSpider,
# UniformSpider as UniformSpider,
CompoundAperture as CompoundAperture,
MultiAperture as MultiAperture,
ApertureFactory as ApertureFactory,
Expand Down
5 changes: 0 additions & 5 deletions dLux/detectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
DetectorLayer = lambda: dLux.detector_layers.DetectorLayer
PSF = lambda: dLux.psfs.PSF

# class BaseDetector(Base):
# @abstractmethod
# def model(self, psf): # pragma: no cover
# pass


class LayeredDetector(dLux.base.BaseDetector):
"""
Expand Down
5 changes: 3 additions & 2 deletions dLux/layers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@
)
from .apertures import (
CircularAperture as CircularAperture,
SquareAperture as SquareAperture,
RectangularAperture as RectangularAperture,
RegPolyAperture as RegPolyAperture,
IrregPolyAperture as IrregPolyAperture,
# IrregPolyAperture as IrregPolyAperture,
Spider as Spider,
AberratedAperture as AberratedAperture,
UniformSpider as UniformSpider,
CompoundAperture as CompoundAperture,
MultiAperture as MultiAperture,
ApertureFactory as ApertureFactory,
Expand Down
Loading

0 comments on commit 1e47cb8

Please sign in to comment.