batlab.encoder package¶
Submodules¶
batlab.encoder.Encoder module¶
-
class
batlab.encoder.Encoder.
Encoder
(data)¶ Essentially the opposite of the Packet class. Takes a human-readable measurement or command and converts it to the raw Batlab register value.
-
aschargeh
()¶
-
aschargel
()¶
-
ascurrent
()¶
-
asfreq
()¶
-
asioff
()¶
-
asmagdiv
()¶
-
assetpoint
()¶
-
astemperature
(Rdiv, B)¶ Represents temperature data as temperature in F.
Parameters: - Rdiv – ‘R’ calibration value needed to interpret temp
- B – ‘B’ calibration value needed to interpret temp
-
asvcc
()¶
-
asvoltage
()¶
-
c_astemperature
(Rdiv, B)¶ Represents temperature data as temperature in C.
Parameters: - Rdiv – ‘R’ calibration value needed to interpret temp
- B – ‘B’ calibration value needed to interpret temp
-