From e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Wed, 17 Aug 2011 10:36:22 -0400 Subject: import chroma modules from subpackages with import chroma.module_name --- optics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'optics.py') diff --git a/optics.py b/optics.py index 4e7530e..02b8e0d 100644 --- a/optics.py +++ b/optics.py @@ -1,5 +1,5 @@ import numpy as np -from geometry import Material, Surface +from chroma.geometry import Material, Surface vacuum = Material('vacuum') vacuum.set('refractive_index', 1.0) -- cgit