Method for automatically aligning a sample in an x-ray diffractometer | AMiner