move to a more standard python packaging structure
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#import math
|
||||
"""
|
||||
This module holds everything connected with the DAC and PFG
|
||||
"""
|
||||
def conv(I_out=0):
|
||||
"""
|
||||
converts the demanded Output current in Integer
|
||||
"""
|
||||
V_dac=I_out/50.0
|
||||
dac_value=-(V_dac-0.00983)/1.81413e-5
|
||||
return int(dac_value)
|
||||
|
||||
Reference in New Issue
Block a user