-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e8f66e
commit 82968a5
Showing
36 changed files
with
693 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
# Optical Layers | ||
|
||
???+ info "MFT" | ||
::: dLux.layers.propagators.MFT | ||
???+ info "TransmissiveLayer" | ||
::: dLux.layers.optical_layers.TransmissiveLayer | ||
|
||
???+ info "FFT" | ||
::: dLux.layers.propagators.FFT | ||
???+ info "AberratedLayer" | ||
::: dLux.layers.optical_layers.AberratedLayer | ||
|
||
???+ info "ShiftedMFT" | ||
::: dLux.layers.propagators.ShiftedMFT | ||
???+ info "BasisLayer" | ||
::: dLux.layers.optical_layers.BasisLayer | ||
|
||
???+ info "FarFieldFresnel" | ||
::: dLux.layers.propagators.FarFieldFresnel | ||
???+ info "Tilt" | ||
::: dLux.layers.optical_layers.Tilt | ||
|
||
???+ info "Normalise" | ||
::: dLux.layers.optical_layers.Normalise |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,13 @@ | ||
# Propagators | ||
|
||
???+ info "ApplyPixelResponse" | ||
::: dLux.layers.detector_layers.ApplyPixelResponse | ||
???+ info "MFT" | ||
::: dLux.layers.propagators.MFT | ||
|
||
???+ info "ApplyJitter" | ||
::: dLux.layers.detector_layers.ApplyJitter | ||
???+ info "FFT" | ||
::: dLux.layers.propagators.FFT | ||
|
||
???+ info "ApplySaturation" | ||
::: dLux.layers.detector_layers.ApplySaturation | ||
???+ info "ShiftedMFT" | ||
::: dLux.layers.propagators.ShiftedMFT | ||
|
||
???+ info "AddConstant" | ||
::: dLux.layers.detector_layers.AddConstant | ||
|
||
???+ info "Downsample" | ||
::: dLux.layers.detector_layers.Downsample | ||
|
||
<!-- # Propagators: `propagators.py` | ||
This module contains the classes that define the behaviour of propagator layers in ∂Lux. | ||
These classes do not implement the propagation functionality themselves, but instead store the parameters of the propagation and call inbuilt methods of the `Wavefront` class; thus, its API is essentially a mirror of those methods. | ||
There are four public classes: | ||
- `MFT` | ||
- `FFT` | ||
- `ShiftedMFT` | ||
- `FarFieldFresnel` | ||
### `MFT(npixels, pixel_scale, focal_length=None, inverse=False)` | ||
Performs a Matrix Fourier Transform (MFT) on the wavefront, propagating from Pupil to Focal plane. If `focal_length` is `None`, `pixel_scale` is assumed to be in angular units (radians), otherwise it is assumed to be in Cartesian units (metres). | ||
??? info "MFT API" | ||
::: dLux.propagators.MFT | ||
### `FFT(pad, focal_length=None, inverse=False)` | ||
Performs a Fast Fourier Transform (FFT) on the wavefront, propagating from Pupil to Focal plane. If `focal_length` is `None`, the output units will angular (radians), otherwise cartesian (metres). | ||
??? info "FFT API" | ||
::: dLux.propagators.FFT | ||
### `shiftedMFT(npixels, pixel_scale, shift, focal_length=None, pixel=True, inverse=False)` | ||
Performs a Matrix Fourier Transform (MFT) on the wavefront, propagating from Pupil to Focal plane. If `focal_length` is `None`, `pixel_scale` is assumed to be in angular units (radians), otherwise it is assumed to be in Cartesian units (metres). The `shift` parameter is used to shift the center of the output plane, which is treated in units of pixels by default, otherwise it is treated in the units of `pixel_scale`. | ||
??? info "Shifted MFT API" | ||
::: dLux.propagators.ShiftedMFT | ||
### `FarFieldFresnel(npixels, pixel_scale, focal_length, focal_shift, shift, pixel=True)` | ||
Performs a Fresnel propagation on the wavefront, propagating from Pupil to Focal plane. The `focal_shift` parameter represents the distance from the focal plane at which the PSF is modelled. The `shift` parameter is used to shift the center of the output plane, which is treated in units of pixels by default, otherwise it is treated in the units of `pixel_scale`. | ||
??? info "Far Field Fresnel API" | ||
::: dLux.propagators.FarFieldFresnel --> | ||
???+ info "FarFieldFresnel" | ||
::: dLux.layers.propagators.FarFieldFresnel |
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
Oops, something went wrong.