sda.rlc.fit_circuit#
Classes#
Module Contents#
- class sda.rlc.fit_circuit.FitCircuit(times, current, V, tau=None, R=None, L=None, C=None)#
- times#
- current#
- V#
- tau#
- L#
- R#
- C#
- guess_tau()#
Guess the pulse duration.
The pulse duration is estimated as the time at which the current reaches its maximum value.
- Returns:
The guessed pulse duration.
- Return type:
- guess_inductance()#
Guess the inductance.
The inductance is the inverse of the slope of the current at t = 0: L = V / (dI/dt) = V / (I(tau) - I(0) / (tau - 0)) = V * tau / I(tau)
- Returns:
The guessed inductance.
- Return type:
- guess_resistance()#
Guess the resistance.
The resistance is related to the times T the current reaches 0.05 of its maximum value, by R = 3 * L / T
- Returns:
The guessed resistance.
- Return type:
- guess_capacitance()#
Guess the capacitance.
The capacitance is linked to oscillations in current. - If the current oscillates, the circuit is underdamped, and the capacitance is small. - If the current does not oscillate, the circuit is overdamped, and the capacitance is large.
- Returns:
The guessed capacitance.
- Return type: