### Problem the workflow now is: ``` my_pattern = DiffractionObject(wavelength=1.54) my_pattern.insert_scattering_oject(x_array, y_array, "tth", metadata={"something":"thing"}) ``` ### Proposed solution As an option we would like to support this: ``` my_pattern = DiffractionObject(x=x_array, y=y_array, dtype="tth", wavelength=1.54, metadata={"something":"thing"}) ``` or something like that.