def _mot2array(motor, acopy):
    a = np.ones_like(acopy)
    return np.multiply(a, motor)
simple utility to generate a copy of an array containing a
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/specfiledata.py/_mot2array