class_docstr: A `scipy.signal.butter`-based generic filter class.
class_docstr_tok: ["A","`","scipy.signal.butter","`","-based","generic","filter","class","."]
docstr: :param min_cutoff_freq: Minimum cutoff frequency in hertz
  :param max_cutoff_freq: Maximum cutoff frequency in hertz
  :param min_rolloff: Minimum filter roll-off (in dB/octave).
      Must be a multiple of 6
  :param max_rolloff: Maximum filter roll-off (in dB/octave)
      Must be a multiple of 6
  :param p: The probability of applying this transform
docstr_tok: [":","param","min_cutoff_freq",":","Minimum","cutoff","frequency","in","hertz",":","param","max_cutoff_freq",":","Maximum","cutoff","frequency","in","hertz",":","param","min_rolloff",":","Minimum","filter","roll-off","(","in","dB\/octave",")",".","Must","be","a","multiple","of","6",":","param","max_rolloff",":","Maximum","filter","roll-off","(","in","dB\/octave",")","Must","be","a","multiple","of","6",":","param","p",":","The","probability","of","applying","this","transform"]
code: def initialize_one_sided_filter(
      self,
      min_cutoff_freq,
      max_cutoff_freq,
  ):
      """
      :param min_cutoff_freq: Minimum cutoff frequency in hertz
      :param max_cutoff_freq: Maximum cutoff frequency in hertz
      :param min_rolloff: Minimum filter roll-off (in dB/octave).
          Must be a multiple of 6
      :param max_rolloff: Maximum filter roll-off (in dB/octave)
          Must be a multiple of 6
      :param p: The probability of applying this transform
      """
  
      self.min_cutoff_freq = min_cutoff_freq
      self.max_cutoff_freq = max_cutoff_freq
      if self.min_cutoff_freq > self.max_cutoff_freq:
          raise ValueError(
              "min_cutoff_freq must not be greater than max_cutoff_freq"
          )
  
      if self.min_rolloff < 6 or self.min_rolloff % 6 != 0:
          raise ValueError(
              "min_rolloff must be 6 or greater, as well as a multiple of 6 (e.g. 6, 12, 18, 24...)"
          )
      if self.max_rolloff < 6 or self.max_rolloff % 6 != 0:
          raise ValueError(
              "max_rolloff must be 6 or greater, as well as a multiple of 6 (e.g. 6, 12, 18, 24...)"
          )
      if self.min_rolloff > self.max_rolloff:
          raise ValueError(
              "min_rolloff must not be greater than max_rolloff"
          )
  
file_path: audiomentations/audiomentations/augmentations/base_butterword_filter.py
imports: import random
  import numpy
  from numpy.typing import NDArray
  from scipy.signal import butter, sosfilt, sosfiltfilt, sosfilt_zi
  from audiomentations.core.transforms_interface import BaseWaveformTransform
  from audiomentations.core.utils import convert_frequency_to_mel, convert_mel_to_frequency
label_desc: Use image node_id 2 for calling the BaseButterworthFilter obj's underlying member method code with example usage: obj.initialize_one_sided_filter(min_cutoff_freq, max_cutoff_freq) without return types