def load(filename): from dials.util.nexus import nx_diffraction, nx_mx entry = open(filename, "r") ref, exp_index = nx_diffraction.load(entry) exp = nx_mx.load(entry, exp_index) return exp, ref
def load(filename): from dials.util.nexus import nx_reflections, nx_mx entry = get_entry(filename, "r") ref, exp_index = nx_reflections.load(entry) exp = nx_mx.load(entry, exp_index) return exp, ref
def load(filename): entry = get_entry(filename, "r") ref, exp_index = nx_reflections.load(entry) exp = nx_mx.load(entry, exp_index) return exp, ref