Exemple #1
0
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
Exemple #2
0
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
Exemple #3
0
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