From 704ab8446535212c2398f15a0424e35a4c887e30 Mon Sep 17 00:00:00 2001
From: Jessica McChesney <jmcchesn@anl.gov>
Date: Fri, 12 Aug 2022 13:12:19 -0500
Subject: [PATCH] rebuild

---
 build/lib/iexcode/instruments/IEX_VPU.py | 12 ++++++------
 iexcode.egg-info/SOURCES.txt             |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/build/lib/iexcode/instruments/IEX_VPU.py b/build/lib/iexcode/instruments/IEX_VPU.py
index e644c41..a408465 100644
--- a/build/lib/iexcode/instruments/IEX_VPU.py
+++ b/build/lib/iexcode/instruments/IEX_VPU.py
@@ -28,7 +28,7 @@ def ID_calc_SP(mono_grating,ID_mode,hv_eV):    # Mode = state (0=RCP,1=LCP,2=V,3
     if type(ID_mode)== str:
         ID_state=ID_state_mode(ID_mode)
     try:
-        K=ID_Coef(mono_grating,ID_mode,hv_eV)
+        K=ID_coef(mono_grating,ID_state,hv_eV)
         ID=poly.polyval(hv_eV,K)
     except KeyError:
         message_string='Not a valid ID mode!'+"\nValid Modes: "+str(ID_mode_list())
@@ -398,7 +398,7 @@ def ID_QP_mode_set(ID_mode,QP_ratio):
     print("QP RBV   =", ratio_RBV,"%")
     sleep(15)
 
-def ID_Coef(grt,ID_mode,hv_eV):    # Mode = state (0=RCP,1=LCP,2=V,3=H); 
+def ID_coef(grt,ID_state,hv_eV):    # Mode = state (0=RCP,1=LCP,2=V,3=H); 
     
     """Return the ID coeff for a given polarization mode and energy;
     with Mode = 0 (RCP),1 (LCP), 2 (V), 3 (H).
@@ -408,9 +408,9 @@ def ID_Coef(grt,ID_mode,hv_eV):    # Mode = state (0=RCP,1=LCP,2=V,3=H);
     Previously: ID_Coef
     """
 
-    def ListRange(grt,ID_mode,IDdict):  # extract the list of break pts for a given mode/grt 
+    def ListRange(grt,ID_state,IDdict):  # extract the list of break pts for a given mode/grt 
         tmp_list=[]
-        for item in (IDdict[grt][ID_mode]):
+        for item in (IDdict[grt][ID_state]):
             tmp_list.append(item[0])  
         return tmp_list
 
@@ -429,9 +429,9 @@ def ID_Coef(grt,ID_mode,hv_eV):    # Mode = state (0=RCP,1=LCP,2=V,3=H);
         print("Unable to read dictionary") 
         
     try:   
-        Lrange = ListRange(grt,ID_mode,ID_function)
+        Lrange = ListRange(grt,ID_state,ID_function)
         Erange = FindRange(hv_eV,Lrange)
-        K = ID_function[grt][ID_mode][Erange][1]
+        K = ID_function[grt][ID_state][Erange][1]
         return K
         
     except KeyError:
diff --git a/iexcode.egg-info/SOURCES.txt b/iexcode.egg-info/SOURCES.txt
index 1922712..31b3742 100644
--- a/iexcode.egg-info/SOURCES.txt
+++ b/iexcode.egg-info/SOURCES.txt
@@ -19,6 +19,7 @@ iexcode/instruments/Kappa.py
 iexcode/instruments/Kappa_Euler.py
 iexcode/instruments/Kappa_det.py
 iexcode/instruments/Lakeshore_335.py
+iexcode/instruments/MPA.py
 iexcode/instruments/Motors.py
 iexcode/instruments/Scienta.py
 iexcode/instruments/VLS_PGM.py
@@ -36,7 +37,6 @@ iexcode/instruments/gate_valves.py
 iexcode/instruments/hxp_mirrors.py
 iexcode/instruments/logfile.py
 iexcode/instruments/m3r.py
-iexcode/instruments/mpa.py
 iexcode/instruments/remote_controlers.py
 iexcode/instruments/resolution.py
 iexcode/instruments/s29_temp_cntl.py
-- 
GitLab