PyAMS  (the software under revision)

Vdc


Source for constant voltage

PyAMS.Analog.Sources.Vdc

Parameters

NameDefaultDescription
V15.0Value of constant voltage [V]

PyAMS definition

from PyAMS import Signal

#Source for constant voltage
class SourceVdc:
     def __init__(self, a, b):
         self.Vdc = Signal('out','voltage',a,b)
         self.V=15.0    #Value of constant voltage
     def analog(self):
         self.Vdc+=self.V

Documentation generated by PyAMS