Local functions

The fundamental local functions of the behavioral modeling of analog elements referring to a specific PyAMS library are listed in this page:

1. ddt()

  • Application: ddt([Signal]) is used to calculate the signal derivative by time.

  • from: pyams.lib

  • library name: dynamic.py

2. idt()

  • Application: idt([Signal]) is used to calculate integral of signal.

  • from: pyams.lib

  • library name: dynamic.py

3. realTime()

  • Application: realTime() the simulation time function provides an access to current simulation time or returns a value of time as a real number.

  • from: pyams.lib

  • library name: dynamic.py

4. limexp()

  • Application: limexp([Value]) Limitation in exponential function.

  • from: pyams.lib

  • library name: std.py

7. trap()

  • Application: trap( [Offset],[Initial],[Peak],[Initial delay time],[Rise time],[Pulse-width],[Fall time],[Period of wave]) genrate trapezoid or pulse function.

  • from: pyams.lib

  • library name: std.py

5. vth()

  • Application: vth([value=tnom]) Thermal voltage function.

  • from: pyams.lib

  • library name: std.py

6. toKelvin()

  • Application: toKelvin([value]) temperature from degree to Kelvin.

  • from: pyams.lib

  • library name: std.py

6. toCelsius()

  • Application: toCelsius([value]) temperature from Kelvin to degrees Celsius.

  • from: pyams.lib

  • library name: std.py

6. qtemp()

  • Application: qtemp([temperature coefficient order 1],[temperature coefficient order 2],[value=temp]) Compute a quadratic temperature.

  • from: pyams.lib

  • library name: std.py

5. exp_temp_factor()

  • Application: exp_temp_factor([value=temp]) Calculate the exponential temperature factor 1/(kT).

  • from: pyams.lib

  • library name: std.py