factors[i]["factorFunction"] = np.frombuffer(buf, dtype=np.int16)[0]