diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-17 10:36:22 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-08-17 10:36:22 -0400 |
commit | e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7 (patch) | |
tree | 350af8a727bbb035214b6beea1915741119dd59c /optics.py | |
parent | 1476f921813e60cf3749a5d03b9ed5cbf1951db6 (diff) | |
download | chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.tar.gz chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.tar.bz2 chroma-e33c6fab8b8dd8adb3d71af8517dfe45ba264cf7.zip |
import chroma modules from subpackages with import chroma.module_name
Diffstat (limited to 'optics.py')
-rw-r--r-- | optics.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |