Check quantities

This commit is contained in:
Lukas Klass 2020-04-29 17:19:54 +02:00
parent 8f39ac9c2a
commit 46e3d8ce24

View File

@ -13,6 +13,7 @@ class Zemax(IPSF):
A class for modelling the PSF from a Zemax output file
"""
@u.quantity_input(wl="length", d_aperture="length")
def __init__(self, file: str, f_number: float, wl: u.Quantity, d_aperture: u.Quantity):
"""
Initialize a new PSF from a Zemax file.