Module liba.hpf

High Pass Filter

Functions

new (fc, ts) constructor for High Pass Filter
gen (ctx, fc, ts) generate for High Pass Filter
iter (ctx, x) calculate for High Pass Filter
zero (ctx) zeroing for High Pass Filter


Functions

new (fc, ts)
constructor for High Pass Filter

Parameters:

  • fc number cut-off frequency unit(hz)
  • ts number sampling time unit(s)

Returns:

    a.hpf High Pass Filter userdata
gen (ctx, fc, ts)
generate for High Pass Filter

Parameters:

  • ctx a.hpf High Pass Filter userdata
  • fc number cut-off frequency unit(hz)
  • ts number sampling time unit(s)

Returns:

    a.hpf High Pass Filter userdata
iter (ctx, x)
calculate for High Pass Filter

Parameters:

  • ctx a.hpf High Pass Filter userdata
  • x number input value

Returns:

    number output value
zero (ctx)
zeroing for High Pass Filter

Parameters:

  • ctx a.hpf High Pass Filter userdata

Returns:

    a.hpf High Pass Filter userdata
generated by LDoc 1.5.0 Last updated 2024-09-30 14:51:04