# -*- coding: utf-8 -*- """ Created on Wed Mar 11 18:00:28 2020 @author: gamelina """ class Optics: """Handle optic functions""" def __init__(self, beta, alpha, disp, dispp): self.beta = beta self.alpha = alpha self.disp = disp self.dispp = dispp @property def gamma(self): return (1 + self.alpha**2)/self.beta