sourcecode_fs.py
def runWaves(noWaves, seed, filterRange=[minf, maxf]):
    """ Filters waves from genWaves
        ----------

        Parameters

        ----------

        noWaves: int
            number of waves to produce

        seed: int
            seed for random number generator

        filterRange: array_like
            pair of min and max filter values
    """
    filterMin, filterMax = filterRange
    waves = genWaves(noWaves, seed)
    # filter frequency outside allowed range
    filteredWaves = [wave for wave in waves if((wave[1] < filterMin) or wave[1] > filterMax)] 
    if len(filteredWaves) > 1: plotWaves(filteredWaves)
 Filters waves from genWaves
        ----------

        Parameters

        ----------

        noWaves: int
            number of waves to produce

        seed: int
            seed for random number generator

        filterRange: array_like
            pair of min and max filter values
    
Filters waves from genWaves
Parameters



int
number of waves to produce

int
seed for random number generator

array_like
pair of min and max filter values
Filters waves from genWaves Parameters int number of waves to produce int seed for random number generator array_like pair of min and max filter values
def runWaves(noWaves, seed, filterRange=[minf, maxf]):
    filterMin, filterMax = filterRange
    waves = genWaves(noWaves, seed)
    filteredWaves = [wave for wave in waves if((wave[1] < filterMin) or wave[1] > filterMax)] 
    if len(filteredWaves) > 1: plotWaves(filteredWaves)
def runWaves ( noWaves , seed , filterRange = [ minf , maxf ] ) : filterMin , filterMax = filterRange waves = genWaves ( noWaves , seed ) filteredWaves = [ wave for wave in waves if ( ( wave [ 1 ] < filterMin ) or wave [ 1 ] > filterMax ) ] if len ( filteredWaves ) > 1 : plotWaves ( filteredWaves )
Filters waves from genWaves
Parameters
Filters waves from genWaves Parameters
""" Filters waves from genWaves
        ----------

        Parameters

        ----------

        noWaves: int
            number of waves to produce

        seed: int
            seed for random number generator

        filterRange: array_like
            pair of min and max filter values
    """ # filter frequency outside allowed range
noWaves
seed
filterRange