From 071ca9989afa0cdfa29b95b026170b7aa9651f3d Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 17 Jun 2019 16:03:12 +0200 Subject: Arbitrary phase retarders --- src/ui_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui_widgets.py') diff --git a/src/ui_widgets.py b/src/ui_widgets.py index 42fda7c..07b0369 100644 --- a/src/ui_widgets.py +++ b/src/ui_widgets.py @@ -91,7 +91,7 @@ class EllipseWidget(QWidget): # polarizer axes P.translate(cx, cy) P.rotate(- (self.pol.angle + self.pol.delta) * 180 / np.pi) - if self.pol.type == "linear": + if self.pol.t2 == 0: # FIXME: half-assed P.setPen(Pens.axis_linear) P.drawLine(-20 * r, 0, 20 * r, 0) else: -- cgit