pyfli.phasor.phasorS.phasor_lifetime#
Apparent single-exponential lifetimes of a phasor relative to the universal semicircle.
Module Attributes
phase, modulation and normal lifetime. |
Functions
|
Angle |
|
Phase, modulation and normal lifetimes of each phasor. |
|
Normal lifetime |
|
Nearest point |
- APPARENT_LIFETIMES = ('tau_phi', 'tau_m', 'tau_n')#
phase, modulation and normal lifetime.
- Type:
Keys returned by
apparent_lifetimes()
- semicircle_nearest_point(g, s)[source]#
Nearest point
(G_N, S_N)of the universal semicircle to each phasor(g, s).- Parameters:
g (
array_like) – Phasor coordinates (any shape).s (
array_like) – Phasor coordinates (any shape).
- Returns:
(G_N, S_N)with the shape of g;NaNfor the semicircle centre and for non-finite phasors.- Return type:
tuple[np.ndarray,np.ndarray]
- normal_lifetime(g, s, frequency_hz, harmonic=1)[source]#
Normal lifetime
tau_N: the lifetime of the semicircle point nearest to each phasor.- Parameters:
- Returns:
tau_N = tan(theta / 2) / omegain nanoseconds, same shape as g:0at(1, 0),infat(0, 0)(and for phasors below the axis nearest to those ends),NaNat the semicircle centre and for non-finite phasors.- Return type:
np.ndarray
- apparent_lifetimes(g, s, frequency_hz, harmonic=1)[source]#
Phase, modulation and normal lifetimes of each phasor.
- Parameters:
- Returns:
{"tau_phi", "tau_m", "tau_n"}(seeAPPARENT_LIFETIMES), each in nanoseconds with the shape of g.- Return type:
dict[str,np.ndarray]