import numpy as np


def create_test_file(filename="signal_data.bin", n=50, mean=10, std=5):
    data = np.random.normal(mean, std, n)

    with open(filename, 'w') as f:
        for value in data:
            f.write(f"{value}\n")

    print(f"Файл '{filename}' создан.")
    print(f"Первые 10 значений: {data[:10]}")


create_test_file()