def read_sample_rate(data_dir: str):
    """Read the sample rate from the raw_data.csv file"""
    with open(f"{data_dir}/raw_data.csv") as csvfile:
        _name_row = next(csvfile)
        fs = float(next(csvfile).strip().split(",")[1])
        return fs