diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2019-06-17 16:03:12 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2019-06-17 16:03:12 +0200 |
commit | 071ca9989afa0cdfa29b95b026170b7aa9651f3d (patch) | |
tree | 7bcf2e01d9222262e70a92e039de46dd267e6aa6 /src/file.py | |
parent | 14262a97c7697a34430379ddbf1d6f5b12ef729f (diff) |
Arbitrary phase retarders
Diffstat (limited to 'src/file.py')
-rw-r--r-- | src/file.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file.py b/src/file.py index 3c69063..225cee2 100644 --- a/src/file.py +++ b/src/file.py @@ -1,7 +1,7 @@ import re, sys, traceback, json import phys -file_format_version = 5 +file_format_version = 6 def save_system(path, system): ser = dict() @@ -12,7 +12,7 @@ def save_system(path, system): for pol in system.elements: el = { "name": pol.name, - "type": pol.type, + "phase_retardation": pol.phase_retardation, "enable": pol.enable, "angle": pol.angle, "delta": pol.delta, |