PyREx

pyrex.custom.irex.frontends.basic_envelope_model

pyrex.custom.irex.frontends.basic_envelope_model(signal, cap=2e-11, res=500)

Model of a basic diode-capacitor-resistor envelope circuit.

Passes the input signal through a basic envelope circuit consisting of a diode, a capacitor, and a resistor. The diode used is modeled after an HSMS 2852 diode.

Parameters
signalSignal

Signal object used as input to the circuit.

capfloat, optional

Capacitance (F) of the circuit’s capacitor C1.

resfloat, optional

Resistance (ohm) of the circuit’s resistor R1.

Returns
Signal

Output of the envelope circuit for the given input.

Notes

Ascii depiction of the basic envelope circuit:

Vin---D1---+---+---out
           |   |
          C1   R1
           |   |
           +---+
           |
          gnd

PyREx

A Python package for simulation of neutrinos and radio antennas in ice. Version 1.10.0

Navigation