comnum.OwcImpulseResponse#
- class comnum.OwcImpulseResponse#
The received optical power of an indoor channel, bin by bin (see
OwcIllumination.impulse_responses).- bandwidth_3db_hz(step_hz=100000.0, max_hz=1000000000.0)#
The −3 dB bandwidth (Hz): the first frequency at which
|H(f)|/H(0)falls to10^(-3/20).
- bit_split(bit_s, origin_s)#
The power of on–off keying with rectangular pulses of
bit_sreceived inside the bit started atorigin_sand after it (Komine & Nakagawa 2004, eqs. (17), (19)).
- first_arrival_s()#
The start of the first bin that holds power (s);
Nonefor no power.- Returns:
the time (s).
- Return type:
float | None
- frequency_response(f_hz)#
The frequency response
H(f) = Σ P_i exp(-j2πf(i + ½)Δt)(Barry et al. 1993, eq. (15)).- Parameters:
f_hz (array_like) – the frequencies (Hz).
- Returns:
H(f)(complex128).- Return type:
- Raises:
ValueError – for an input that is not an array of numbers of the expected shape.
- total_w()#
The total received power (W), the DC gain for an emitter of 1 W.
- Returns:
the power (W).
- Return type:
- power_w#
The power received in each bin (W), for the powers of the emitters.
- Type: