def parse_condition_from_filename(fname):
    """
    >>>parse_condition_from_filename("quartic_xv_BAOAB_0.25.npy")
    BAOAB, 0.25
    """
    scheme, timestep_ = fname.split("_")[-2:]
    timestep = float(timestep_.split(".npy")[0])
    return scheme, timestep