sweep_design.utility_functions.a_t

Module Contents

Functions

tukey_a_t(→ numpy.ndarray)

Calculate array envelope for signal.

Attributes

Location

sweep_design.utility_functions.a_t.Location
sweep_design.utility_functions.a_t.tukey_a_t(time: numpy.ndarray, time_tapper: Optional[float], location: Location = 'both') numpy.ndarray[source]

Calculate array envelope for signal.

Parameters
  • time (np.ndarray) – time

  • time_tapper (float) – time_tapper in time, where coefficient will be equal 1.

  • location (Literal["left", "right", "both"], optional) – Where the correction will be applied. “left” is at the start. “right” is at the end. “both” is at the start and at the end. Defaults to “both”.

Returns

amplitude correction for signal. Multiple signal to result

of function.

Return type

np.ndarray