def setPeriodCycles(self, fpga_cycles): ''' Sets the number of FPGA cycles that the input must hold steady to pass through this glitch filter. :param fpga_cycles: The number of FPGA cycles. ''' hal.setFilterPeriod(self.channelIndex, fpga_cycles)