import csv


def csv2dict(csv_path):
    """
    Loads fur parameters from CSV and returns them as dictionary.
    csv_file: csv file which contains the fur parameters (string)
    """

    params_dict = {}

    with open(csv_path, 'r') as csv_file:
        fieldnames = csv.reader(csv_file, delimiter=',')

        for kv in fieldnames:
            key   = kv[0]
            value = float(kv[1])
            params_dict[key] = value

    return params_dict