def main():
    " This script creates HRTF filtered sound samples of the sounds given in the folder SOUND_FILES.\n    This is done for each participant's HRTF specified in participant_numbers.\n    ALL ELEVATIONS (50) are taken to filter the data.\n\n    "
    logger = logging.getLogger(__name__)
    logger.info('making final data set from raw data')
    normalize = False
    time_window = 0.1
    snrs = np.arange(0, 1.1, 0.1)
    freq_bandss = np.array([128])
    azimuths = np.array([12])
    participant_numbers = np.array([1, 2, 3, 8, 9, 10, 11, 12, 15, 17, 18, 19, 20, 21, 27, 28, 33, 40, 44, 48, 50, 51, 58, 59, 60, 61, 65, 119, 124, 126, 127, 131, 133, 134, 135, 137, 147, 148, 152, 153, 154, 155, 156, 158, 162, 163, 165])
    max_freqs = np.array([16000, 20000])
    for (_, participant_number) in enumerate(participant_numbers):
        for (_, snr) in enumerate(snrs):
            for (_, freq_bands) in enumerate(freq_bandss):
                for (_, azimuth) in enumerate(azimuths):
                    for (_, max_freq) in enumerate(max_freqs):
                        (psd_all_c, psd_all_i) = create_data(freq_bands, participant_number, snr, normalize, azimuth, time_window, max_freq=max_freq)
This script creates HRTF filtered sound samples of the sounds given in the folder SOUND_FILES.
This is done for each participant's HRTF specified in participant_numbers.
ALL ELEVATIONS (50) are taken to filter the data.
def main():
    " This script creates HRTF filtered sound samples of the sounds given in the folder SOUND_FILES.\n    This is done for each participant's HRTF specified in participant_numbers.\n    ALL ELEVATIONS (50) are taken to filter the data.\n\n    "
    logger = logging.getLogger(__name__)
    logger.info('making final data set from raw data')
    normalize = False
    time_window = 0.1
    snrs = np.arange(0, 1.1, 0.1)
    freq_bandss = np.array([128])
    azimuths = np.array([12])
    participant_numbers = np.array([1, 2, 3, 8, 9, 10, 11, 12, 15, 17, 18, 19, 20, 21, 27, 28, 33, 40, 44, 48, 50, 51, 58, 59, 60, 61, 65, 119, 124, 126, 127, 131, 133, 134, 135, 137, 147, 148, 152, 153, 154, 155, 156, 158, 162, 163, 165])
    max_freqs = np.array([16000, 20000])
    for (_, participant_number) in enumerate(participant_numbers):
        for (_, snr) in enumerate(snrs):
            for (_, freq_bands) in enumerate(freq_bandss):
                for (_, azimuth) in enumerate(azimuths):
                    for (_, max_freq) in enumerate(max_freqs):
                        (psd_all_c, psd_all_i) = create_data(freq_bands, participant_number, snr, normalize, azimuth, time_window, max_freq=max_freq)